

Description
Inspired by the Minecraft mod AgriCraft. Crops carry a genome that mutates, recombines and is selectable.
Companion content pack
C&N crops itself ships only the framework - genome, cross-breeding, weeds, mutation rules engine. New plants live in separate content packs that depend on it.
The companion mod C&N crops additionals adds:
- Mushrooms — shade-tolerant, grow in darkness, showcase the
lightSensitivity: 0path. - Aurelia, Ferru, Resin cassava, Sulfur wheat — new crops with their own mutation chains and condition-gated cross-breeds.
Install cancropsadditionals alongside cancrops to get this content. Other authors can ship their own content packs the same way - plants_jsons and mutations_jsons are picked up from any mod's assets.
Genome stats
Each seed carries five inheritable stats (0–10). Each stat has a dominant and a recessive allele; the value expressed by the plant is derived from the pair via a configurable rule (statTraitLogic: MIN / MEAN / MAX, default MAX — the higher allele wins).
Cross-breeding & mutations
Place selection sticks between two adjacent crops. Over time the sticks pick the most fertile neighbours, combine their genomes and either spawn a clone or attempt a registered mutation.
Each mutation rule lives in JSON (assets/<mod>/recipes/mutations_jsons/*.json) and may attach conditions that gate when the cross is allowed. A condition returns one of three results:
FORBID— mutation cannot happen here, overrides anyFORCE.PASS— soft requirement; the mutation'schanceroll proceeds.FORCE— perfect spot; the chance roll is skipped, the mutation triggers.
Built-in condition types: light, climate (temperature + rainfall), neighbour_block (require N copies of a block in a relative box), and biome (match against landform codes). Mods can register their own condition types.
Shade-tolerant crops
Plant JSONs accept a lightSensitivity field (0..1, default 1). Crops with 0 grow in full darkness without penalty — useful for indoor farms and underground gardens. The mushrooms from the C&N crops additionals companion mod use this for cellar/cave farming.
Weeds
Crops can develop weeds that progress through stages and spread to neighbouring farmland. Higher Resistance reduces both the chance of weeds appearing and the chance of spread. Use the Hand Cultivator to clear weeds, or the Anti-weed item for a temporary protection window. The whole system is configurable (weedSpreadingActivated, weedAppearanceChance, weedSpreadChancePerStage, weedPropagationDepth, ...).
Selection workflow
Same as AgriCraft and as shown in the screenshot. Place selection sticks between mature parents; over a few in-game days you'll see new crops on the farmland - either a clone or a mutation. The sticks are consumed once the crop spawns.
Configuration highlights
statTraitLogic—MIN/MEAN/MAXfor how allele pairs express their value.activeStatMutator— strategy used for stat drift across generations:default,none,hill_climb(biased upward viastatMutationUpBias),gaussian(normal noise withstatMutationSigma), orreset_on_low(re-roll zeroed stats withstatResetOnZeroChance).statMutationChance,statMutationStep— how often and how strongly stats drift across generations.crossBreedTickChance— per-tick probability that valid sticks attempt a cross-breed.cloneMutations— whether sticks may also produce a pure clone of a parent.seedMergeStrategy—tolowerormeanfor how parent stat pairs are combined into the child genome.coldResistanceByStat,heatResistanceByStat,strengthFreshHoursPercentBonus— gameplay scaling factors.
Commands
Ratings & reviews
Sign in to leave a rating or comment.



