Class ItemStackMixin
java.lang.Object
io.github.xrickastley.sevenelements.mixin.ItemStackMixin
- All Implemented Interfaces:
ComponentHolder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddInfusionData(Item.TooltipContext context, @Nullable PlayerEntity player, TooltipType _type, org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<List<Text>> cir, List<Text> texts) private ActionResultfrozenPreventsItemUse(Item instance, World world, PlayerEntity user, Hand hand, com.llamalad7.mixinextras.injector.wrapoperation.Operation<ActionResult> original) abstract ItemgetItem()private TextmodifyName(Text original) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.component.ComponentHolder
contains, get, getComponents, getOrDefault, streamAll
-
Constructor Details
-
ItemStackMixin
public ItemStackMixin()
-
-
Method Details
-
getItem
-
frozenPreventsItemUse
private ActionResult frozenPreventsItemUse(Item instance, World world, PlayerEntity user, Hand hand, com.llamalad7.mixinextras.injector.wrapoperation.Operation<ActionResult> original) -
modifyName
-
addInfusionData
private void addInfusionData(Item.TooltipContext context, @Nullable @Nullable PlayerEntity player, TooltipType _type, org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<List<Text>> cir, List<Text> texts)
-