public class MCEntityAttribute
extends java.lang.Object
implements crafttweaker.api.entity.attribute.IEntityAttribute
Constructor and Description |
---|
MCEntityAttribute(net.minecraft.entity.ai.attributes.IAttribute attribute) |
Modifier and Type | Method and Description |
---|---|
double |
clampValue(double value) |
double |
getDefaultValue() |
java.lang.Object |
getInternal() |
java.lang.String |
getName() |
crafttweaker.api.entity.attribute.IEntityAttribute |
getParent() |
boolean |
getShouldWatch() |
public MCEntityAttribute(net.minecraft.entity.ai.attributes.IAttribute attribute)
public java.lang.String getName()
getName
in interface crafttweaker.api.entity.attribute.IEntityAttribute
public double clampValue(double value)
clampValue
in interface crafttweaker.api.entity.attribute.IEntityAttribute
public double getDefaultValue()
getDefaultValue
in interface crafttweaker.api.entity.attribute.IEntityAttribute
public boolean getShouldWatch()
getShouldWatch
in interface crafttweaker.api.entity.attribute.IEntityAttribute
public crafttweaker.api.entity.attribute.IEntityAttribute getParent()
getParent
in interface crafttweaker.api.entity.attribute.IEntityAttribute
public java.lang.Object getInternal()
getInternal
in interface crafttweaker.api.entity.attribute.IEntityAttribute