Class ChunkBatchSizeCalculator

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

@Environment(CLIENT) public class ChunkBatchSizeCalculator extends Object
Mappings:
Namespace Name
official fir
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 Lfir;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 Lfir;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 Lfir;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 Lfir;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 Lfir;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 Lfir;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 Lfir;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 Lfir;b()F
      intermediary method_53485 Lnet/minecraft/class_8760;method_53485()F
      named getDesiredChunksPerTick Lnet/minecraft/client/network/ChunkBatchSizeCalculator;getDesiredChunksPerTick()F