net.minecraft.server.network

public class PlayerChunkSender

all
net.minecraft.server.network.PlayerChunkSender
net.minecraft.class_8608
net.minecraft.server.network.ChunkDataSender
net.minecraft.src.C_290182_
net.minecraft.server.network.PlayerChunkSender

Field summary

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

Constructor summary

ModifierConstructor
public (boolean local)

Method summary

Modifier and TypeMethod
public void
a(dhq arg0)
markChunkPendingToSend(LevelChunk arg0)
method_52390(class_2818 arg0)
add(WorldChunk chunk)
m_293202_(C_2137_ arg0)
public void
a(akr arg0, cpc arg1)
dropChunk(ServerPlayer arg0, ChunkPos arg1)
method_52387(class_3222 arg0, class_1923 arg1)
unload(ServerPlayerEntity player, ChunkPos pos)
m_293883_(C_13_ p_300687_, C_1560_ arg1)
public void
a(akr arg0)
sendNextChunks(ServerPlayer arg0)
method_52386(class_3222 arg0)
sendChunkBatches(ServerPlayerEntity player)
m_295003_(C_13_ arg0)
private static void
a(alp arg0, akq arg1, dhq 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)
m_293861_(C_31_ p_299748_, C_12_ p_298120_, C_2137_ p_297712_)
private List<LevelChunk>
a(aka arg0, cpc arg1)
collectChunksToSend(ChunkMap arg0, ChunkPos arg1)
method_52385(class_3898 arg0, class_1923 arg1)
makeBatch(ThreadedAnvilChunkStorage chunkStorage, ChunkPos playerPos)
m_296019_(C_5429_ p_298514_, C_1560_ arg1)
public void
a(float arg0)
onChunkBatchReceivedByClient(float arg0)
method_52383(float arg0)
onAcknowledgeChunks(float desiredBatchSize)
m_293508_(float arg0)
public boolean
a(long arg0)
isPending(long arg0)
method_52384(long arg0)
isInNextBatch(long chunkPos)
m_296008_(long arg0)