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 named net/minecraft/util/profiling/jfr/event/PacketEvent
intermediary net/minecraft/class_6509
official bnh
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPacketEvent
(String protocolId, String packetDirection, String packetId, SocketAddress remoteAddress, int bytes) -
Method Summary
-
Field Details
-
protocolId
-
packetDirection
-
packetId
-
remoteAddress
-
bytes
public final int bytes
-
-
Constructor Details
-
PacketEvent
public PacketEvent(String protocolId, String packetDirection, String packetId, SocketAddress remoteAddress, int bytes) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/util/profiling/jfr/event/PacketEvent;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/net/SocketAddress;I)V
intermediary <init>
Lnet/minecraft/class_6509;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/net/SocketAddress;I)V
official <init>
Lbnh;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/net/SocketAddress;I)V
-