QtCraft API C++ classes QML types Handbook

QcMobHover::Room Struct

struct QcMobHover::Room

The floor (top of the first block with a collision box or a liquid below the middle of the body) and the ceiling (bottom of the first block with a collision box above the head) around a body whose feet are at feet; no floor within reach lies reach below the feet. More...

Header: #include <server/mobbrains/QcMobHover.h>

Public Variables

std::optional<double> ceiling
double floor

Detailed Description

Member Variable Documentation

std::optional<double> Room::ceiling

The height of the ceiling, if any.

double Room::floor

The height of the floor.