Recipe - Recipe Type (Expression) — SkBee
Addon: SkBee · Category: Expression · Since: 2.6.0
Syntax
recipe type of recipe[s] [with id[s]] %strings%Description
Get the type of a recipe. `ID` = Minecraft or custom NamespacedKey, see examples.
Examples
set {_type} to recipe type of recipe with id "minecraft:oak_door"
set {_type} to recipe type of recipe "skbee:some_recipe"
set {_type} to recipe type of recipe with id "my_recipes:some_custom_recipe"
if recipe type of recipe with id "my_recipes:some_custom_recipe" = shaped recipe: