Class ChunkBatchSizeCalculator

java.lang.Object
net.minecraft.client.network.ChunkBatchSizeCalculator

@Environment(CLIENT) public class ChunkBatchSizeCalculator extends Object
Mappings:
Namespace Name
named net/minecraft/client/network/ChunkBatchSizeCalculator
intermediary net/minecraft/class_8760
official fxr
  • Field Details

    • field_45939

      private static final int field_45939
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_45939 Lnet/minecraft/client/network/ChunkBatchSizeCalculator;field_45939:I
      intermediary field_45939 Lnet/minecraft/class_8760;field_45939:I
      official a Lfxr;a:I
    • field_45940

      private static final int field_45940
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_45940 Lnet/minecraft/client/network/ChunkBatchSizeCalculator;field_45940:I
      intermediary field_45940 Lnet/minecraft/class_8760;field_45940:I
      official b Lfxr;b:I
    • averageNanosPerChunk

      private double averageNanosPerChunk
      Mappings:
      Namespace Name Mixin selector
      named averageNanosPerChunk Lnet/minecraft/client/network/ChunkBatchSizeCalculator;averageNanosPerChunk:D
      intermediary field_45941 Lnet/minecraft/class_8760;field_45941:D
      official c Lfxr;c:D
    • sampleSize

      private int sampleSize
      Mappings:
      Namespace Name Mixin selector
      named sampleSize Lnet/minecraft/client/network/ChunkBatchSizeCalculator;sampleSize:I
      intermediary field_45942 Lnet/minecraft/class_8760;field_45942:I
      official d Lfxr;d:I
    • startTime

      private volatile long startTime
      Mappings:
      Namespace Name Mixin selector
      named startTime Lnet/minecraft/client/network/ChunkBatchSizeCalculator;startTime:J
      intermediary field_45943 Lnet/minecraft/class_8760;field_45943:J
      official e Lfxr;e:J
  • Constructor Details

    • ChunkBatchSizeCalculator

      public ChunkBatchSizeCalculator()
  • Method Details

    • onStartChunkSend

      public void onStartChunkSend()
      Mappings:
      Namespace Name Mixin selector
      named onStartChunkSend Lnet/minecraft/client/network/ChunkBatchSizeCalculator;onStartChunkSend()V
      intermediary method_53483 Lnet/minecraft/class_8760;method_53483()V
      official a Lfxr;a()V
    • onChunkSent

      public void onChunkSent(int batchSize)
      Mappings:
      Namespace Name Mixin selector
      named onChunkSent Lnet/minecraft/client/network/ChunkBatchSizeCalculator;onChunkSent(I)V
      intermediary method_53484 Lnet/minecraft/class_8760;method_53484(I)V
      official a Lfxr;a(I)V
    • getDesiredChunksPerTick

      public float getDesiredChunksPerTick()
      Mappings:
      Namespace Name Mixin selector
      named getDesiredChunksPerTick Lnet/minecraft/client/network/ChunkBatchSizeCalculator;getDesiredChunksPerTick()F
      intermediary method_53485 Lnet/minecraft/class_8760;method_53485()F
      official b Lfxr;b()F