Contents
Class EntityStatValue
java.lang.Object
com.hypixel.hytale.server.core.modules.entitystats.EntityStatValue
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BuilderCodec<EntityStatValue> static final EntityStatValue[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatfloatget()getId()booleanintgetIndex()floatgetMax()floatgetMin()getModifier(String key) booleansynchronizeAsset(int index, EntityStatType asset) toString()
-
Field Details
-
EMPTY_ARRAY
-
CODEC
-
-
Constructor Details
-
EntityStatValue
-
-
Method Details
-
getId
-
getIndex
public int getIndex() -
get
public float get() -
asPercentage
public float asPercentage() -
getMin
public float getMin() -
getMax
public float getMax() -
getRegeneratingValues
-
getModifier
-
getIgnoreInvulnerability
public boolean getIgnoreInvulnerability() -
getModifiers
-
synchronizeAsset
- Parameters:
index- the stats asset indexasset- the asset- Returns:
trueif the asset was changed
-
toString
-