Help with Tagging and recipes 1.20.1

Started by Xzanderaven on

Topic category: Help with modding (Java Edition)

Last seen on 20:35, 26. Oct 2023
Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with Tagging and recipes 1.20.1

I'm trying to add a tag that collects vanilla food items to use in a recipe for canned cat food in my mod. I think I'm setting up the tags correctly (name, mod space, items, food items), but the recipe isn't showing up in the book. The can item itself still shows up in creative inventory, I just can't craft it.

The recipe json:

{
"type": "minecraft:crafting_shapeless",
"group": "pets",
"category": "misc",
"ingredients": [
{
"item": "minecraft:iron_nugget"
},
{
"tag": "canfood_veg"
},
{
"tag": "canfood_meat"
},
{
"tag": "canfood_meat"
}
],
"result": {
"item": "my_pets:canfood",
"count": 1
}
}