Contents
Class SpawnMarkerBlock
java.lang.Object
com.hypixel.hytale.server.spawning.blockstates.SpawnMarkerBlock
- All Implemented Interfaces:
Component<ChunkStore>, Cloneable
A block component which creates and maintains a
SpawnMarkerEntity.- Since:
- 2021/03/10
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from interface Component
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()static ComponentType<ChunkStore, SpawnMarkerBlock> voidvoidsetSpawnMarkerReference(PersistentRef spawnMarkerReference) booleantickMarkerLostTimeout(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
-
SpawnMarkerBlock
public SpawnMarkerBlock() -
SpawnMarkerBlock
-
-
Method Details
-
getComponentType
-
getSpawnMarkerReference
-
getConfig
-
setSpawnMarkerReference
-
refreshMarkerLostTimeout
public void refreshMarkerLostTimeout() -
tickMarkerLostTimeout
public boolean tickMarkerLostTimeout(float dt) -
clone
- Specified by:
clonein interfaceComponent<ChunkStore>- Returns:
- a clone instance of the original component instance.
-