#(xamotex1000) get a list of all recipes and how you craft them

14 messages · Page 1 of 1 (latest)

still parcel
#

I'm trying to make a recipe browser, but i don't want to update the data script for each new recipe, is there any way to get every denizen recipe without the default recipes?

dire berryBOT
#

(xamotex1000) get a list of all recipes and how you craft them

dire berryBOT
#

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.

placid stag
#

I think it would be

#

!t server.recipe_ids

lunar micaBOT
# placid stag !t server.recipe_ids

Returns a list of all recipe IDs on the server.
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, CAMPFIRE, STONECUTTING, SMITHING, BREWING)
to limit to just recipes of that type.
Brewing recipes are only supported on Paper, and only custom ones are available.
Note: this will produce an error if all recipes of any one type have been removed from the server, due to an error in Spigot.

Returns

ListTag

still parcel
#

again, i want to exclude vanilla recipes

placid stag
#

Ah

still parcel
#

only denizen recipes

#

ok figured that out with <server.recipe_ids.filter[contains[denizen:]]>

#

now i need to actually get the recipe though, like ingredients and stuff

bronze matrix
lunar micaBOT
# bronze matrix !t server.recipe_items

Returns a list of the items used as input to the recipe within the input ID.
This is formatted equivalently to the item script recipe input, with "material:" for non-exact matches, and a full ItemTag for exact matches.
Note that this won't represent all recipes perfectly (primarily those with multiple input choices per slot).
Brewing recipes are only supported on Paper, and only custom ones are available.
For brewing recipes, currently "matcher:<item matcher>" input options are only supported in...

Returns

ListTag(ItemTag)