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 adv
-
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
Ladv;a:Lzn;
-
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
Ladv;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
Ladv;c:Liz;
-
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
Ladv;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
Ladv;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>
Ladv;<init>(ILiz;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>
Ladv;<init>(Lwm;)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
Ladv;a(Lwm;)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
Lzw;a()Lzy;
-
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
Ladv;a(Laci;)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
Ladv;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
Ladv;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
Ladv;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
Ladv;g()Liz;
-