IC2 Classic

IC2 Classic

2M Downloads

[1.19.2] Can't add custom crops

QuantumStatement opened this issue ยท 1 comments

commented

Forge 43.4.2
IC2 Classic 1.19.2-2.1.0.1

I'm trying to add custom crop using manual from wiki, but for some reason my crop won't added. I'm tried my own crop and crop from example.

My crop code
{
    "crops":
    [
        {
            "name": "Apple Oak Sapling",
            "owner": "ic2c",
            "id": "appleOakCrop",
            "discovered": "QuantumStatement",
            "dropchance": 0.9,
            "optimalstage": 5,
            "totalstages": 5,
            "attributes": ["Fruit", "Food", "Red", "Sapling"],
            "props":
            {
                "tier": 3,
                "chemistry": 1,
                "consumable": 4,
                "defensive": 4,
                "colorful": 4,
                "weed": 0
            },
            "display":
            {
                "name": "minecraft:apple"
            },
            "defaultStage":
            {
                "points": 600,
                "redstoneStrength": 0,
                "lightLevel": 0,
                "resetStage": 4,
                "requirements":
                {
                    "light": [9, 15]
                }
            },
            "stages":
            [
                {
                    "index": 1,
                    "parentIndex": -1,
                    "textures": ["ic2:block/crops/sapling/growing_0"]
                },
                {
                    "index": 2,
                    "textures": ["ic2:block/crops/sapling/growing_1"]
                },
                {
                    "index": 3,
                    "textures": ["ic2:block/crops/sapling/growing_2"]
                },
                {
                    "index": 4,
                    "textures": ["ic2:block/crops/sapling/growing_oak_3"]
                },
                {
                    "index": 5,
                    "textures": ["ic2:block/crops/sapling/growing_oak_4"],
                    "drop":
                    {
                        "name": "minecraft:apple",
                        "count": 1
                    }
                }
            ]
        }
    ],
    "seeds":
    [
        {
            "owner": "ic2c",
            "id": "appleOakCrop",
            "seed":
            {
                "name": "minecraft:apple",
                "count": 1
            },
            "growthStep": 1,
            "statGrowth": 1,
            "statGain": 1,
            "statResistance": 1
        }
    ]
}
commented

@QuantumStatement Json Crops don't exist in 1.19.2
And the wiki on github is only for 1.12.2