Class ExpandAttributeInstance
java.lang.Object
com.blamejared.crafttweaker.natives.entity.attribute.ExpandAttributeInstance
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddPermanentModifier(net.minecraft.world.entity.ai.attributes.AttributeInstance internal, net.minecraft.world.entity.ai.attributes.AttributeModifier modifier) static voidaddTransientModifier(net.minecraft.world.entity.ai.attributes.AttributeInstance internal, net.minecraft.world.entity.ai.attributes.AttributeModifier modifier) static doublegetBaseValue(net.minecraft.world.entity.ai.attributes.AttributeInstance internal) static net.minecraft.world.entity.ai.attributes.AttributeModifiergetModifier(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 doublegetValue(net.minecraft.world.entity.ai.attributes.AttributeInstance internal) static booleanhasModifier(net.minecraft.world.entity.ai.attributes.AttributeInstance internal, net.minecraft.world.entity.ai.attributes.AttributeModifier modifier) static voidremoveModifier(net.minecraft.world.entity.ai.attributes.AttributeInstance internal, String uuid) static voidremoveModifier(net.minecraft.world.entity.ai.attributes.AttributeInstance internal, net.minecraft.world.entity.ai.attributes.AttributeModifier modifier) static voidsetBaseValue(net.minecraft.world.entity.ai.attributes.AttributeInstance internal, double value)
-
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)
-