Class PacketEvent

java.lang.Object
jdk.internal.event.Event
jdk.jfr.Event
net.minecraft.util.profiling.jfr.event.PacketEvent
Direct Known Subclasses:
PacketReceivedEvent, PacketSentEvent

public abstract class PacketEvent extends Event
  • Field Details

    • protocolId

      public final String protocolId
    • packetId

      public final int packetId
    • remoteAddress

      public final String remoteAddress
    • bytes

      public final int bytes
  • Constructor Details

    • PacketEvent

      public PacketEvent(String p_299040_, int p_185419_, SocketAddress p_185421_, int p_185420_)