32 lines
562 B
JSON
32 lines
562 B
JSON
{
|
|
"parent": "minecraft:recipes/root",
|
|
"rewards": {
|
|
"recipes": [
|
|
"minecraft:melon_seeds"
|
|
]
|
|
},
|
|
"criteria": {
|
|
"has_melon": {
|
|
"trigger": "minecraft:inventory_changed",
|
|
"conditions": {
|
|
"items": [
|
|
{
|
|
"item": "minecraft:melon_slice"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"has_the_recipe": {
|
|
"trigger": "minecraft:recipe_unlocked",
|
|
"conditions": {
|
|
"recipe": "minecraft:melon_seeds"
|
|
}
|
|
}
|
|
},
|
|
"requirements": [
|
|
[
|
|
"has_melon",
|
|
"has_the_recipe"
|
|
]
|
|
]
|
|
} |