Package net.minecraft.server.network
Class ChunkDataSender
java.lang.Object
net.minecraft.server.network.ChunkDataSender
- Mappings:
Namespace Name named net/minecraft/server/network/ChunkDataSender
intermediary net/minecraft/class_8608
official asb
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(WorldChunk chunk) boolean
isInNextBatch
(long chunkPos) private List
<WorldChunk> makeBatch
(ThreadedAnvilChunkStorage chunkStorage, ChunkPos playerPos) void
onAcknowledgeChunks
(float desiredBatchSize) void
sendChunkBatches
(ServerPlayerEntity player) private static void
sendChunkData
(ServerPlayNetworkHandler handler, ServerWorld world, WorldChunk chunk) void
unload
(ServerPlayerEntity player, ChunkPos pos)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/server/network/ChunkDataSender;LOGGER:Lorg/slf4j/Logger;
intermediary field_45002
Lnet/minecraft/class_8608;field_45002:Lorg/slf4j/Logger;
official c
Lasb;c:Lorg/slf4j/Logger;
-
field_45000
public static final float field_45000- See Also:
- Mappings:
Namespace Name Mixin selector named field_45000
Lnet/minecraft/server/network/ChunkDataSender;field_45000:F
intermediary field_45000
Lnet/minecraft/class_8608;field_45000:F
official a
Lasb;a:F
-
field_45001
public static final float field_45001- See Also:
- Mappings:
Namespace Name Mixin selector named field_45001
Lnet/minecraft/server/network/ChunkDataSender;field_45001:F
intermediary field_45001
Lnet/minecraft/class_8608;field_45001:F
official b
Lasb;b:F
-
field_45003
private static final float field_45003- See Also:
- Mappings:
Namespace Name Mixin selector named field_45003
Lnet/minecraft/server/network/ChunkDataSender;field_45003:F
intermediary field_45003
Lnet/minecraft/class_8608;field_45003:F
official d
Lasb;d:F
-
field_45004
private static final int field_45004- See Also:
- Mappings:
Namespace Name Mixin selector named field_45004
Lnet/minecraft/server/network/ChunkDataSender;field_45004:I
intermediary field_45004
Lnet/minecraft/class_8608;field_45004:I
official e
Lasb;e:I
-
chunks
- Mappings:
Namespace Name Mixin selector named chunks
Lnet/minecraft/server/network/ChunkDataSender;chunks:Lit/unimi/dsi/fastutil/longs/LongSet;
intermediary field_45005
Lnet/minecraft/class_8608;field_45005:Lit/unimi/dsi/fastutil/longs/LongSet;
official f
Lasb;f:Lit/unimi/dsi/fastutil/longs/LongSet;
-
local
private final boolean local- Mappings:
Namespace Name Mixin selector named local
Lnet/minecraft/server/network/ChunkDataSender;local:Z
intermediary field_45006
Lnet/minecraft/class_8608;field_45006:Z
official g
Lasb;g:Z
-
desiredBatchSize
private float desiredBatchSize- Mappings:
Namespace Name Mixin selector named desiredBatchSize
Lnet/minecraft/server/network/ChunkDataSender;desiredBatchSize:F
intermediary field_45007
Lnet/minecraft/class_8608;field_45007:F
official h
Lasb;h:F
-
pending
private float pending- Mappings:
Namespace Name Mixin selector named pending
Lnet/minecraft/server/network/ChunkDataSender;pending:F
intermediary field_45008
Lnet/minecraft/class_8608;field_45008:F
official i
Lasb;i:F
-
unacknowledgedBatches
private int unacknowledgedBatches- Mappings:
Namespace Name Mixin selector named unacknowledgedBatches
Lnet/minecraft/server/network/ChunkDataSender;unacknowledgedBatches:I
intermediary field_45009
Lnet/minecraft/class_8608;field_45009:I
official j
Lasb;j:I
-
maxUnacknowledgedBatches
private int maxUnacknowledgedBatches- Mappings:
Namespace Name Mixin selector named maxUnacknowledgedBatches
Lnet/minecraft/server/network/ChunkDataSender;maxUnacknowledgedBatches:I
intermediary field_45010
Lnet/minecraft/class_8608;field_45010:I
official k
Lasb;k:I
-
-
Constructor Details
-
ChunkDataSender
public ChunkDataSender(boolean local) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/server/network/ChunkDataSender;<init>(Z)V
intermediary <init>
Lnet/minecraft/class_8608;<init>(Z)V
official <init>
Lasb;<init>(Z)V
-
-
Method Details
-
add
- Mappings:
Namespace Name Mixin selector named add
Lnet/minecraft/server/network/ChunkDataSender;add(Lnet/minecraft/world/chunk/WorldChunk;)V
intermediary method_52390
Lnet/minecraft/class_8608;method_52390(Lnet/minecraft/class_2818;)V
official a
Lasb;a(Lduk;)V
-
unload
- Mappings:
Namespace Name Mixin selector named unload
Lnet/minecraft/server/network/ChunkDataSender;unload(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/util/math/ChunkPos;)V
intermediary method_52387
Lnet/minecraft/class_8608;method_52387(Lnet/minecraft/class_3222;Lnet/minecraft/class_1923;)V
official a
Lasb;a(Larg;Ldbh;)V
-
sendChunkBatches
- Mappings:
Namespace Name Mixin selector named sendChunkBatches
Lnet/minecraft/server/network/ChunkDataSender;sendChunkBatches(Lnet/minecraft/server/network/ServerPlayerEntity;)V
intermediary method_52386
Lnet/minecraft/class_8608;method_52386(Lnet/minecraft/class_3222;)V
official a
Lasb;a(Larg;)V
-
sendChunkData
private static void sendChunkData(ServerPlayNetworkHandler handler, ServerWorld world, WorldChunk chunk) - Mappings:
Namespace Name Mixin selector named sendChunkData
Lnet/minecraft/server/network/ChunkDataSender;sendChunkData(Lnet/minecraft/server/network/ServerPlayNetworkHandler;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/chunk/WorldChunk;)V
intermediary method_52388
Lnet/minecraft/class_8608;method_52388(Lnet/minecraft/class_3244;Lnet/minecraft/class_3218;Lnet/minecraft/class_2818;)V
official a
Lasb;a(Lasf;Larf;Lduk;)V
-
makeBatch
- Mappings:
Namespace Name Mixin selector named makeBatch
Lnet/minecraft/server/network/ChunkDataSender;makeBatch(Lnet/minecraft/server/world/ThreadedAnvilChunkStorage;Lnet/minecraft/util/math/ChunkPos;)Ljava/util/List;
intermediary method_52385
Lnet/minecraft/class_8608;method_52385(Lnet/minecraft/class_3898;Lnet/minecraft/class_1923;)Ljava/util/List;
official a
Lasb;a(Laqo;Ldbh;)Ljava/util/List;
-
onAcknowledgeChunks
public void onAcknowledgeChunks(float desiredBatchSize) - Mappings:
Namespace Name Mixin selector named onAcknowledgeChunks
Lnet/minecraft/server/network/ChunkDataSender;onAcknowledgeChunks(F)V
intermediary method_52383
Lnet/minecraft/class_8608;method_52383(F)V
official a
Lasb;a(F)V
-
isInNextBatch
public boolean isInNextBatch(long chunkPos) - Mappings:
Namespace Name Mixin selector named isInNextBatch
Lnet/minecraft/server/network/ChunkDataSender;isInNextBatch(J)Z
intermediary method_52384
Lnet/minecraft/class_8608;method_52384(J)Z
official a
Lasb;a(J)Z
-