Class BlockUpdateS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.BlockUpdateS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class BlockUpdateS2CPacket extends Object implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official pr
intermediary net/minecraft/class_2626
named net/minecraft/network/packet/s2c/play/BlockUpdateS2CPacket
-
Field Summary
Fields Modifier and Type Field Description private BlockPos
pos
private BlockState
state
-
Constructor Summary
Constructors Constructor Description BlockUpdateS2CPacket(PacketByteBuf buf)
BlockUpdateS2CPacket(BlockPos pos, BlockState state)
BlockUpdateS2CPacket(BlockView world, BlockPos pos)
-
Method Summary
Modifier and Type Method Description void
apply(ClientPlayPacketListener clientPlayPacketListener)
BlockPos
getPos()
BlockState
getState()
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
Lpr;a:Lfx;
intermediary field_12052
Lnet/minecraft/class_2626;field_12052:Lnet/minecraft/class_2338;
named pos
Lnet/minecraft/network/packet/s2c/play/BlockUpdateS2CPacket;pos:Lnet/minecraft/util/math/BlockPos;
-
state
- Mappings:
Namespace Name Mixin selector official b
Lpr;b:Lcio;
intermediary field_12051
Lnet/minecraft/class_2626;field_12051:Lnet/minecraft/class_2680;
named state
Lnet/minecraft/network/packet/s2c/play/BlockUpdateS2CPacket;state:Lnet/minecraft/block/BlockState;
-
-
Constructor Details
-
BlockUpdateS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lpr;<init>(Lfx;Lcio;)V
intermediary <init>
Lnet/minecraft/class_2626;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/BlockUpdateS2CPacket;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
BlockUpdateS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lpr;<init>(Lbtu;Lfx;)V
intermediary <init>
Lnet/minecraft/class_2626;<init>(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/BlockUpdateS2CPacket;<init>(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)V
-
BlockUpdateS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lpr;<init>(Lnx;)V
intermediary <init>
Lnet/minecraft/class_2626;<init>(Lnet/minecraft/class_2540;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/BlockUpdateS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lpb;a(Lnx;)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
Lpr;a(Lpe;)V
intermediary method_11310
Lnet/minecraft/class_2626;method_11310(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/BlockUpdateS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getState
- Mappings:
Namespace Name Mixin selector official b
Lpr;b()Lcio;
intermediary method_11308
Lnet/minecraft/class_2626;method_11308()Lnet/minecraft/class_2680;
named getState
Lnet/minecraft/network/packet/s2c/play/BlockUpdateS2CPacket;getState()Lnet/minecraft/block/BlockState;
-
getPos
- Mappings:
Namespace Name Mixin selector official c
Lpr;c()Lfx;
intermediary method_11309
Lnet/minecraft/class_2626;method_11309()Lnet/minecraft/class_2338;
named getPos
Lnet/minecraft/network/packet/s2c/play/BlockUpdateS2CPacket;getPos()Lnet/minecraft/util/math/BlockPos;
-