Extra Delight

Extra Delight

609k Downloads

Missing Tags in recipes (0.5a)

ColonelPanic-Dev opened this issue ยท 0 comments

commented

2023-06-08_21 54 40

I assume this tag is intended for when you get butchercraft updated as well, but I believe you can prevent adding recipes like this based on whether the tag exists. I haven't tried it with non-minecraft recipes so I'm not certain this will work, but I believe you can do something like this:

{
    "type": "forge:conditional",
    "recipes":[{
        "conditions":[
            {
                "type": "forge:not",
                "value": {
                    "type":"forge:tag_empty",
                    "tag" :"forge:stomach"
                }
            }
        ],
        "recipe": {
            "type": "farmersdelight:cooking",
            "cookingtime": 400,
            "experience": 1.0,
            "ingredients": [
                {
                    "item": "minecraft:milk_bucket"
                },
                {
                    "tag": "forge:stomach"
                }
            ],
            "result": {
                "count": 2,
                "item": "extradelight:cheese"
            }
        }
    }] 
}

I'm sure there is some way to do this with a data generator too