Modpack Authors
6 TOP-LEVEL ITEMSConfiguration and Commands
Croparia IF stores its configuration file at [game directory]/config/croparia.json. Many of these settings directly affect crop loading, generated output directories, and runtime data generation behavior, so this page is best read together with the Runtime Data Generation System.
The mod reads its configuration when the game starts and when you enter a world, then shuts down the related runtime resources when you leave that world.
Configuration Entries
The entries below come from the Config implementation in the current 1.1.0a source code.
| Name | Default Value | Description |
|---|---|---|
autoReload | 20 | Delay before scheduling one extra datapack reload after entering a world; values below 0 disable it |
override | true | Whether generated temporary data should be cleared automatically |
filePath | "croparia" | Root directory for mod data files, including temporary data, crop definitions, generator directories, and more |
recipeWizard | "croparia\recipe_wizard\dump" | Export directory used by the Recipe Wizard |
fruitUse | true | Whether fruit crops can be right-clicked on the ground to convert them into materials |
infusor | true | Whether elemental infusion is enabled |
ritual | true | Whether elemental rituals are enabled |
soakAttempts | 1 | Number of soak attempts performed when Elemental Soak is triggered; set to 0 to disable it |
cropYield | 2 | Material output count of built-in fruit crops |
melonYield | 2 | Material output count of built-in melon crops |
blacklist | [] | Crop blacklist; plain values mean crop IDs, while values starting with @ are treated as regex rules for mod namespaces |
Commands
Commands are split into the client command /croparia and the server command /cropariaServer.
/croparia: only providescrop,melon, andgeneratorcommands, and only affects local client data./cropariaServer: provides server-sidecrop,melon, andgeneratorcommands, plus commands for editing configuration entries.
Crop and Melon Commands
/croparia|cropariaServer crop|melon query [crop ID]: query crop information. If no crop ID is given, it shows the crop information for the item in hand or the block you are pointing at./croparia|cropariaServer crop|melon dump [crop ID]: export crop definitions intocrops/ormelons/under the mod data root./croparia|cropariaServer crop|melon create [...arguments]: create a new crop definition incrops/ormelons/under the mod data root.
Data Generator Commands
/croparia|cropariaServer generator query [pack handler ID] [generator name]: query the current state of a data generator./croparia|cropariaServer generator dumpBuiltin [pack handler ID] [generator name]: export built-in generators into thegenerator/folder of the corresponding cache directory. If no name is given, all built-in generators are exported./croparia|cropariaServer generator clearBuiltin [pack handler ID] [generator name]: delete exported generator files that share the same names as built-in generators. If no name is given, all matching files are removed.
If you plan to keep editing those files by hand after exporting them, continue with:
Server Configuration Commands
/cropariaServer <entry>: query the current value of one configuration entry./cropariaServer <entry> [value]: change the value of one configuration entry./cropariaServer reset: show a reset confirmation prompt./cropariaServer reset confirm: reset the configuration file to its default values.
The following entries currently have matching server commands:
filePathrecipeWizardinfusorritualfruitUseautoReloadoverridesoakAttempts
cropYield, melonYield, and blacklist currently have no matching server commands and can only be edited through the configuration file.
Recommendations
- If you are debugging missing generators, unloaded crops, or unexpected export directories, check
filePath,override, andautoReloadfirst. - If you want to modify built-in generators, it is usually best to export them with
generator dumpBuiltinfirst, then continue with the Runtime Data Generation System and Create a Data Generator. - In
blacklist, entries starting with@are treated as regex rules against mod namespaces, so a careless pattern may hide more content than you expected.