Contents
Class Frozen
java.lang.Object
com.hypixel.hytale.server.core.entity.Frozen
- All Implemented Interfaces:
Component<EntityStore>, Cloneable
A component that marks an entity as being frozen.
Semantically, this state is different to being non-ticking (NonTicking) as some systems might still want to process
a frozen entity for logic that isn't otherwise impacted by its frozen state.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BuilderCodec<Frozen> The codec used to parseFrozeninstances.Fields inherited from interface Component
EMPTY_ARRAY -
Method Summary
Modifier and TypeMethodDescriptionclone()static Frozenget()static ComponentType<EntityStore, Frozen> Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Component
cloneSerializable
-
Field Details
-
CODEC
The codec used to parseFrozeninstances.
-
-
Method Details
-
getComponentType
- Returns:
- the component type for the
Frozencomponent.
-
get
-
clone
- Specified by:
clonein interfaceComponent<EntityStore>- Returns:
- a clone instance of the original component instance.
-