net.minecraft.server.level

public abstract class DistanceManager

ara
net.minecraft.server.level.DistanceManager
net.minecraft.class_3204
net.minecraft.server.world.ChunkLevelManager

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_16211
LOGGER
static final int
c
PLAYER_TICKET_LEVEL
field_17452
NEARBY_PLAYER_TICKET_LEVEL
final it.unimi.dsi.fastutil.longs.Long2ObjectMap<it.unimi.dsi.fastutil.objects.ObjectSet<ServerPlayer>>
d
playersPerChunk
field_17453
playersByChunkPos
private final LoadingChunkTracker
e
loadingChunkTracker
field_55589
ticketDistanceLevelPropagator
private final SimulationChunkTracker
f
simulationChunkTracker
field_55590
simulationDistanceLevelPropagator
final TicketStorage
g
ticketStorage
field_55591
ticketManager
private final DistanceManager$FixedPlayerDistanceChunkTracker
h
naturalSpawnChunkCounter
field_17454
distanceFromNearestPlayerTracker
private final DistanceManager$PlayerTicketTracker
i
playerTicketManager
field_17455
nearbyChunkTicketUpdater
protected final Set<ChunkHolder>
b
chunksToUpdateFutures
field_16210
chunkHoldersWithPendingUpdates
final ThrottlingChunkTaskDispatcher
j
ticketDispatcher
field_54044
scheduler
final it.unimi.dsi.fastutil.longs.LongSet
k
ticketsToRelease
field_17459
freshPlayerTicketPositions
final Executor
l
mainThreadExecutor
field_17460
mainThreadExecutor
private int
m
simulationDistance
field_34887
simulationDistance

Constructor summary

ModifierConstructor
protected (TicketStorage ticketManager, Executor executor, Executor mainThreadExecutor)

Method summary

Modifier and TypeMethod
protected abstract boolean
a(long arg0)
isChunkToRemove(long arg0)
method_14035(long arg0)
isUnloaded(long pos)
protected abstract ChunkHolder
b(long arg0)
getChunk(long arg0)
method_14038(long arg0)
getChunkHolder(long pos)
protected abstract ChunkHolder
a(long arg0, int arg1, aqp arg2, int arg3)
updateChunkScheduling(long arg0, int arg1, ChunkHolder arg2, int arg3)
method_14053(long arg0, int arg1, class_3193 arg2, int arg3)
setLevel(long pos, int level, ChunkHolder holder, int arg3)
public boolean
a(aqr arg0)
runAllUpdates(ChunkMap arg0)
method_15892(class_3898 arg0)
update(ServerChunkLoadingManager chunkLoadingManager)
public void
a(kl arg0, aro arg1)
addPlayer(SectionPos arg0, ServerPlayer arg1)
method_14048(class_4076 arg0, class_3222 arg1)
handleChunkEnter(ChunkSectionPos pos, ServerPlayerEntity player)
public void
b(kl arg0, aro arg1)
removePlayer(SectionPos arg0, ServerPlayer arg1)
method_14051(class_4076 arg0, class_3222 arg1)
handleChunkLeave(ChunkSectionPos pos, ServerPlayerEntity player)
private int
e()
getPlayerTicketLevel()
method_38633()
getPlayerSimulationLevel()
public boolean
c(long arg0)
inEntityTickingRange(long arg0)
method_38630(long arg0)
shouldTickEntities(long chunkPos)
public boolean
d(long arg0)
inBlockTickingRange(long arg0)
method_38632(long arg0)
shouldTickBlocks(long chunkPos)
public int
a(long arg0, boolean arg1)
getChunkLevel(long arg0, boolean arg1)
method_66007(long arg0, boolean arg1)
getLevel(long pos, boolean forSimulation)
protected void
a(int arg0)
updatePlayerTickets(int arg0)
method_14049(int arg0)
setWatchDistance(int viewDistance)
public void
b(int arg0)
updateSimulationDistance(int arg0)
method_38629(int arg0)
setSimulationDistance(int simulationDistance)
public int
a()
getNaturalSpawnChunkCount()
method_14052()
getTickedChunkCount()
public boolean
e(long arg0)
hasPlayersNearby(long arg0)
method_20800(long arg0)
shouldTick(long chunkPos)
public it.unimi.dsi.fastutil.longs.LongIterator
b()
getSpawnCandidateChunks()
method_61262()
iterateChunkPosToTick()
public String
c()
getDebugStatus()
method_21683()
toDumpString()
public boolean
d()
hasTickets()
method_39996()
shouldDelayShutdown()