Class PacketEvent
java.lang.Object
jdk.internal.event.Event
jdk.jfr.Event
net.minecraft.util.profiling.jfr.event.PacketEvent
- Direct Known Subclasses:
PacketReceivedEvent
,PacketSentEvent
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPacketEvent
(int p_185419_, int p_185420_, SocketAddress p_185421_, int p_185422_) -
Method Summary
-
Field Details
-
protocolId
public final int protocolId -
packetId
public final int packetId -
remoteAddress
-
bytes
public final int bytes
-
-
Constructor Details
-
PacketEvent
-