Class PacketSizeLogger

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

public class PacketSizeLogger extends Object
Mappings:
Namespace Name
official se
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 Lse;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 Lse;b:Lase;
      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> Lse;<init>(Lase;)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 Lse;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 Lse;a()V
      intermediary method_53503 Lnet/minecraft/class_8762;method_53503()V
      named push Lnet/minecraft/network/handler/PacketSizeLogger;push()V