Contents
Class HealthRegenState
java.lang.Object
com.hypixel.hytale.server.core.modules.entity.component.HealthRegenState
- All Implemented Interfaces:
Component<EntityStore>, Cloneable
-
Field Summary
Fields inherited from interface Component
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()static ComponentType<EntityStore, HealthRegenState> booleanvoidsetRegenEnabled(boolean regenEnabled) Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Component
cloneSerializable
-
Constructor Details
-
HealthRegenState
public HealthRegenState()
-
-
Method Details
-
getComponentType
-
setRegenEnabled
public void setRegenEnabled(boolean regenEnabled) -
isRegenEnabled
public boolean isRegenEnabled() -
clone
- Specified by:
clonein interfaceComponent<EntityStore>- Returns:
- a clone instance of the original component instance.
-