classpublicPriority 1
ChunkUnloadingSystem
com.hypixel.hytale.server.core.universe.world.storage.component.ChunkUnloadingSystem
extends TickingSystem
implements RunWhenPausedSystem
5
Methods
5
Public Methods
1
Fields
1
Constructors
Constants
intDESPERATE_UNLOAD_MAX_POLL_COUNT= 3
doubleDESPERATE_UNLOAD_RAM_USAGE_THRESHOLD= 0.85
intTICKS_BEFORE_CHUNK_UNLOADING_REMINDER= 5000
floatUNLOAD_INTERVAL= 0.5F
Constructors
public
ChunkUnloadingSystem()Methods
Public Methods (5)
public
Resource<ChunkStore> clone()@Nonnull@Override
publicstatic
ChunkTracker.ChunkVisibility getChunkVisibility(List<ChunkTracker> playerChunkTrackers, long chunkIndex)public
void tick(float dt, int systemIndex, Store<ChunkStore> store)@Override
public
boolean tick(float dt)publicstatic
void tryUnload(int index, ArchetypeChunk<ChunkStore> archetypeChunk, CommandBuffer<ChunkStore> commandBuffer)Fields
Public Fields (1)
public
int ticksUntilUnloadingReminder