Contents
Class SpawnReference
java.lang.Object
com.hypixel.hytale.server.npc.components.SpawnReference
- All Implemented Interfaces:
Component<EntityStore>, Cloneable
- Direct Known Subclasses:
SpawnBeaconReference, SpawnMarkerReference
- Since:
- 2020/12/02
-
Field Summary
FieldsFields inherited from interface Component
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Component<EntityStore> clone()voidbooleantickMarkerLostTimeoutCounter(float dt) Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Component
cloneSerializable
-
Field Details
-
MARKER_LOST_TIMEOUT
public static final float MARKER_LOST_TIMEOUT- See Also:
-
-
Constructor Details
-
SpawnReference
public SpawnReference()
-
-
Method Details
-
getReference
-
tickMarkerLostTimeoutCounter
public boolean tickMarkerLostTimeoutCounter(float dt) -
refreshTimeoutCounter
public void refreshTimeoutCounter() -
clone
- Specified by:
clonein interfaceComponent<EntityStore>- Returns:
- a clone instance of the original component instance.
-