QtCraft API C++ classes QML types Handbook

QcMsg::OpenAnvil Struct

struct QcMsg::OpenAnvil

Server -> client: the player opened the anvil at pos (decision E-866); AnvilState follows. More...

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

Public Variables

QcBlockPos pos

Detailed Description

Its left and right slots are machineInputSlot and machineFuelSlot of MoveInventoryItem and QuickMoveItem while no machine or chest is open.

Member Variable Documentation

QcBlockPos OpenAnvil::pos

The anvil's block.