Class PacketSizeLogger

java.lang.Object
net.minecraft.network.handler.PacketSizeLogger

public class PacketSizeLogger extends Object
Mappings:
Namespace Name
official ty
intermediary net/minecraft/class_8762
named net/minecraft/network/handler/PacketSizeLogger
  • Field Details

    • packetSizeInBytes

      private final AtomicInteger packetSizeInBytes
      Mappings:
      Namespace Name Mixin selector
      official a Lty;a:Ljava/util/concurrent/atomic/AtomicInteger;
      intermediary field_45953 Lnet/minecraft/class_8762;field_45953:Ljava/util/concurrent/atomic/AtomicInteger;
      named packetSizeInBytes Lnet/minecraft/network/handler/PacketSizeLogger;packetSizeInBytes:Ljava/util/concurrent/atomic/AtomicInteger;
    • log

      private final PerformanceLog log
      Mappings:
      Namespace Name Mixin selector
      official b Lty;b:Lauy;
      intermediary field_45954 Lnet/minecraft/class_8762;field_45954:Lnet/minecraft/class_8743;
      named log Lnet/minecraft/network/handler/PacketSizeLogger;log:Lnet/minecraft/util/profiler/PerformanceLog;
  • Constructor Details

    • PacketSizeLogger

      public PacketSizeLogger(PerformanceLog log)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lty;<init>(Lauy;)V
      intermediary <init> Lnet/minecraft/class_8762;<init>(Lnet/minecraft/class_8743;)V
      named <init> Lnet/minecraft/network/handler/PacketSizeLogger;<init>(Lnet/minecraft/util/profiler/PerformanceLog;)V
  • Method Details

    • increment

      public void increment(int bytes)
      Mappings:
      Namespace Name Mixin selector
      official a Lty;a(I)V
      intermediary method_53504 Lnet/minecraft/class_8762;method_53504(I)V
      named increment Lnet/minecraft/network/handler/PacketSizeLogger;increment(I)V
    • push

      public void push()
      Mappings:
      Namespace Name Mixin selector
      official a Lty;a()V
      intermediary method_53503 Lnet/minecraft/class_8762;method_53503()V
      named push Lnet/minecraft/network/handler/PacketSizeLogger;push()V