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 ppintermediary net/minecraft/class_2623named 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 voidapply(ClientPlayPacketListener clientPlayPacketListener)BlockgetBlock()intgetData()BlockPosgetPos()intgetType()voidread(PacketByteBuf buf)voidwrite(PacketByteBuf buf)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
pos
- Mappings:
Namespace Name Mixin selector official aLpp;a:Lfx;intermediary field_12044Lnet/minecraft/class_2623;field_12044:Lnet/minecraft/class_2338;named posLnet/minecraft/network/packet/s2c/play/BlockEventS2CPacket;pos:Lnet/minecraft/util/math/BlockPos;
-
type
private int type- Mappings:
Namespace Name Mixin selector official bLpp;b:Iintermediary field_12042Lnet/minecraft/class_2623;field_12042:Inamed typeLnet/minecraft/network/packet/s2c/play/BlockEventS2CPacket;type:I
-
data
private int data- Mappings:
Namespace Name Mixin selector official cLpp;c:Iintermediary field_12041Lnet/minecraft/class_2623;field_12041:Inamed dataLnet/minecraft/network/packet/s2c/play/BlockEventS2CPacket;data:I
-
block
- Mappings:
Namespace Name Mixin selector official dLpp;d:Lbwu;intermediary field_12043Lnet/minecraft/class_2623;field_12043:Lnet/minecraft/class_2248;named blockLnet/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)Vintermediary <init>Lnet/minecraft/class_2623;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;II)Vnamed <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:
readin interfacePacket<ClientPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLpa;a(Lnw;)Vintermediary method_11053Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)Vnamed readLnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
writein interfacePacket<ClientPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official bLpa;b(Lnw;)Vintermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
applyin interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLpp;a(Lpd;)Vintermediary method_11297Lnet/minecraft/class_2623;method_11297(Lnet/minecraft/class_2602;)Vnamed applyLnet/minecraft/network/packet/s2c/play/BlockEventS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getPos
- Mappings:
Namespace Name Mixin selector official bLpp;b()Lfx;intermediary method_11298Lnet/minecraft/class_2623;method_11298()Lnet/minecraft/class_2338;named getPosLnet/minecraft/network/packet/s2c/play/BlockEventS2CPacket;getPos()Lnet/minecraft/util/math/BlockPos;
-
getType
- Mappings:
Namespace Name Mixin selector official cLpp;c()Iintermediary method_11294Lnet/minecraft/class_2623;method_11294()Inamed getTypeLnet/minecraft/network/packet/s2c/play/BlockEventS2CPacket;getType()I
-
getData
- Mappings:
Namespace Name Mixin selector official dLpp;d()Iintermediary method_11296Lnet/minecraft/class_2623;method_11296()Inamed getDataLnet/minecraft/network/packet/s2c/play/BlockEventS2CPacket;getData()I
-
getBlock
- Mappings:
Namespace Name Mixin selector official eLpp;e()Lbwu;intermediary method_11295Lnet/minecraft/class_2623;method_11295()Lnet/minecraft/class_2248;named getBlockLnet/minecraft/network/packet/s2c/play/BlockEventS2CPacket;getBlock()Lnet/minecraft/block/Block;
-