Contents
Class CachedStatsComponent
java.lang.Object
com.hypixel.hytale.server.core.modules.entity.component.CachedStatsComponent
- 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, CachedStatsComponent> booleanvoidsetCanBreathe(boolean canBreathe) Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Component
cloneSerializable
-
Constructor Details
-
CachedStatsComponent
public CachedStatsComponent()
-
-
Method Details
-
getComponentType
-
isCanBreathe
public boolean isCanBreathe() -
setCanBreathe
public void setCanBreathe(boolean canBreathe) -
clone
- Specified by:
clonein interfaceComponent<EntityStore>- Returns:
- a clone instance of the original component instance.
-