Class BlockEventS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.BlockEventS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class BlockEventS2CPacket extends Object implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official pp
intermediary net/minecraft/class_2623
named net/minecraft/network/packet/s2c/play/BlockEventS2CPacket
-
Field Summary
-
Constructor Summary
Constructors Constructor Description BlockEventS2CPacket()
BlockEventS2CPacket(BlockPos pos, Block block, int type, int data)
-
Method Summary
Modifier and Type Method Description void
apply(ClientPlayPacketListener clientPlayPacketListener)
Block
getBlock()
int
getData()
BlockPos
getPos()
int
getType()
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
-
pos
- Mappings:
Namespace Name Mixin selector official a
Lpp;a:Lfx;
intermediary field_12044
Lnet/minecraft/class_2623;field_12044:Lnet/minecraft/class_2338;
named pos
Lnet/minecraft/network/packet/s2c/play/BlockEventS2CPacket;pos:Lnet/minecraft/util/math/BlockPos;
-
type
private int type- Mappings:
Namespace Name Mixin selector official b
Lpp;b:I
intermediary field_12042
Lnet/minecraft/class_2623;field_12042:I
named type
Lnet/minecraft/network/packet/s2c/play/BlockEventS2CPacket;type:I
-
data
private int data- Mappings:
Namespace Name Mixin selector official c
Lpp;c:I
intermediary field_12041
Lnet/minecraft/class_2623;field_12041:I
named data
Lnet/minecraft/network/packet/s2c/play/BlockEventS2CPacket;data:I
-
block
- Mappings:
Namespace Name Mixin selector official d
Lpp;d:Lbwu;
intermediary field_12043
Lnet/minecraft/class_2623;field_12043:Lnet/minecraft/class_2248;
named block
Lnet/minecraft/network/packet/s2c/play/BlockEventS2CPacket;block:Lnet/minecraft/block/Block;
-
-
Constructor Details
-
BlockEventS2CPacket
public BlockEventS2CPacket() -
BlockEventS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lpp;<init>(Lfx;Lbwu;II)V
intermediary <init>
Lnet/minecraft/class_2623;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;II)V
named <init>
Lnet/minecraft/network/packet/s2c/play/BlockEventS2CPacket;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;II)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
Lpp;a(Lpd;)V
intermediary method_11297
Lnet/minecraft/class_2623;method_11297(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/BlockEventS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getPos
- Mappings:
Namespace Name Mixin selector official b
Lpp;b()Lfx;
intermediary method_11298
Lnet/minecraft/class_2623;method_11298()Lnet/minecraft/class_2338;
named getPos
Lnet/minecraft/network/packet/s2c/play/BlockEventS2CPacket;getPos()Lnet/minecraft/util/math/BlockPos;
-
getType
- Mappings:
Namespace Name Mixin selector official c
Lpp;c()I
intermediary method_11294
Lnet/minecraft/class_2623;method_11294()I
named getType
Lnet/minecraft/network/packet/s2c/play/BlockEventS2CPacket;getType()I
-
getData
- Mappings:
Namespace Name Mixin selector official d
Lpp;d()I
intermediary method_11296
Lnet/minecraft/class_2623;method_11296()I
named getData
Lnet/minecraft/network/packet/s2c/play/BlockEventS2CPacket;getData()I
-
getBlock
- Mappings:
Namespace Name Mixin selector official e
Lpp;e()Lbwu;
intermediary method_11295
Lnet/minecraft/class_2623;method_11295()Lnet/minecraft/class_2248;
named getBlock
Lnet/minecraft/network/packet/s2c/play/BlockEventS2CPacket;getBlock()Lnet/minecraft/block/Block;
-