Class PacketEvent
java.lang.Object
jdk.internal.event.Event
jdk.jfr.Event
net.minecraft.util.profiling.jfr.event.PacketEvent
- Direct Known Subclasses:
PacketReceivedEvent
,PacketSentEvent
- Mappings:
Namespace Name official bea
intermediary net/minecraft/class_6509
named net/minecraft/util/profiling/jfr/event/PacketEvent
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPacketEvent
(String protocolId, int packetId, SocketAddress remoteAddress, int bytes) -
Method Summary
-
Field Details
-
protocolId
-
packetId
public final int packetId -
remoteAddress
-
bytes
public final int bytes
-
-
Constructor Details
-
PacketEvent
- Mappings:
Namespace Name Mixin selector official <init>
Lbea;<init>(Ljava/lang/String;ILjava/net/SocketAddress;I)V
intermediary <init>
Lnet/minecraft/class_6509;<init>(Ljava/lang/String;ILjava/net/SocketAddress;I)V
named <init>
Lnet/minecraft/util/profiling/jfr/event/PacketEvent;<init>(Ljava/lang/String;ILjava/net/SocketAddress;I)V
-