promotional bannermobile promotional banner

IC2C Json Crops

IC2 Classic addon adding json system for adding crops

IC2C Json Crops is an addon for ic2 classic on 1.19 making it possible to add custom crops, soils, farmlands, and seeds using json files. each json files is placed in config/ic2c/<subdir>, where subdir is crops for crops, seeds for seeds, farmalnds for farmlands, and subsoils for subsoils
Here's the example crop json that gets generated:

{
"id": "examplemod:example",
"name": "ic2.crop.example", //Translation key for crop
"discoveredBy": "Example",
"displayItem": "minecraft:diamond", // can be either a string or an object
"properties": { //all these fields are required
"tier": 1,
"chemistry": 2,
"consumable": 3,
"defensive": 3,
"colorful": 4,
"weed": 5
},
"attributes": [
"Yellow",
"Light"
],
"textures": [ //must be as many textures as there are growth stages, as defined in growthSteps
"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
"cropType" : "AIR", //valid options are AIR, WATER, BOTH
"optimalHarvestStep": 3, //if omitted defaults to growthSteps
"stages": [ //if omitted or left empty, uses the defaults defined below. Also the last one in this list is used for it's stage and all stages after. stage number is determined by position in list
{ //all fields in this object are optional
"growth": 600, //if omitted, defaults to tier in properties object * 200
"minLightLevel": 1, //defaults to 0
"maxLightLevel": 14, //defaults to 15
"minHumidity": 0, //defaults to -1, which means it gets ignored
"maxHumidity": 9, //defaults to -1, which means it gets ignored
"blocksBelow": [ //list of valid blocks/block tags
"minecraft:dirt"
]
}
],
"droppingSeeds": true, //whether this crop can drop seeds if seed mode is enabled
"seedDrops": [
{
"item": "minecraft:dirt",
"count": 1
}
]
}

 

Note: This mod was writen in kotlin, so it requires Kotlin for forge

The IC2C Json Crops Team

profile avatar
  • 23
    Followers
  • 27
    Projects
  • 8.6M
    Downloads

More from trinsdarView all

  • Advanced Solars Classic project image

    Advanced Solars Classic

    • 957.4K
    • Mods

    A version of Chocohead's Advanced Solar Panels Ported to and tweaked for Ic2 Classic.

    • 957.4K
    • May 8, 2026
    • Mods
    • +1
  • IC2C Extras project image

    IC2C Extras

    • 730.6K
    • Mods

    Addon for Ic2 Classic adding some stuff, including stuff inspired or based off Ic2 experimental

    • 730.6K
    • May 1, 2026
    • Mods
    • +2
  • GT-Lib project image

    GT-Lib

    • 312
    • Mods

    Library for easily creating GregTech-like or GregTech inspired tech mods

    • 312
    • April 6, 2026
    • Mods
  • GT5 Reimagined project image

    GT5 Reimagined

    • 230
    • Mods

    A Reimagining of GregTech 5u for Minecraft 1.18+

    • 230
    • March 29, 2026
    • Mods
    • +4
  • Advanced Solars Classic project image

    Advanced Solars Classic

    • 957.4K
    • Mods

    A version of Chocohead's Advanced Solar Panels Ported to and tweaked for Ic2 Classic.

    • 957.4K
    • May 8, 2026
    • Mods
    • +1
  • IC2C Extras project image

    IC2C Extras

    • 730.6K
    • Mods

    Addon for Ic2 Classic adding some stuff, including stuff inspired or based off Ic2 experimental

    • 730.6K
    • May 1, 2026
    • Mods
    • +2
  • GT-Lib project image

    GT-Lib

    • 312
    • Mods

    Library for easily creating GregTech-like or GregTech inspired tech mods

    • 312
    • April 6, 2026
    • Mods
  • GT5 Reimagined project image

    GT5 Reimagined

    • 230
    • Mods

    A Reimagining of GregTech 5u for Minecraft 1.18+

    • 230
    • March 29, 2026
    • Mods
    • +4