unlock_recipe
Unlocks a specific crafting recipe for the player by its NamespacedKey — misc entry.
Entry Information
| Property | Value |
|---|---|
| Entry ID | unlock_recipe |
| Type | Misc |
| Color | Red |
| Icon | mdi:book-open-variant |
Description
Action entry to unlock a specific recipe for a player.
Fields
| Field | Type | Description |
|---|---|---|
recipeKey | Var<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: ""