    @Override
    public void encode() {
        this.writeByte(getPacketId());
        this.writeBlockCoords(x, y, z);
        this.writeUnsignedVarInt(blockId);
        this.writeUnsignedVarInt((0xb << 4) | blockData & 0xf);