Contents
Class FromPrefab
java.lang.Object
com.hypixel.hytale.server.core.modules.entity.component.FromPrefab
- All Implemented Interfaces:
Component<EntityStore>, Cloneable
Marker component that is added to entities spawned via a prefab.
This component will be removed after the entity is added to the store.
To use this component before it is cleared make the Ref/Holder system
have the group EntityModule.getPreClearMarkersGroup().
-
Field Details
-
INSTANCE
-
CODEC
-
-
Method Details
-
getComponentType
-
clone
- Specified by:
clonein interfaceComponent<EntityStore>- Returns:
- a clone instance of the original component instance.
-