Class ChunkDataSender

java.lang.Object
net.minecraft.server.network.ChunkDataSender

public class ChunkDataSender extends Object
Mappings:
Namespace Name
official all
intermediary net/minecraft/class_8608
named net/minecraft/server/network/ChunkDataSender
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official c Lall;c:Lorg/slf4j/Logger;
      intermediary field_45002 Lnet/minecraft/class_8608;field_45002:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/server/network/ChunkDataSender;LOGGER:Lorg/slf4j/Logger;
    • field_45000

      public static final float field_45000
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lall;a:F
      intermediary field_45000 Lnet/minecraft/class_8608;field_45000:F
      named field_45000 Lnet/minecraft/server/network/ChunkDataSender;field_45000:F
    • field_45001

      public static final float field_45001
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lall;b:F
      intermediary field_45001 Lnet/minecraft/class_8608;field_45001:F
      named field_45001 Lnet/minecraft/server/network/ChunkDataSender;field_45001:F
    • field_45003

      private static final float field_45003
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lall;d:F
      intermediary field_45003 Lnet/minecraft/class_8608;field_45003:F
      named field_45003 Lnet/minecraft/server/network/ChunkDataSender;field_45003:F
    • field_45004

      private static final int field_45004
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Lall;e:I
      intermediary field_45004 Lnet/minecraft/class_8608;field_45004:I
      named field_45004 Lnet/minecraft/server/network/ChunkDataSender;field_45004:I
    • chunks

      private final LongSet chunks
      Mappings:
      Namespace Name Mixin selector
      official f Lall;f:Lit/unimi/dsi/fastutil/longs/LongSet;
      intermediary field_45005 Lnet/minecraft/class_8608;field_45005:Lit/unimi/dsi/fastutil/longs/LongSet;
      named chunks Lnet/minecraft/server/network/ChunkDataSender;chunks:Lit/unimi/dsi/fastutil/longs/LongSet;
    • local

      private final boolean local
      Mappings:
      Namespace Name Mixin selector
      official g Lall;g:Z
      intermediary field_45006 Lnet/minecraft/class_8608;field_45006:Z
      named local Lnet/minecraft/server/network/ChunkDataSender;local:Z
    • desiredBatchSize

      private float desiredBatchSize
      Mappings:
      Namespace Name Mixin selector
      official h Lall;h:F
      intermediary field_45007 Lnet/minecraft/class_8608;field_45007:F
      named desiredBatchSize Lnet/minecraft/server/network/ChunkDataSender;desiredBatchSize:F
    • pending

      private float pending
      Mappings:
      Namespace Name Mixin selector
      official i Lall;i:F
      intermediary field_45008 Lnet/minecraft/class_8608;field_45008:F
      named pending Lnet/minecraft/server/network/ChunkDataSender;pending:F
    • unacknowledgedBatches

      private int unacknowledgedBatches
      Mappings:
      Namespace Name Mixin selector
      official j Lall;j:I
      intermediary field_45009 Lnet/minecraft/class_8608;field_45009:I
      named unacknowledgedBatches Lnet/minecraft/server/network/ChunkDataSender;unacknowledgedBatches:I
    • maxUnacknowledgedBatches

      private int maxUnacknowledgedBatches
      Mappings:
      Namespace Name Mixin selector
      official k Lall;k:I
      intermediary field_45010 Lnet/minecraft/class_8608;field_45010:I
      named maxUnacknowledgedBatches Lnet/minecraft/server/network/ChunkDataSender;maxUnacknowledgedBatches:I
  • Constructor Details

    • ChunkDataSender

      public ChunkDataSender(boolean local)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lall;<init>(Z)V
      intermediary <init> Lnet/minecraft/class_8608;<init>(Z)V
      named <init> Lnet/minecraft/server/network/ChunkDataSender;<init>(Z)V
  • Method Details

    • add

      public void add(WorldChunk chunk)
      Mappings:
      Namespace Name Mixin selector
      official a Lall;a(Ldhq;)V
      intermediary method_52390 Lnet/minecraft/class_8608;method_52390(Lnet/minecraft/class_2818;)V
      named add Lnet/minecraft/server/network/ChunkDataSender;add(Lnet/minecraft/world/chunk/WorldChunk;)V
    • unload

      public void unload(ServerPlayerEntity player, ChunkPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lall;a(Lakr;Lcpc;)V
      intermediary method_52387 Lnet/minecraft/class_8608;method_52387(Lnet/minecraft/class_3222;Lnet/minecraft/class_1923;)V
      named unload Lnet/minecraft/server/network/ChunkDataSender;unload(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/util/math/ChunkPos;)V
    • sendChunkBatches

      public void sendChunkBatches(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official a Lall;a(Lakr;)V
      intermediary method_52386 Lnet/minecraft/class_8608;method_52386(Lnet/minecraft/class_3222;)V
      named sendChunkBatches Lnet/minecraft/server/network/ChunkDataSender;sendChunkBatches(Lnet/minecraft/server/network/ServerPlayerEntity;)V
    • sendChunkData

      private static void sendChunkData(ServerPlayNetworkHandler handler, ServerWorld world, WorldChunk chunk)
      Mappings:
      Namespace Name Mixin selector
      official a Lall;a(Lalp;Lakq;Ldhq;)V
      intermediary method_52388 Lnet/minecraft/class_8608;method_52388(Lnet/minecraft/class_3244;Lnet/minecraft/class_3218;Lnet/minecraft/class_2818;)V
      named sendChunkData Lnet/minecraft/server/network/ChunkDataSender;sendChunkData(Lnet/minecraft/server/network/ServerPlayNetworkHandler;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/chunk/WorldChunk;)V
    • makeBatch

      private List<WorldChunk> makeBatch(ThreadedAnvilChunkStorage chunkStorage, ChunkPos playerPos)
      Mappings:
      Namespace Name Mixin selector
      official a Lall;a(Laka;Lcpc;)Ljava/util/List;
      intermediary method_52385 Lnet/minecraft/class_8608;method_52385(Lnet/minecraft/class_3898;Lnet/minecraft/class_1923;)Ljava/util/List;
      named makeBatch Lnet/minecraft/server/network/ChunkDataSender;makeBatch(Lnet/minecraft/server/world/ThreadedAnvilChunkStorage;Lnet/minecraft/util/math/ChunkPos;)Ljava/util/List;
    • onAcknowledgeChunks

      public void onAcknowledgeChunks(float desiredBatchSize)
      Mappings:
      Namespace Name Mixin selector
      official a Lall;a(F)V
      intermediary method_52383 Lnet/minecraft/class_8608;method_52383(F)V
      named onAcknowledgeChunks Lnet/minecraft/server/network/ChunkDataSender;onAcknowledgeChunks(F)V
    • isInNextBatch

      public boolean isInNextBatch(long chunkPos)
      Mappings:
      Namespace Name Mixin selector
      official a Lall;a(J)Z
      intermediary method_52384 Lnet/minecraft/class_8608;method_52384(J)Z
      named isInNextBatch Lnet/minecraft/server/network/ChunkDataSender;isInNextBatch(J)Z