Class AccessoryStackCalls

java.lang.Object
com.stereowalker.unionlib.hook.AccessoryStackCalls

public class AccessoryStackCalls extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     
    protected static void
    gatherAttributes(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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)