32 lines
558 B
JSON
32 lines
558 B
JSON
{
|
|
"parent": "minecraft:recipes/root",
|
|
"rewards": {
|
|
"recipes": [
|
|
"minecraft:wooden_sword"
|
|
]
|
|
},
|
|
"criteria": {
|
|
"has_stick": {
|
|
"trigger": "minecraft:inventory_changed",
|
|
"conditions": {
|
|
"items": [
|
|
{
|
|
"item": "minecraft:stick"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"has_the_recipe": {
|
|
"trigger": "minecraft:recipe_unlocked",
|
|
"conditions": {
|
|
"recipe": "minecraft:wooden_sword"
|
|
}
|
|
}
|
|
},
|
|
"requirements": [
|
|
[
|
|
"has_stick",
|
|
"has_the_recipe"
|
|
]
|
|
]
|
|
} |