Ic2c Crop Overrides
The Ic2c Crop Overrides modification provides a system for overriding Industrial Craft 2 Classic crops using the same mechanism as for custom plants. All settings for overridden crops are stored in the overrideCrops.json file. Currently, crops from ic2c extras addons and the main ic2 classic version are supported.
Configuration Example with Comments
{
"crops": [
{
"name": "Ferru", // Localized crop name for item or any display option
"owner": "ic2", // Object owner identifier, similar to ResourceLocation
"id": "ferru", // Unique crop identifier associated with the owner
"discovered": "Alblaka", // Crop creator. Can be omitted to use original value
"dropchance": 0.3675459325313568, // Base drop chance modifier. Can be omitted
"optimalstage": 4, // Optimal harvest stage for automatic harvesting machines
"totalstages": 4, // Total number of crop growth stages
"attributes": [ // Attributes for plant breeding. Recommended no more than 5 attributes
"Gray",
"Leaves",
"Metal"
],
"props": { // Crop properties, mainly for breeding
"tier": 6,
"chemistry": 2,
"consumable": 0,
"defensive": 0,
"colorful": 1,
"weed": 0
},
"display": { // Display item for seed bags [Optional]
"name": "thermalfoundation:material",
"meta": 0
},
"defaultStage": { // Default stage with base values [Optional]
"points": 800, // Growth points required. Default: 0
"redstoneStrength": 0, // Redstone signal level. Default: 0
"resetStage": 2, // Reset stage after harvest. Default: 1
"lightLevel": "0" // Emitted light level. Default: 0
},
"stages": [ // Crop development stages
{
"index": 1, // Stage sequence number (from 1 to totalstages)
"parentIndex": -1, // Parent stage for value inheritance
"textures": [ // Crop textures. Each texture is added as a separate layer
"ic2c_crop_overrides:crop_metal_stage_1"
]
},
{
"index": 2,
"textures": [
"ic2c_crop_overrides:crop_metal_stage_2"
]
},
{
"index": 3,
"textures": [
"ic2c_crop_overrides:crop_metal_stage_3"
],
"points": 2000, // Any variable from defaultStage can be overridden
"requirements": { // Requirements for crop growth [Optional]
"block": [ // Blocks below the crop (up to 3 blocks down)
{
"ore": true, // Whether it's an ore dictionary entry
"name": "blockCrystalEmpoweredEnori" // Block name or dictionary entry
}
]
}
},
{
"index": 4,
"textures": [
"ic2c_crop_overrides:crop_ferru"
],
"drop": { // Items dropped at this stage [Optional]
"name": "thermalfoundation:material",
"count": 1,
"meta": 0
}
}
]
}
]
}
The system allows fine-tuning of all aspects of crop development: from appearance and characteristics to environmental requirements and dropped resources.