#How to reference en entire item category (#flowers) for a recipe

1 messages · Page 1 of 1 (latest)

south rain
#

title

alpine ploverBOT
#

<@&1201956957406109788>

Someone will come and help soon!

💬 While you wait, take this time to provide more context and details.

🙇 If nobody has answered you by <t:1742108145:t>, feel free to use the Summon Helpers button to ping our helper team.

✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve

hidden slate
#

what version are you in

south rain
#

1.21.4

hidden slate
#

then you just use the tag in place of an item id

south rain
#

haw ._.

#

i see where the output says id but the input items is just a list

#

or a string

hidden slate
#

the string in question is an item id or an item tag

#

and for list it would be a list of item ids (tags aren't allowed in that case)

south rain
#

so if i wanted to make any flower craftable into seeds what would i change here

#

{
"type": "minecraft:crafting_shapeless",
"ingredients": [
[
"minecraft:poppy"
]
],
"result": {
"id": "minecraft:wheat_seeds",
"count": 1
}
}

hidden slate
#

the item id minecraft:poppy under the ingredients field

#

actually, if you want it to be a tag instead you'd have to change it from:

    [
      "minecraft:poppy"
    ]
  ]```
to:
```  "ingredients": [
      "#minecraft:flowers"
  ]```
since as i mentioned you aren't allowed to use item tags in an ingredient list, which is what you have there
south rain
#

can i ask something else?

hidden slate
#

don't ask to ask, just ask.

south rain
#

how would i reference a water bottle

#

i assume its under minecraft:potion

hidden slate
#

it is under that id yes, which unfortunately means you can't actually use a water bottle specifically as an ingredient without also allowing every other type of potion to be used

south rain
#

thanks

#

can i add a custom potion directly as the result or would i have to use a knowledge book