Class BlockEntityUpdateS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.BlockEntityUpdateS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official xd
intermediary net/minecraft/class_2622
named net/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket
-
Field Summary
Modifier and TypeFieldDescriptionprivate final BlockEntityType<?>
private final @Nullable 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, Function<BlockEntity, NbtCompound> nbtGetter) @Nullable NbtCompound
getNbt()
getPos()
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.Packet
getNewNetworkState, isWritingErrorSkippable
-
Field Details
-
pos
- Mappings:
Namespace Name Mixin selector official a
Lxd;a:Lgw;
intermediary field_12040
Lnet/minecraft/class_2622;field_12040:Lnet/minecraft/class_2338;
named pos
Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;pos:Lnet/minecraft/util/math/BlockPos;
-
blockEntityType
- Mappings:
Namespace Name Mixin selector official b
Lxd;b:Ldcx;
intermediary field_12038
Lnet/minecraft/class_2622;field_12038:Lnet/minecraft/class_2591;
named blockEntityType
Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;blockEntityType:Lnet/minecraft/block/entity/BlockEntityType;
-
nbt
- Mappings:
Namespace Name Mixin selector official c
Lxd;c:Lqw;
intermediary field_12039
Lnet/minecraft/class_2622;field_12039:Lnet/minecraft/class_2487;
named nbt
Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;nbt:Lnet/minecraft/nbt/NbtCompound;
-
-
Constructor Details
-
BlockEntityUpdateS2CPacket
private BlockEntityUpdateS2CPacket(BlockPos pos, BlockEntityType<?> blockEntityType, NbtCompound nbt) - Mappings:
Namespace Name Mixin selector official <init>
Lxd;<init>(Lgw;Ldcx;Lqw;)V
intermediary <init>
Lnet/minecraft/class_2622;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2591;Lnet/minecraft/class_2487;)V
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
-
BlockEntityUpdateS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lxd;<init>(Lso;)V
intermediary <init>
Lnet/minecraft/class_2622;<init>(Lnet/minecraft/class_2540;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
create
public static BlockEntityUpdateS2CPacket create(BlockEntity blockEntity, Function<BlockEntity, NbtCompound> nbtGetter) - Mappings:
Namespace Name Mixin selector official a
Lxd;a(Ldcv;Ljava/util/function/Function;)Lxd;
intermediary method_39026
Lnet/minecraft/class_2622;method_39026(Lnet/minecraft/class_2586;Ljava/util/function/Function;)Lnet/minecraft/class_2622;
named create
Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;create(Lnet/minecraft/block/entity/BlockEntity;Ljava/util/function/Function;)Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;
-
create
- Mappings:
Namespace Name Mixin selector official a
Lxd;a(Ldcv;)Lxd;
intermediary method_38585
Lnet/minecraft/class_2622;method_38585(Lnet/minecraft/class_2586;)Lnet/minecraft/class_2622;
named create
Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;create(Lnet/minecraft/block/entity/BlockEntity;)Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lvd;a(Lso;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/packet/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lxd;a(Lww;)V
intermediary method_11292
Lnet/minecraft/class_2622;method_11292(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getPos
- Mappings:
Namespace Name Mixin selector official a
Lxd;a()Lgw;
intermediary method_11293
Lnet/minecraft/class_2622;method_11293()Lnet/minecraft/class_2338;
named getPos
Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;getPos()Lnet/minecraft/util/math/BlockPos;
-
getBlockEntityType
- Mappings:
Namespace Name Mixin selector official d
Lxd;d()Ldcx;
intermediary method_11291
Lnet/minecraft/class_2622;method_11291()Lnet/minecraft/class_2591;
named getBlockEntityType
Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;getBlockEntityType()Lnet/minecraft/block/entity/BlockEntityType;
-
getNbt
- Mappings:
Namespace Name Mixin selector official e
Lxd;e()Lqw;
intermediary method_11290
Lnet/minecraft/class_2622;method_11290()Lnet/minecraft/class_2487;
named getNbt
Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;getNbt()Lnet/minecraft/nbt/NbtCompound;
-