QcVillagerBehaviour::Action Struct
struct QcVillagerBehaviour::ActionSomething a villager does to the world, carried out by the server (QcServerVillagers). More...
Public Types
| enum class | Kind { OpenDoor, CloseDoor, Harvest } |
Public Variables
Detailed Description
Member Type Documentation
enum class Action::Kind
What it does.
| Constant | Value | Description |
|---|---|---|
QcVillagerBehaviour::Action::Kind::OpenDoor | 0 | Opens the door at pos. |
QcVillagerBehaviour::Action::Kind::CloseDoor | 1 | Closes the door at pos. |
QcVillagerBehaviour::Action::Kind::Harvest | 2 | Harvests the crop at pos. |
Member Variable Documentation
QcVillagerBehaviour::Action::Kind Action::kind
What it does.
QcBlockPos Action::pos
The block it acts on.
quint32 Action::villager
Entity id of the villager.