Class ChunkBatchSizeCalculator

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

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

    • field_45939

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

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

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

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

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

    • ChunkBatchSizeCalculator

      public ChunkBatchSizeCalculator()
  • Method Details

    • onStartChunkSend

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

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

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