Class BlockEntityUpdateS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.BlockEntityUpdateS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official uz
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) 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
isWritingErrorSkippable
-
Field Details
-
pos
- Mappings:
Namespace Name Mixin selector official a
Luz;a:Lgu;
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
Luz;b:Lczp;
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
Luz;c:Lqr;
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>
Luz;<init>(Lgu;Lczp;Lqr;)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>
Luz;<init>(Lsf;)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
Luz;a(Lczn;Ljava/util/function/Function;)Luz;
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
Luz;a(Lczn;)Luz;
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
Luo;a(Lsf;)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
Luz;a(Lur;)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
Luz;a()Lgu;
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 c
Luz;c()Lczp;
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 d
Luz;d()Lqr;
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;
-