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