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.IEntityAttributepublic double clampValue(double value)
clampValue in interface crafttweaker.api.entity.attribute.IEntityAttributepublic double getDefaultValue()
getDefaultValue in interface crafttweaker.api.entity.attribute.IEntityAttributepublic boolean getShouldWatch()
getShouldWatch in interface crafttweaker.api.entity.attribute.IEntityAttributepublic crafttweaker.api.entity.attribute.IEntityAttribute getParent()
getParent in interface crafttweaker.api.entity.attribute.IEntityAttributepublic java.lang.Object getInternal()
getInternal in interface crafttweaker.api.entity.attribute.IEntityAttribute