custom_mc_advancements/data/canopy/advancement/touch_the_sky.json

48 lines
1.1 KiB
JSON

{
"display": {
"icon": {
"id": "minecraft:firework_rocket"
},
"title": "Touch The Sky",
"description": "The nest looks so small from up here!",
"frame": "task",
"announce_to_chat": true
},
"parent": "canopy:root",
"criteria": {
"reach_2k": {
"trigger": "minecraft:location",
"conditions": {
"player": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"location": {
"position": {
"y": {
"min": 2000
}
},
"dimension": "minecraft:overworld"
}
}
},
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"type_specific": {
"type": "minecraft:player"
}
}
}
}
]
}
}
}
}