Download IC2C Json Crops — Minecraft Mods — MetaMods

IC2C Json Crops

Active

Downloads

0

Last update

1 year ago
Client

IC2C Json Crops

Extension for IC2 Classic

This addon for IC2 Classic mod in Minecraft 1.19 version unlocks endless possibilities for creating custom agricultural crops through JSON configuration system. You get full control over adding new plants, soils, seeding materials and farmlands via simple text file editing.

File Structure

All JSON files are placed in config/ic2c/ directory, where each element type has its own subdirectory:

  • crops – for plant descriptions
  • seeds – for seeds
  • farmlands – for agricultural lands
  • subsoils – for soil substrates

Example Plant Configuration

On first launch, an example JSON file with detailed comments is automatically generated:

{
"id": "examplemod:example",
"name": "ic2.crop.example", //Translation key for crop
"discoveredBy": "Example",
"displayItem": "minecraft:diamond", //Can be either string or object
"properties": { //All these fields are required
"tier": 1,
"chemistry": 2,
"consumable": 3,
"defensive": 3,
"colorful": 4,
"weed": 5
},
"attributes": [
"Yellow",
"Light"
],
"textures": [ //Texture count must match growth stages count
"ic2:block/crops/reed/growing_0",
"ic2:block/crops/reed/growing_1",
"ic2:block/crops/reed/growing_reed_2"
],
"growthSteps": 3,
"drops": [
{
"item": "minecraft:diamond",
"count": 1
}
],
//Optional parameters
"cropType": "AIR", //Valid options: AIR, WATER, BOTH
"optimalHarvestStep": 3, //If omitted, uses growthSteps value
"stages": [ //If parameter is omitted or empty, uses default values
{
"growth": 600, //If omitted, calculated as tier * 200
"minLightLevel": 1, //Minimum light level
"maxLightLevel": 14, //Maximum light level
"minHumidity": 0, //Minimum humidity
"maxHumidity": 9, //Maximum humidity
"blocksBelow": [ //List of allowed blocks below plant
"minecraft:dirt"
]
}
],
"droppingSeeds": true, //Can plant drop in seed mode
"seedDrops": [
{
"item": "minecraft:dirt",
"count": 1
}
]
}

Important note: The mod is written in Kotlin language, therefore additional installation of Kotlin for Forge mod is required for proper functionality.

Project members
trinsdar

trinsdar

Created: 4 Oct 2024

ID: 91370