IEntityAttribute

Link to ientityattribute

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.
import crafttweaker.entity.Attribute;

ZenGetterGetterMethod返回值类型
ZenGetter
name(名称)
GetterMethod
getName()
返回值类型
string
ZenGetter
defaultValue
GetterMethod
getDefaultValue()
返回值类型
double
ZenGetter
shouldWatch
GetterMethod
getShouldWatch()
返回值类型
布尔值
ZenGetter
parent
GetterMethod
getParent()
返回值类型
IEntityAttribute
  • double clampValue(double Value) → Does something...