From 6522a17f02bebc35e940be97637a0d60416491d8 Mon Sep 17 00:00:00 2001 From: Ben Maurer Date: Thu, 1 Sep 2022 21:38:51 +0000 Subject: [PATCH] salad.json --- data/locations/advancements/salad.json | 57 ++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 data/locations/advancements/salad.json diff --git a/data/locations/advancements/salad.json b/data/locations/advancements/salad.json new file mode 100644 index 0000000..0ceeb72 --- /dev/null +++ b/data/locations/advancements/salad.json @@ -0,0 +1,57 @@ +{ + "display": { + "icon": { + "item": "minecraft:dried_kelp_block" + }, + "title": "SALAD!", + "description": "Visit Salad at W 710", + "frame": "task", + "show_toast": true, + "announce_to_chat": true + }, + "parent": "locations:bases", + "criteria": { + "Salad": { + "trigger": "minecraft:location", + "conditions": { + "player": [{ + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "location": { + "dimension": "minecraft:overworld", + "position": { + "x": { + "min": -5725, + "max": -5625 + }, + "y": { + "min": 60, + "max": 100 + }, + "z": { + "min": -550, + "max": -460 + } + } + } + } + }, + { + "condition": "minecraft:inverted", + "term": { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "type_specific": { + "type": "player", + "gamemode": "spectator" + } + } + } + } + ] + } + } + } +}