Class AccessoryStackCalls
java.lang.Object
com.stereowalker.unionlib.hook.AccessoryStackCalls
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidforEachModifier(net.minecraft.world.item.ItemStack stack, AccessorySlot pEquipmentSLot, BiConsumer<net.minecraft.core.Holder<net.minecraft.world.entity.ai.attributes.Attribute>, net.minecraft.world.entity.ai.attributes.AttributeModifier> pAction) protected static voidgatherAttributes(net.minecraft.world.item.ItemStack stack, Consumer<net.minecraft.network.chat.Component> pTooltipAdder, net.minecraft.world.entity.player.Player pPlayer, net.minecraft.core.Holder<net.minecraft.world.entity.ai.attributes.Attribute> pAttribute, net.minecraft.world.entity.ai.attributes.AttributeModifier pModfier)
-
Constructor Details
-
AccessoryStackCalls
public AccessoryStackCalls()
-
-
Method Details
-
gatherAttributes
protected static void gatherAttributes(net.minecraft.world.item.ItemStack stack, Consumer<net.minecraft.network.chat.Component> pTooltipAdder, @Nullable net.minecraft.world.entity.player.Player pPlayer, net.minecraft.core.Holder<net.minecraft.world.entity.ai.attributes.Attribute> pAttribute, net.minecraft.world.entity.ai.attributes.AttributeModifier pModfier) -
forEachModifier
public static void forEachModifier(net.minecraft.world.item.ItemStack stack, AccessorySlot pEquipmentSLot, BiConsumer<net.minecraft.core.Holder<net.minecraft.world.entity.ai.attributes.Attribute>, net.minecraft.world.entity.ai.attributes.AttributeModifier> pAction)
-