Class SprintStaminaRegenDelay
java.lang.Object
com.hypixel.hytale.server.core.modules.entity.stamina.SprintStaminaRegenDelay
- All Implemented Interfaces:
Resource<EntityStore>,Cloneable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final AtomicIntegerprotected intprotected floatprotected intFields inherited from interface com.hypixel.hytale.component.Resource
EMPTY_ARRAY -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
-
Field Details
-
ASSET_VALIDATION_STATE
-
statIndex
protected int statIndex -
statValue
protected float statValue -
validationState
protected int validationState
-
-
Constructor Details
-
SprintStaminaRegenDelay
public SprintStaminaRegenDelay() -
SprintStaminaRegenDelay
-
-
Method Details
-
getResourceType
-
getIndex
public int getIndex() -
getValue
public float getValue() -
validate
public boolean validate() -
hasDelay
public boolean hasDelay() -
markEmpty
public void markEmpty() -
update
public void update(int statIndex, float statValue) -
clone
- Specified by:
clonein interfaceResource<EntityStore>- Overrides:
clonein classObject
-
toString
-
invalidateResources
public static void invalidateResources()
-