Siphalor / nbt-crafting

A 1.15+ fabric Minecraft mod to enable nbt related recipe stuff
https://modrinth.com/mod/nbt-crafting
Apache License 2.0
49 stars 26 forks source link

[bug] Unable to use item tags with data rules #95

Open RedC4ke opened 2 years ago

RedC4ke commented 2 years ago

Version Minecraft 1.18.1 NBTCrafting 2.1.2 Describe the bug I don't know if there's anything that can be done, but I wanted to use a tag alongside NBT "deny" rule in my shapeless recipe, but Minecraft throws a "Unknown item tag" error and the recipe doesn't work.

To Reproduce

  1. Create a shapeless crafting recipe with "tag" and "data" fields in one ingredient
  2. Bug appears

Expected behavior I'd want to filter my crafting input based on NBT data and use tags to reduce many recipes into one

Log

[00:22:12] [Render thread/ERROR] (Minecraft) Parsing error loading recipe cannacraft:decarboxylated_cannabis_flower
 com.google.gson.JsonSyntaxException: Unknown item tag 'minecraft:logs'
    at net.minecraft.recipe.Ingredient.advancedEntryFromJson(Ingredient.java:774) ~[minecraft-project-@-mapped.jar:?]
    at net.minecraft.recipe.Ingredient.handler$zgl000$fromJson(Ingredient.java:703) ~[minecraft-project-@-mapped.jar:?]
    at net.minecraft.recipe.Ingredient.fromJson(Ingredient.java) ~[minecraft-project-@-mapped.jar:?]
github-actions[bot] commented 1 year ago

This issue has been marked as stale because of inactivity. Comment on this issue or it will be closed in 14 days.