Package net.minecraft.server.level
Class ChunkMap.DistanceManager
java.lang.Object
net.minecraft.server.level.DistanceManager
net.minecraft.server.level.ChunkMap.DistanceManager
- Enclosing class:
- ChunkMap
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.server.level.DistanceManager
DistanceManager.ChunkTicketTracker, DistanceManager.FixedPlayerDistanceChunkTracker, DistanceManager.PlayerTicketTracker
-
Field Summary
Fields inherited from class net.minecraft.server.level.DistanceManager
chunksToUpdateFutures, LOGGER, mainThreadExecutor, PLAYER_TICKET_LEVEL, playersPerChunk, tickets, ticketsToRelease, ticketThrottler, ticketThrottlerInput, ticketThrottlerReleaser
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ChunkHolder
getChunk
(long p_140469_) protected boolean
isChunkToRemove
(long p_140462_) protected ChunkHolder
updateChunkScheduling
(long p_140464_, int p_140465_, ChunkHolder p_140466_, int p_140467_) Methods inherited from class net.minecraft.server.level.DistanceManager
addPlayer, addRegionTicket, addRegionTicket, addTicket, addTicket, getDebugStatus, getNaturalSpawnChunkCount, getTicketDebugString, hasPlayersNearby, hasTickets, inBlockTickingRange, inEntityTickingRange, purgeStaleTickets, registerTicking, releaseTicking, removePlayer, removeRegionTicket, removeRegionTicket, removeTicket, removeTicket, removeTicketsOnClosing, runAllUpdates, shouldForceTicks, tickingTracker, updateChunkForced, updatePlayerTickets, updateSimulationDistance
-
Constructor Details
-
DistanceManager
-
-
Method Details
-
isChunkToRemove
protected boolean isChunkToRemove(long p_140462_) - Specified by:
isChunkToRemove
in classDistanceManager
-
getChunk
- Specified by:
getChunk
in classDistanceManager
-
updateChunkScheduling
@Nullable protected ChunkHolder updateChunkScheduling(long p_140464_, int p_140465_, @Nullable ChunkHolder p_140466_, int p_140467_) - Specified by:
updateChunkScheduling
in classDistanceManager
-