net.minecraft.server.network

public class PlayerChunkSender

asb
net.minecraft.server.network.PlayerChunkSender
net.minecraft.class_8608
net.minecraft.server.network.ChunkDataSender
net.minecraft.server.network.PlayerChunkSender

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
c
LOGGER
field_45002
LOGGER
public static final float
a
MIN_CHUNKS_PER_TICK
field_45000
field_45000
public static final float
b
MAX_CHUNKS_PER_TICK
field_45001
field_45001
private static final float
d
START_CHUNKS_PER_TICK
field_45003
field_45003
private static final int
e
MAX_UNACKNOWLEDGED_BATCHES
field_45004
field_45004
private final it.unimi.dsi.fastutil.longs.LongSet
f
pendingChunks
field_45005
chunks
private final boolean
g
memoryConnection
field_45006
local
private float
h
desiredChunksPerTick
field_45007
desiredBatchSize
private float
i
batchQuota
field_45008
pending
private int
j
unacknowledgedBatches
field_45009
unacknowledgedBatches
private int
k
maxUnacknowledgedBatches
field_45010
maxUnacknowledgedBatches

Constructor summary

ModifierConstructor
public (boolean local)

Method summary

Modifier and TypeMethod
public void
a(dzd arg0)
markChunkPendingToSend(LevelChunk arg0)
method_52390(class_2818 arg0)
add(WorldChunk chunk)
public void
a(are arg0, dfp arg1)
dropChunk(ServerPlayer arg0, ChunkPos arg1)
method_52387(class_3222 arg0, class_1923 arg1)
unload(ServerPlayerEntity player, ChunkPos pos)
public void
a(are arg0)
sendNextChunks(ServerPlayer arg0)
method_52386(class_3222 arg0)
sendChunkBatches(ServerPlayerEntity player)
private static void
a(asg arg0, ard arg1, dzd arg2)
sendChunk(ServerGamePacketListenerImpl arg0, ServerLevel arg1, LevelChunk arg2)
method_52388(class_3244 arg0, class_3218 arg1, class_2818 arg2)
sendChunkData(ServerPlayNetworkHandler handler, ServerWorld world, WorldChunk chunk)
private List<LevelChunk>
a(aqi arg0, dfp arg1)
collectChunksToSend(ChunkMap arg0, ChunkPos arg1)
method_52385(class_3898 arg0, class_1923 arg1)
makeBatch(ServerChunkLoadingManager chunkLoadingManager, ChunkPos playerPos)
public void
a(float arg0)
onChunkBatchReceivedByClient(float arg0)
method_52383(float arg0)
onAcknowledgeChunks(float desiredBatchSize)
public boolean
a(long arg0)
isPending(long arg0)
method_52384(long arg0)
isInNextBatch(long chunkPos)