Contents
Class SpawnMarkerBlockReference
java.lang.Object
com.hypixel.hytale.server.spawning.blockstates.SpawnMarkerBlockReference
- All Implemented Interfaces:
Component<EntityStore>, Cloneable
A reference component used to tie a
SpawnMarkerEntity to a SpawnMarkerBlock.- Since:
- 2021/03/10
-
Field Summary
FieldsFields inherited from interface Component
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()org.joml.Vector3ivoidbooleantickOriginLostTimeout(float dt) Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Component
cloneSerializable
-
Field Details
-
CODEC
-
-
Constructor Details
-
SpawnMarkerBlockReference
public SpawnMarkerBlockReference(org.joml.Vector3i blockPosition)
-
-
Method Details
-
getComponentType
-
getBlockPosition
public org.joml.Vector3i getBlockPosition() -
refreshOriginLostTimeout
public void refreshOriginLostTimeout() -
tickOriginLostTimeout
public boolean tickOriginLostTimeout(float dt) -
clone
- Specified by:
clonein interfaceComponent<EntityStore>- Returns:
- a clone instance of the original component instance.
-