custom_mc_advancements/data/canopy/advancement/end.json

47 lines
1.0 KiB
JSON
Raw Normal View History

{
"display": {
"icon": {
"id": "minecraft:end_portal_frame"
},
"title": "The End.",
"description": "That was easy.",
"frame": "task",
"show_toast": false,
"announce_to_chat": false
},
"parent": "canopy:root",
"criteria": {
"reach_the_end": {
"trigger": "minecraft:location",
"conditions": {
"player": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"location": {
"dimension": "minecraft:the_end"
}
}
},
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"type_specific": {
"type": "minecraft:player",
"gamemode": [
"spectator"
]
}
}
}
}
]
}
}
}
}