Class ExpandAttributeInstance

java.lang.Object
com.blamejared.crafttweaker.natives.entity.attribute.ExpandAttributeInstance

@ZenRegister public class ExpandAttributeInstance extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    addPermanentModifier(net.minecraft.world.entity.ai.attributes.AttributeInstance internal, net.minecraft.world.entity.ai.attributes.AttributeModifier modifier)
     
    static void
    addTransientModifier(net.minecraft.world.entity.ai.attributes.AttributeInstance internal, net.minecraft.world.entity.ai.attributes.AttributeModifier modifier)
     
    static double
    getBaseValue(net.minecraft.world.entity.ai.attributes.AttributeInstance internal)
     
    static net.minecraft.world.entity.ai.attributes.AttributeModifier
    getModifier(net.minecraft.world.entity.ai.attributes.AttributeInstance internal, String uuid)
     
    static List<net.minecraft.world.entity.ai.attributes.AttributeModifier>
    getModifiers(net.minecraft.world.entity.ai.attributes.AttributeInstance internal)
     
    static double
    getValue(net.minecraft.world.entity.ai.attributes.AttributeInstance internal)
     
    static boolean
    hasModifier(net.minecraft.world.entity.ai.attributes.AttributeInstance internal, net.minecraft.world.entity.ai.attributes.AttributeModifier modifier)
     
    static void
    removeModifier(net.minecraft.world.entity.ai.attributes.AttributeInstance internal, String uuid)
     
    static void
    removeModifier(net.minecraft.world.entity.ai.attributes.AttributeInstance internal, net.minecraft.world.entity.ai.attributes.AttributeModifier modifier)
     
    static void
    setBaseValue(net.minecraft.world.entity.ai.attributes.AttributeInstance internal, double value)
     

    Methods inherited from class java.lang.Object

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

    • ExpandAttributeInstance

      public ExpandAttributeInstance()
  • Method Details

    • getBaseValue

      public static double getBaseValue(net.minecraft.world.entity.ai.attributes.AttributeInstance internal)
    • setBaseValue

      public static void setBaseValue(net.minecraft.world.entity.ai.attributes.AttributeInstance internal, double value)
    • getValue

      public static double getValue(net.minecraft.world.entity.ai.attributes.AttributeInstance internal)
    • getModifiers

      public static List<net.minecraft.world.entity.ai.attributes.AttributeModifier> getModifiers(net.minecraft.world.entity.ai.attributes.AttributeInstance internal)
    • addTransientModifier

      public static void addTransientModifier(net.minecraft.world.entity.ai.attributes.AttributeInstance internal, net.minecraft.world.entity.ai.attributes.AttributeModifier modifier)
    • addPermanentModifier

      public static void addPermanentModifier(net.minecraft.world.entity.ai.attributes.AttributeInstance internal, net.minecraft.world.entity.ai.attributes.AttributeModifier modifier)
    • hasModifier

      public static boolean hasModifier(net.minecraft.world.entity.ai.attributes.AttributeInstance internal, net.minecraft.world.entity.ai.attributes.AttributeModifier modifier)
    • getModifier

      public static net.minecraft.world.entity.ai.attributes.AttributeModifier getModifier(net.minecraft.world.entity.ai.attributes.AttributeInstance internal, String uuid)
    • removeModifier

      public static void removeModifier(net.minecraft.world.entity.ai.attributes.AttributeInstance internal, net.minecraft.world.entity.ai.attributes.AttributeModifier modifier)
    • removeModifier

      public static void removeModifier(net.minecraft.world.entity.ai.attributes.AttributeInstance internal, String uuid)