Denizen Script Tags


Tags are always written with a <between these marks>, and are critical to scripts, as the primary way to read data.
Learn about how tags work in The Beginner's Guide.


Showing 1 out of 2484 tags...
Name<server.recipe_items[<id>]>
ReturnsListTag(ItemTag)
DescriptionReturns 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 recipes added by Denizen.
For furnace-style and stonecutting recipes, this will return a list with only 1 item.
For shaped recipes, this will include 'air' for slots that are part of the shape but don't require an item.
For smithing recipes, this will return a list with the 'base' item and the 'addition'.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/ServerTagBase.java#L227