Skip to content

Place

Packet IDDirectionMojang NameMCP Name
0x0FServerboundUseItemPacketPacket15Place

Serverbound

Sent to the server when the player attempts to place or interact with a block, or use an item. If a block is changed, this must be followed up by a block update packet!

FieldTypeDescription
XIntegerThe X position of the block
YByteThe Y position of the block
ZIntegerThe Z position of the block
FaceByteThe face of the block that's being placed against
Block/Item IDShortThe block or item to be placed
(Amount)ByteThe amount of the item in the players hand
(Damage)ShortThe Metadata of the item

The face can be one of six values, representing the face the block is placed on.

Value012345
Face-Y+Y-Z+Z-X+X

Example Packet

Serverbound

FieldValue
X-6231
Y53
Z563
Face3 (+Z)
Block/Item ID3 (Dirt)
(Amount)64
(Damage)0