Mrbysco / Spoiled

Spoiling the end of your food supply since 2020
https://www.curseforge.com/minecraft/mc-mods/spoiled
MIT License
7 stars 5 forks source link

[Question]: How can I add a food spoilage recipe with an nbt tag? #39

Open Jaimarl opened 1 year ago

Jaimarl commented 1 year ago

General Info

Suggestion Description

I'm trying to add a recipe for spoiling salted food from The Salt mod and can't figure out how to do it. I've tried doing it this way, but it doesn't work: spoilManager.addSpoiling("1_day_meat_salt", <item:minecraft:cooked_mutton>.withTag({Salted: 1}), <item:minecraft:rotten_flesh>, 8);

It looks like the mod basically can't add recipes for any items with nbt tags, although if the mod adds its tag first, you can add tags after that and everything will work.

katubug commented 1 month ago

I want something similar, except in my case I want to PREVENT (or slow) spoilage for salted foods. Is this something that could be added?