Contents
Class LocalSpawnController
java.lang.Object
com.hypixel.hytale.server.spawning.local.LocalSpawnController
- All Implemented Interfaces:
Component<EntityStore>, Cloneable
A component which handles data for the
LocalSpawnControllerSystem and is attached to each Player to keep track of when the system
should next process and attempt to generate new local NPC spawns.
Created on 24/07/2019-
Field Summary
Fields inherited from interface Component
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()static ComponentType<EntityStore, LocalSpawnController> voidsetTimeToNextRunSeconds(double seconds) booleantickTimeToNextRunSeconds(float dt) toString()Methods inherited from interface Component
cloneSerializable
-
Constructor Details
-
LocalSpawnController
public LocalSpawnController()
-
-
Method Details
-
getComponentType
-
setTimeToNextRunSeconds
public void setTimeToNextRunSeconds(double seconds) -
tickTimeToNextRunSeconds
public boolean tickTimeToNextRunSeconds(float dt) -
clone
- Specified by:
clonein interfaceComponent<EntityStore>- Returns:
- a clone instance of the original component instance.
-
toString
-