Class SpawnReference
java.lang.Object
com.hypixel.hytale.server.npc.components.SpawnReference
- All Implemented Interfaces:
Component<EntityStore>,Cloneable
- Direct Known Subclasses:
SpawnBeaconReference,SpawnMarkerReference
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final BuilderCodec<SpawnReference> static final floatprivate floatprotected InvalidatablePersistentRefFields inherited from interface com.hypixel.hytale.component.Component
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Component<EntityStore> clone()voidbooleantickMarkerLostTimeoutCounter(float dt) Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hypixel.hytale.component.Component
cloneSerializable
-
Field Details
-
BASE_CODEC
-
MARKER_LOST_TIMEOUT
public static final float MARKER_LOST_TIMEOUT- See Also:
-
reference
-
markerLostTimeoutCounter
private float markerLostTimeoutCounter
-
-
Constructor Details
-
SpawnReference
public SpawnReference()
-
-
Method Details
-
getReference
-
tickMarkerLostTimeoutCounter
public boolean tickMarkerLostTimeoutCounter(float dt) -
refreshTimeoutCounter
public void refreshTimeoutCounter() -
clone
- Specified by:
clonein interfaceComponent<EntityStore>- Overrides:
clonein classObject
-