Class WorldEventS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.WorldEventS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name named net/minecraft/network/packet/s2c/play/WorldEventS2CPacket
intermediary net/minecraft/class_2673
official aef
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PacketCodec
<PacketByteBuf, WorldEventS2CPacket> private final int
private final int
private final boolean
private final BlockPos
-
Constructor Summary
ModifierConstructorDescriptionWorldEventS2CPacket
(int eventId, BlockPos pos, int data, boolean global) private
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) int
getData()
int
getPos()
boolean
isGlobal()
private void
write
(PacketByteBuf buf) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.packet.Packet
isWritingErrorSkippable, transitionsNetworkState
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/network/packet/s2c/play/WorldEventS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_47934
Lnet/minecraft/class_2673;field_47934:Lnet/minecraft/class_9139;
official a
Laef;a:Lzt;
-
eventId
private final int eventId- Mappings:
Namespace Name Mixin selector named eventId
Lnet/minecraft/network/packet/s2c/play/WorldEventS2CPacket;eventId:I
intermediary field_12241
Lnet/minecraft/class_2673;field_12241:I
official b
Laef;b:I
-
pos
- Mappings:
Namespace Name Mixin selector named pos
Lnet/minecraft/network/packet/s2c/play/WorldEventS2CPacket;pos:Lnet/minecraft/util/math/BlockPos;
intermediary field_12242
Lnet/minecraft/class_2673;field_12242:Lnet/minecraft/class_2338;
official c
Laef;c:Ljh;
-
data
private final int data- Mappings:
Namespace Name Mixin selector named data
Lnet/minecraft/network/packet/s2c/play/WorldEventS2CPacket;data:I
intermediary field_12239
Lnet/minecraft/class_2673;field_12239:I
official d
Laef;d:I
-
global
private final boolean global- Mappings:
Namespace Name Mixin selector named global
Lnet/minecraft/network/packet/s2c/play/WorldEventS2CPacket;global:Z
intermediary field_12240
Lnet/minecraft/class_2673;field_12240:Z
official e
Laef;e:Z
-
-
Constructor Details
-
WorldEventS2CPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/s2c/play/WorldEventS2CPacket;<init>(ILnet/minecraft/util/math/BlockPos;IZ)V
intermediary <init>
Lnet/minecraft/class_2673;<init>(ILnet/minecraft/class_2338;IZ)V
official <init>
Laef;<init>(ILjh;IZ)V
-
WorldEventS2CPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/s2c/play/WorldEventS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
intermediary <init>
Lnet/minecraft/class_2673;<init>(Lnet/minecraft/class_2540;)V
official <init>
Laef;<init>(Lws;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named write
Lnet/minecraft/network/packet/s2c/play/WorldEventS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
intermediary method_55884
Lnet/minecraft/class_2673;method_55884(Lnet/minecraft/class_2540;)V
official a
Laef;a(Lws;)V
-
getPacketId
- Specified by:
getPacketId
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named getPacketId
Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
intermediary method_55846
Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
official a
Laac;a()Laae;
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/network/packet/s2c/play/WorldEventS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
intermediary method_11535
Lnet/minecraft/class_2673;method_11535(Lnet/minecraft/class_2602;)V
official a
Laef;a(Lacr;)V
-
isGlobal
public boolean isGlobal()- Mappings:
Namespace Name Mixin selector named isGlobal
Lnet/minecraft/network/packet/s2c/play/WorldEventS2CPacket;isGlobal()Z
intermediary method_11533
Lnet/minecraft/class_2673;method_11533()Z
official b
Laef;b()Z
-
getEventId
public int getEventId()- Mappings:
Namespace Name Mixin selector named getEventId
Lnet/minecraft/network/packet/s2c/play/WorldEventS2CPacket;getEventId()I
intermediary method_11532
Lnet/minecraft/class_2673;method_11532()I
official e
Laef;e()I
-
getData
public int getData()- Mappings:
Namespace Name Mixin selector named getData
Lnet/minecraft/network/packet/s2c/play/WorldEventS2CPacket;getData()I
intermediary method_11534
Lnet/minecraft/class_2673;method_11534()I
official f
Laef;f()I
-
getPos
- Mappings:
Namespace Name Mixin selector named getPos
Lnet/minecraft/network/packet/s2c/play/WorldEventS2CPacket;getPos()Lnet/minecraft/util/math/BlockPos;
intermediary method_11531
Lnet/minecraft/class_2673;method_11531()Lnet/minecraft/class_2338;
official g
Laef;g()Ljh;
-