How Crops was built

Raw game files read

Processing

Each worldgen/blockpatches/*.json file is a flat list of placement rules -- a climate band (temperature/rain/forest-density/fertility range) plus the literal, already-concrete block codes it can place. Unlike deposits, no variant expansion or template substitution is needed here; blockCodes already lists exactly what gets placed. The filename itself (e.g. flowers.json, mushrooms.json) becomes this wiki's category label for the patch.

Pipeline code