QtCraft API C++ classes QML types Handbook

QcMobNavigator::Navigation Struct

struct QcMobNavigator::Navigation

What to do this tick: the steering, and a closed door on the path or in the doorway the creature stands in (only for creatures that open doors, QcPathRules::opensDoors: villagers open it, QcVillagerBehaviour). More...

Header: #include <server/pathing/QcMobNavigator.h>

Public Variables

std::optional<QcBlockPos> door
QcPhysics::Steering steering

Detailed Description

Member Variable Documentation

std::optional<QcBlockPos> Navigation::door

The door to open, if any.

QcPhysics::Steering Navigation::steering

The steering along the path.