Skip to content

Blocks

Blocks do a lot in Minecraft, given that it's a voxel-based world. In most cases, when a block is placed or mined, the server needs to reply with a block update packet.

If this packet isn't sent, the client just assumes the packet was dropped or the client wasn't allowed to place the block, replacing it with air after a second or two.

Breaking

PacketContents
C->S MineTelling the server to destroy a block
S->C Block UpdateTells the client a block was updated

Placing

PacketContents
C->S PlaceTelling the server to place a block
S->C Block UpdateTells the client a block was updated