net.minecraft.network.packet.s2c.play

public class BlockEntityUpdateS2CPacket

implements Packet<ClientPlayPacketListener>

net.minecraft.network.protocol.game.ClientboundBlockEntityDataPacket
net.minecraft.class_2622
net.minecraft.network.packet.s2c.play.BlockEntityUpdateS2CPacket

Field summary

Modifier and TypeField
public static final PacketCodec<RegistryByteBuf, BlockEntityUpdateS2CPacket>
STREAM_CODEC
field_47903
CODEC
private final BlockPos
pos
field_12040
pos
private final BlockEntityType<?>
type
field_12038
blockEntityType
private final NbtCompound
tag
field_12039
nbt

Constructor summary

ModifierConstructor
private (BlockPos pos, BlockEntityType<?> blockEntityType, NbtCompound nbt)

Method summary

Modifier and TypeMethod
public static BlockEntityUpdateS2CPacket
create(BlockEntity blockEntity, BiFunction<BlockEntity, RegistryAccess, CompoundTag> updateTagSaver)
method_39026(class_2586 arg0, BiFunction<class_2586, class_5455, class_2487> arg1)
create(BlockEntity blockEntity, BiFunction<BlockEntity, DynamicRegistryManager, NbtCompound> nbtGetter)
public static BlockEntityUpdateS2CPacket
create(BlockEntity blockEntity)
method_38585(class_2586 arg0)
create(BlockEntity blockEntity)
public PacketType<BlockEntityUpdateS2CPacket>
type()
method_65080()
getPacketType()
public void
handle(ClientGamePacketListener listener)
method_11292(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public BlockPos
getPos()
method_11293()
getPos()
public BlockEntityType<?>
getType()
method_11291()
getBlockEntityType()
public NbtCompound
getTag()
method_11290()
getNbt()
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)