{ "display": { "icon": { "item": "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": { "location": { "dimension": "minecraft:overworld", "position": { "x": { "min": 31990.0 } } } } }, { "condition": "minecraft:inverted", "term": { "condition": "minecraft:entity_properties", "entity": "this", "predicate": { "type_specific": { "type": "player", "gamemode": "spectator" } } } } ] } }, "outer_pos_z": { "trigger": "minecraft:location", "conditions": { "player": [{ "condition": "minecraft:entity_properties", "entity": "this", "predicate": { "location": { "dimension": "minecraft:overworld", "position": { "z": { "min": 31990.0 } } } } }, { "condition": "minecraft:inverted", "term": { "condition": "minecraft:entity_properties", "entity": "this", "predicate": { "type_specific": { "type": "player", "gamemode": "spectator" } } } } ] } }, "outer_neg_x": { "trigger": "minecraft:location", "conditions": { "player": [{ "condition": "minecraft:entity_properties", "entity": "this", "predicate": { "location": { "dimension": "minecraft:overworld", "position": { "x": { "max": -31990.0 } } } } }, { "condition": "minecraft:inverted", "term": { "condition": "minecraft:entity_properties", "entity": "this", "predicate": { "type_specific": { "type": "player", "gamemode": "spectator" } } } } ] } }, "outer_neg_z": { "trigger": "minecraft:location", "conditions": { "player": [{ "condition": "minecraft:entity_properties", "entity": "this", "predicate": { "location": { "dimension": "minecraft:overworld", "position": { "x": { "max": -31990.0 } } } } }, { "condition": "minecraft:inverted", "term": { "condition": "minecraft:entity_properties", "entity": "this", "predicate": { "type_specific": { "type": "player", "gamemode": "spectator" } } } } ] } } } }