Saltar al contenido principal

unlock_recipe

Unlocks a specific crafting recipe for the player by its NamespacedKey — misc entry.

Entry Information

PropertyValue
Entry IDunlock_recipe
TypeMisc
ColorRed
Iconmdi:book-open-variant

Description

Action entry to unlock a specific recipe for a player.

Fields

FieldTypeDescription
recipeKeyVar<String>The namespaced key of the recipe to unlock (e.g., 'minecraft:iron_ingot' or 'btc:my_custom_recipe')

Usage Example

- entry: unlock_recipe
name: "Unlocks a specific crafting recipe for the player by its NamespacedKey"
recipeKey: ""