custom_mc_advancements/data/canopy/advancement/feeling_caged_in.json

163 lines
4.1 KiB
JSON
Raw Normal View History

{
"display": {
"icon": {
"id": "minecraft:spawner"
},
"title": "Feeling Caged In",
"description": "Find all four limits of the overworld cage. Don't worry, its a nice, big cage.",
"frame": "challenge",
"announce_to_chat": true
},
"parent": "canopy:root",
"criteria": {
"outer_pos_x": {
"trigger": "minecraft:location",
"conditions": {
"player": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"type": "minecraft:player",
"location": {
"position": {
"x": {
"min": 31990
}
},
"dimension": "minecraft:overworld"
}
}
},
{
"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": 31990
}
},
"dimension": "minecraft:overworld"
}
}
},
{
"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": -31990
}
},
"dimension": "minecraft:overworld"
}
}
},
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"type_specific": {
"type": "minecraft:player",
"gamemode": [
"spectator"
]
}
}
}
}
]
}
},
"outer_neg_z": {
"trigger": "minecraft:location",
"conditions": {
"player": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"type": "minecraft:player",
"location": {
"position": {
"x": {
"max": -31990
}
},
"dimension": "minecraft:overworld"
}
}
},
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"type_specific": {
"type": "minecraft:player",
"gamemode": [
"spectator"
]
}
}
}
}
]
}
}
}
}