跳到主要内容

Unlock Recipe

Unlocks a specific crafting recipe for the player by its NamespacedKey

Action entry to unlock a specific recipe for a player.

字段

字段类型默认值描述
recipeKeyVar<String>—The namespaced key of the recipe to unlock (e.g., 'minecraft:iron_ingot' or 'btc:my_custom_recipe')
TypeWriter 通用字段(criteria, modifiers, triggers)
字段类型默认值描述
criteriaList<Criteria>empty—
modifiersList<Modifier>empty—
triggersList<Ref<TriggerableEntry>>empty—