QtCraft API C++ classes QML types Handbook

QcChunkFurnishing::Cart Struct

struct QcChunkFurnishing::Cart

A minecart standing on the rail at at (mine shafts, decision E-570), placed from item; a container cart is filled from the loot table, if any. More...

Public Variables

QcBlockPos at
QString item
QString lootTable
quint64 seed

Detailed Description

Member Variable Documentation

QcBlockPos Cart::at

The position of the rail block.

QString Cart::item

Content name of the minecart item the cart is made from.

QString Cart::lootTable

Content name of the loot table for a container cart; empty or unknown for none.

quint64 Cart::seed

The seed of the loot draw and of how the loot is scattered over the slots.