#(drjoenh) recipe_ids type

1 messages · Page 1 of 1 (latest)

willow rapids
#

Hello, im currently working on replacing /recipe command from another plugin and Ive got to the point where im building GUI for different recipes and whanot. And I got totally lost in those recipes type. In <ItemTag.recipe_ids[(type)]> we can define type which is one of these: CRAFTING, FURNACE, COOKING, BLASTING, SHAPED, SHAPELESS, SMOKING, STONECUTTING, BREWING
My question is: Whats the difference between "FURNACE" and "COOKING", "BLASTING"... type..?

kindred gullBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>

willow rapids
#

!t itemtag.recipe_ids

dusty quarryBOT
# willow rapids !t itemtag.recipe_ids

If the item is a scripted item, returns a list of all recipe IDs created by the item script.
Others, returns a list of all recipe IDs that the server lists as capable of crafting the item.
Returns a list in the Namespace:Key format, for example "minecraft:gold_nugget".
Optionally, specify a recipe type (CRAFTING, FURNACE, COOKING, BLASTING, SHAPED, SHAPELESS, SMOKING, STONECUTTING, BREWING)
to limit to just recipes of that type.
Brewing recipes are only supported on Paper, and only custom ones are available.

Returns

ListTag

willow rapids
#

from what I guessed its just mix of COOKING, BLASTING, SMOKING...

#

but I dont want to code it based on my guesses

thin flume
#

there is a difference because certain items take shorter amounts of times based on where its cooked (and thereby thecnically a different recipe)

#

ie food takes faster in a smoker and ores take faster in a blast furnace

willow rapids
#

ooh yes totally forgot about that

#

but then whats the difference between "FURNACE" and "COOKING"?

thin flume
#

it seems like cooking is the catchall for all furnace-like crafting

#

so, if you do .recipe_ids[cooking] it will return all furnace, blasting, smoking, and campfire recipes (which i just noticed that list is missing campfire)

willow rapids
#

thanks zozer