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
(String p_295059_, int p_185419_, SocketAddress p_185421_, int p_185420_) -
Method Summary
-
Field Details
-
protocolId
-
packetId
public final int packetId -
remoteAddress
-
bytes
public final int bytes
-
-
Constructor Details
-
PacketEvent
-