Class BlockEntityUpdateS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.BlockEntityUpdateS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name named net/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket
intermediary net/minecraft/class_2622
official acp
-
Field Summary
Modifier and TypeFieldDescriptionprivate final BlockEntityType
<?> static final PacketCodec
<RegistryByteBuf, BlockEntityUpdateS2CPacket> private final NbtCompound
private final BlockPos
-
Constructor Summary
ModifierConstructorDescriptionprivate
BlockEntityUpdateS2CPacket
(BlockPos pos, BlockEntityType<?> blockEntityType, NbtCompound nbt) -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) static BlockEntityUpdateS2CPacket
create
(BlockEntity blockEntity) static BlockEntityUpdateS2CPacket
create
(BlockEntity blockEntity, BiFunction<BlockEntity, DynamicRegistryManager, NbtCompound> nbtGetter) getNbt()
getPos()
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/BlockEntityUpdateS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_47903
Lnet/minecraft/class_2622;field_47903:Lnet/minecraft/class_9139;
official a
Lacp;a:Lzn;
-
pos
- Mappings:
Namespace Name Mixin selector named pos
Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;pos:Lnet/minecraft/util/math/BlockPos;
intermediary field_12040
Lnet/minecraft/class_2622;field_12040:Lnet/minecraft/class_2338;
official b
Lacp;b:Liz;
-
blockEntityType
- Mappings:
Namespace Name Mixin selector named blockEntityType
Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;blockEntityType:Lnet/minecraft/block/entity/BlockEntityType;
intermediary field_12038
Lnet/minecraft/class_2622;field_12038:Lnet/minecraft/class_2591;
official c
Lacp;c:Ldpk;
-
nbt
- Mappings:
Namespace Name Mixin selector named nbt
Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;nbt:Lnet/minecraft/nbt/NbtCompound;
intermediary field_12039
Lnet/minecraft/class_2622;field_12039:Lnet/minecraft/class_2487;
official d
Lacp;d:Lus;
-
-
Constructor Details
-
BlockEntityUpdateS2CPacket
private BlockEntityUpdateS2CPacket(BlockPos pos, BlockEntityType<?> blockEntityType, NbtCompound nbt) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/entity/BlockEntityType;Lnet/minecraft/nbt/NbtCompound;)V
intermediary <init>
Lnet/minecraft/class_2622;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2591;Lnet/minecraft/class_2487;)V
official <init>
Lacp;<init>(Liz;Ldpk;Lus;)V
-
-
Method Details
-
create
public static BlockEntityUpdateS2CPacket create(BlockEntity blockEntity, BiFunction<BlockEntity, DynamicRegistryManager, NbtCompound> nbtGetter) - Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;create(Lnet/minecraft/block/entity/BlockEntity;Ljava/util/function/BiFunction;)Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;
intermediary method_39026
Lnet/minecraft/class_2622;method_39026(Lnet/minecraft/class_2586;Ljava/util/function/BiFunction;)Lnet/minecraft/class_2622;
official a
Lacp;a(Ldpi;Ljava/util/function/BiFunction;)Lacp;
-
create
- Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;create(Lnet/minecraft/block/entity/BlockEntity;)Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;
intermediary method_38585
Lnet/minecraft/class_2622;method_38585(Lnet/minecraft/class_2586;)Lnet/minecraft/class_2622;
official a
Lacp;a(Ldpi;)Lacp;
-
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/BlockEntityUpdateS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
intermediary method_11292
Lnet/minecraft/class_2622;method_11292(Lnet/minecraft/class_2602;)V
official a
Lacp;a(Laci;)V
-
getPos
- Mappings:
Namespace Name Mixin selector named getPos
Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;getPos()Lnet/minecraft/util/math/BlockPos;
intermediary method_11293
Lnet/minecraft/class_2622;method_11293()Lnet/minecraft/class_2338;
official b
Lacp;b()Liz;
-
getBlockEntityType
- Mappings:
Namespace Name Mixin selector named getBlockEntityType
Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;getBlockEntityType()Lnet/minecraft/block/entity/BlockEntityType;
intermediary method_11291
Lnet/minecraft/class_2622;method_11291()Lnet/minecraft/class_2591;
official e
Lacp;e()Ldpk;
-
getNbt
- Mappings:
Namespace Name Mixin selector named getNbt
Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;getNbt()Lnet/minecraft/nbt/NbtCompound;
intermediary method_11290
Lnet/minecraft/class_2622;method_11290()Lnet/minecraft/class_2487;
official f
Lacp;f()Lus;
-