QcSoilDefinition Struct
Soil that crops grow on (farmland): random ticks keep it wet while water lies within reach blocks horizontally (same level or one above) and let it dry otherwise; dry soil without a crop on it, or soil under a full block, turns into revertsTo. More...
| Header: | #include <common/content/recipes/QcFarmingDefinitions.h> |
Public Functions
| bool | isSoil() const |
Public Variables
Detailed Description
Its moisture is the state property property: the last value is wet, the first one dry. Server side only.
Member Function Documentation
bool QcSoilDefinition::isSoil() const
Returns whether the block is soil (property is set).
Member Variable Documentation
QString QcSoilDefinition::property
State property holding the moisture ("property", default "moist"); empty for blocks that are no soil.
int QcSoilDefinition::reach
Horizontal distance in blocks at which water keeps it wet ("reach", 0 to 8).
QString QcSoilDefinition::revertsTo
Block it turns into ("revertsTo", required, another block).
QString QcSoilDefinition::water
Block that keeps it wet ("water", default "qtcraft:water").