benhengeveld / nbt-recipes

A Fabric mod that adds the ability to set Nbt data in a json recipe
https://modrinth.com/mod/nbt-recipes
Creative Commons Zero v1.0 Universal
2 stars 0 forks source link

Items with custom nbt values don't show up in recipes correctly #1

Open Boba194230 opened 11 months ago

Boba194230 commented 11 months ago

So I've got a recipe to make custom diamonds that works great, but then I have a recipe that needs to use those diamonds and it only displays a normal diamond in the recipe and will accept one which is not what it should do. I'll attach the two recipes. Also same kind of thing happens with potions and it say's that its an uncraftable potion even though its set correctly. Same sort of thing also happens with enchanted books and it does not include the enchantment specified. Hope that these files help a bit as they were working with a different nbt crafting mod but that one is kinda dead. Thanks for taking up this mod, glad to see nbt recipes continue. _rainbow.json this is the diamond _rainbow.json this is the sword using it _poison.json sword using potions in recipe _efficient.json pickaxe with enchanted books

benhengeveld commented 11 months ago

Currently NBT recipes only adds NBT data to the result of the recipe. I will take a look at adding NBT requirements to the pattern.

Boba194230 commented 11 months ago

Awesome thanks

Gh3ttoKinG commented 5 months ago

I'm looking for the same thing for a good year now. There used to be a mod that allows input NBT, but the last working version is for 1.19.2 and it is unmaintained now. There is a fork which seems to have a version for 1.20, but needs to be compiled and for some reason the compiling fails.

Maybe having a look at this mod helps: https://github.com/Siphalor/nbt-crafting The fork: https://github.com/Treetrain1/nbt-crafting/tree/jitpack-1.20