Class AttributeUtil

java.lang.Object
com.blamejared.crafttweaker.api.util.AttributeUtil

public class AttributeUtil extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    addAttributeModifier(net.minecraft.world.item.ItemStack stack, net.minecraft.world.entity.ai.attributes.Attribute attributeName, net.minecraft.world.entity.ai.attributes.AttributeModifier modifier, net.minecraft.world.entity.EquipmentSlot equipmentSlot)
     
    static Map<net.minecraft.world.entity.ai.attributes.Attribute,List<net.minecraft.world.entity.ai.attributes.AttributeModifier>>
    getAttributeModifiers(net.minecraft.world.item.ItemStack stack, net.minecraft.world.entity.EquipmentSlot equipmentSlot)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AttributeUtil

      public AttributeUtil()
  • Method Details

    • addAttributeModifier

      public static void addAttributeModifier(net.minecraft.world.item.ItemStack stack, net.minecraft.world.entity.ai.attributes.Attribute attributeName, net.minecraft.world.entity.ai.attributes.AttributeModifier modifier, @Nullable net.minecraft.world.entity.EquipmentSlot equipmentSlot)
    • getAttributeModifiers

      public static Map<net.minecraft.world.entity.ai.attributes.Attribute,List<net.minecraft.world.entity.ai.attributes.AttributeModifier>> getAttributeModifiers(net.minecraft.world.item.ItemStack stack, net.minecraft.world.entity.EquipmentSlot equipmentSlot)