Contents
Class InstanceEntityConfig
java.lang.Object
com.hypixel.hytale.builtin.instances.config.InstanceEntityConfig
- All Implemented Interfaces:
Component<EntityStore>, Cloneable
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BuilderCodec<InstanceEntityConfig> static final StringFields inherited from interface Component
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclone()voiddropReturnsInto(UUID worldId) Drops stacked entries returning into the given world; re-entering it makes that history stale.static InstanceEntityConfigensureAndGet(Holder<EntityStore> holder) static ComponentType<EntityStore, InstanceEntityConfig> Removes and returns the most recent stacked return point, or null when the stack is empty.voidpushReturnPoint(WorldReturnPoint point) static InstanceEntityConfigremoveAndGet(Holder<EntityStore> holder) voidsetReturnPoint(WorldReturnPoint returnPoint) voidsetReturnPointOverride(WorldReturnPoint returnPointOverride) Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Component
cloneSerializable
-
Field Details
-
ID
- See Also:
-
CODEC
-
-
Constructor Details
-
InstanceEntityConfig
public InstanceEntityConfig()
-
-
Method Details
-
getComponentType
-
ensureAndGet
-
removeAndGet
-
getReturnPoint
-
setReturnPoint
-
pushReturnPoint
-
popReturnPoint
Removes and returns the most recent stacked return point, or null when the stack is empty. -
dropReturnsInto
Drops stacked entries returning into the given world; re-entering it makes that history stale. -
clearReturnStack
public void clearReturnStack() -
getReturnPointOverride
-
setReturnPointOverride
-
clone
- Specified by:
clonein interfaceComponent<EntityStore>- Returns:
- a clone instance of the original component instance.
-