Contents
Class RemovalSystem
java.lang.Object
com.hypixel.hytale.component.system.System<ChunkStore>
com.hypixel.hytale.component.system.tick.TickingSystem<ChunkStore>
com.hypixel.hytale.builtin.instances.removal.RemovalSystem
- All Implemented Interfaces:
ISystem<ChunkStore>, RunWhenPausedSystem<ChunkStore>, TickableSystem<ChunkStore>
public class RemovalSystem
extends TickingSystem<ChunkStore>
implements RunWhenPausedSystem<ChunkStore>
-
Field Summary
Fields inherited from interface ISystem
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidsetupInstanceRemoval(World world, EventTitleConfig eventTitle) static booleanshouldRemoveWorld(Store<ChunkStore> store) Returns whether the conditions on this world mark it for removal.voidtick(float dt, int systemIndex, Store<ChunkStore> store) Required reading:CommandBufferMethods inherited from class System
getComponentRegistrations, getResourceRegistrations, registerResource, registerResourceMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ISystem
getDependencies, getGroup, onSystemRegistered, onSystemUnregistered
-
Constructor Details
-
RemovalSystem
public RemovalSystem()
-
-
Method Details
-
tick
Description copied from class:TickingSystem- Specified by:
tickin interfaceTickableSystem<ChunkStore>- Specified by:
tickin classTickingSystem<ChunkStore>- Parameters:
dt- The delta time in seconds.systemIndex- The index of this system, used for faster lookups inStore.
-
setupInstanceRemoval
-
shouldRemoveWorld
Returns whether the conditions on this world mark it for removal.- Parameters:
store- The store to check.- Returns:
- Whether to remove the world.
-