Class WorldEventS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.WorldEventS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class WorldEventS2CPacket extends Object implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official qm
intermediary net/minecraft/class_2673
named net/minecraft/network/packet/s2c/play/WorldEventS2CPacket
-
Field Summary
-
Constructor Summary
Constructors Constructor Description WorldEventS2CPacket()
WorldEventS2CPacket(int eventId, BlockPos pos, int data, boolean global)
-
Method Summary
Modifier and Type Method Description void
apply(ClientPlayPacketListener clientPlayPacketListener)
int
getData()
int
getEventId()
BlockPos
getPos()
boolean
isGlobal()
void
read(PacketByteBuf buf)
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
isWritingErrorSkippable
-
Field Details
-
eventId
private int eventId- Mappings:
Namespace Name Mixin selector official a
Lqm;a:I
intermediary field_12241
Lnet/minecraft/class_2673;field_12241:I
named eventId
Lnet/minecraft/network/packet/s2c/play/WorldEventS2CPacket;eventId:I
-
pos
- Mappings:
Namespace Name Mixin selector official b
Lqm;b:Lfx;
intermediary field_12242
Lnet/minecraft/class_2673;field_12242:Lnet/minecraft/class_2338;
named pos
Lnet/minecraft/network/packet/s2c/play/WorldEventS2CPacket;pos:Lnet/minecraft/util/math/BlockPos;
-
data
private int data- Mappings:
Namespace Name Mixin selector official c
Lqm;c:I
intermediary field_12239
Lnet/minecraft/class_2673;field_12239:I
named data
Lnet/minecraft/network/packet/s2c/play/WorldEventS2CPacket;data:I
-
global
private boolean global- Mappings:
Namespace Name Mixin selector official d
Lqm;d:Z
intermediary field_12240
Lnet/minecraft/class_2673;field_12240:Z
named global
Lnet/minecraft/network/packet/s2c/play/WorldEventS2CPacket;global:Z
-
-
Constructor Details
-
WorldEventS2CPacket
public WorldEventS2CPacket() -
WorldEventS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lqm;<init>(ILfx;IZ)V
intermediary <init>
Lnet/minecraft/class_2673;<init>(ILnet/minecraft/class_2338;IZ)V
named <init>
Lnet/minecraft/network/packet/s2c/play/WorldEventS2CPacket;<init>(ILnet/minecraft/util/math/BlockPos;IZ)V
-
-
Method Details
-
read
- Specified by:
read
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lpa;a(Lnw;)V
intermediary method_11053
Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
named read
Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lpa;b(Lnw;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lqm;a(Lpd;)V
intermediary method_11535
Lnet/minecraft/class_2673;method_11535(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/WorldEventS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
isGlobal
- Mappings:
Namespace Name Mixin selector official b
Lqm;b()Z
intermediary method_11533
Lnet/minecraft/class_2673;method_11533()Z
named isGlobal
Lnet/minecraft/network/packet/s2c/play/WorldEventS2CPacket;isGlobal()Z
-
getEventId
- Mappings:
Namespace Name Mixin selector official c
Lqm;c()I
intermediary method_11532
Lnet/minecraft/class_2673;method_11532()I
named getEventId
Lnet/minecraft/network/packet/s2c/play/WorldEventS2CPacket;getEventId()I
-
getData
- Mappings:
Namespace Name Mixin selector official d
Lqm;d()I
intermediary method_11534
Lnet/minecraft/class_2673;method_11534()I
named getData
Lnet/minecraft/network/packet/s2c/play/WorldEventS2CPacket;getData()I
-
getPos
- Mappings:
Namespace Name Mixin selector official e
Lqm;e()Lfx;
intermediary method_11531
Lnet/minecraft/class_2673;method_11531()Lnet/minecraft/class_2338;
named getPos
Lnet/minecraft/network/packet/s2c/play/WorldEventS2CPacket;getPos()Lnet/minecraft/util/math/BlockPos;
-