https://linen.dev logo
Trouble with advanced generator
# cobblegen
b
I am kind of new to coding and I struggle to make a custom generator for tuff. This here is my current attempt
Copy code
{
    // CobbleGen Format Version, you can leave this alone for now. v2.0 is scheduled to be released in CobbleGen v6.0
    "formatVersion": "1.0",
        "customGen": {
        "advanced": {
            "minecraft:lava":  {
                "create_dd:chromatic_waste": {
                    "resultsFromTop": {
                        "*": [
                            {
                            "id": "minecraft:tuff",
                            "weight": 100.0
                            }
                        ]
                    },
                    "results": {
                        "*": [
                            {
                                "id": "minecraft:tuff",
                                "weight": 100,0
                            }
                        ]
                    }
                }
            }
    }}
}
a
Don't put advanced inside customGen:
Copy code
json
{
    // CobbleGen Format Version, you can leave this alone for now. v2.0 is scheduled to be released in CobbleGen v6.0
    "formatVersion": "1.0",
    "advanced": {
        "minecraft:lava":  {
            "create_dd:chromatic_waste": {
                "resultsFromTop": {
                    "*": [
                        {
                        "id": "minecraft:tuff",
                        "weight": 100.0
                        }
                    ]
                },
                "results": {
                    "*": [
                        {
                            "id": "minecraft:tuff",
                            "weight": 100,0
                        }
                    ]
                }
            }
        }
    }
}
b
Oh okay! I could have sworn I tried it without customGen too but that didnt work... weird. Well, thanks anyway