QtCraft API C++ classes QML types Handbook

QcMsg::PickBlock Struct

struct QcMsg::PickBlock

Client -> server: the middle mouse button on a block (decision E-285). More...

Header: #include <common/protocol/QcPlayerMessages.h>

Public Variables

QcBlockPos pos

Detailed Description

The server puts the item of the block into the hand: selects it in the hotbar, swaps it in from the storage rows, or in creative mode takes it from the catalogue.

Member Variable Documentation

QcBlockPos PickBlock::pos

The block clicked.