custom_mc_advancements/data/canopy/advancement/yeet.json

51 lines
1.2 KiB
JSON

{
"display": {
"icon": {
"id": "minecraft:ender_pearl"
},
"title": "YEET!",
"description": "Die to the void. End gateways are overrated.",
"frame": "task",
"announce_to_chat": true
},
"parent": "canopy:end",
"criteria": {
"below_-200y": {
"trigger": "minecraft:location",
"conditions": {
"player": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"location": {
"position": {
"y": {
"max": -200
}
},
"dimension": "minecraft:the_end"
}
}
},
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"type_specific": {
"type": "minecraft:player",
"gamemode": [
"spectator"
]
}
}
}
}
]
}
}
}
}