172 lines
4.2 KiB
JSON
172 lines
4.2 KiB
JSON
{
|
|
"display": {
|
|
"icon": {
|
|
"id": "minecraft:elytra"
|
|
},
|
|
"title": "Far Out Man.",
|
|
"description": "Reach 100,000 in The End.",
|
|
"frame": "challenge",
|
|
"show_toast": false,
|
|
"announce_to_chat": true
|
|
},
|
|
"parent": "canopy:yeet",
|
|
"criteria": {
|
|
"outer_pos_x": {
|
|
"trigger": "minecraft:location",
|
|
"conditions": {
|
|
"player": [
|
|
{
|
|
"condition": "minecraft:entity_properties",
|
|
"entity": "this",
|
|
"predicate": {
|
|
"type": "minecraft:player",
|
|
"location": {
|
|
"position": {
|
|
"x": {
|
|
"min": 100000
|
|
}
|
|
},
|
|
"dimension": "minecraft:the_end"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"condition": "minecraft:inverted",
|
|
"term": {
|
|
"condition": "minecraft:entity_properties",
|
|
"entity": "this",
|
|
"predicate": {
|
|
"type_specific": {
|
|
"type": "minecraft:player",
|
|
"gamemode": [
|
|
"spectator"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"outer_pos_z": {
|
|
"trigger": "minecraft:location",
|
|
"conditions": {
|
|
"player": [
|
|
{
|
|
"condition": "minecraft:entity_properties",
|
|
"entity": "this",
|
|
"predicate": {
|
|
"type": "minecraft:player",
|
|
"location": {
|
|
"position": {
|
|
"z": {
|
|
"min": 100000
|
|
}
|
|
},
|
|
"dimension": "minecraft:the_end"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"condition": "minecraft:inverted",
|
|
"term": {
|
|
"condition": "minecraft:entity_properties",
|
|
"entity": "this",
|
|
"predicate": {
|
|
"type_specific": {
|
|
"type": "minecraft:player",
|
|
"gamemode": [
|
|
"spectator"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"outer_neg_x": {
|
|
"trigger": "minecraft:location",
|
|
"conditions": {
|
|
"player": [
|
|
{
|
|
"condition": "minecraft:entity_properties",
|
|
"entity": "this",
|
|
"predicate": {
|
|
"type": "minecraft:player",
|
|
"location": {
|
|
"position": {
|
|
"x": {
|
|
"max": -100000
|
|
}
|
|
},
|
|
"dimension": "minecraft:the_end"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"condition": "minecraft:inverted",
|
|
"term": {
|
|
"condition": "minecraft:entity_properties",
|
|
"entity": "this",
|
|
"predicate": {
|
|
"type_specific": {
|
|
"type": "minecraft:player",
|
|
"gamemode": [
|
|
"survival"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"outer_neg_z": {
|
|
"trigger": "minecraft:location",
|
|
"conditions": {
|
|
"player": [
|
|
{
|
|
"condition": "minecraft:entity_properties",
|
|
"entity": "this",
|
|
"predicate": {
|
|
"type": "minecraft:player",
|
|
"location": {
|
|
"position": {
|
|
"x": {
|
|
"max": -100000
|
|
}
|
|
},
|
|
"dimension": "minecraft:the_end"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"condition": "minecraft:inverted",
|
|
"term": {
|
|
"condition": "minecraft:entity_properties",
|
|
"entity": "this",
|
|
"predicate": {
|
|
"type_specific": {
|
|
"type": "minecraft:player",
|
|
"gamemode": [
|
|
"spectator"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"requirements": [
|
|
[
|
|
"outer_pos_x",
|
|
"outer_pos_z",
|
|
"outer_neg_x",
|
|
"outer_neg_z"
|
|
]
|
|
]
|
|
}
|