View on GitHub

Soupply

Automatically generated libraries for encoding and decoding Minecraft protocols

home / bedrock274 / play / block-entity-data

Block entity data

Encode/decode this packet in Sandbox

Id: 56

Id (hex): 38

Id (bin): 00111000

Clientbound: ✔️

Serverbound: ✔️

Sets a block entity’s nbt tag, block’s additional data that cannot be indicated in the block’s meta. More informations about block entities and their tag format can be found on Minecraft Wiki. The client sends this packet when it writes a sign.

Fields

Name Type
position blockPosition
nbt bytes

position

Position of the block that will be associated with tag.

nbt

Named binary tag of the block. The format varies from the classic format of Minecraft: Pocket Edition (which is like Minecraft’s but little endian) introducing the use of varints for some types: