From 98f96966deb0769b86cebeb70ff56a182ca0cc34 Mon Sep 17 00:00:00 2001 From: Misode Date: Mon, 20 Jul 2020 05:01:55 +0200 Subject: [PATCH] Fix #103 --- locales/en.json | 2 ++ schemas/1.15.json | 20 ++++++++++++++++++++ schemas/1.16.json | 20 ++++++++++++++++++++ 3 files changed, 42 insertions(+) diff --git a/locales/en.json b/locales/en.json index 77f315dc..25dfc4f3 100644 --- a/locales/en.json +++ b/locales/en.json @@ -158,6 +158,8 @@ "criteria.entity": "Entity", "criteria.loot_table": "Loot Table", "criteria.player": "Player", + "criteria.entered": "Entered Location", + "criteria.exited": "Exited Location", "criteria_add": "Add Criterion", "criteria_remove": "Remove Criterion", "damage.blocked": "Blocked", diff --git a/schemas/1.15.json b/schemas/1.15.json index 18d4e367..f8605b00 100644 --- a/schemas/1.15.json +++ b/schemas/1.15.json @@ -2020,6 +2020,26 @@ "minecraft:voluntary_exile" ] }, + { + "id": "entered", + "translate": "criteria.entered", + "type": "object", + "collapse": true, + "value": "location", + "require": [ + "minecraft:nether_travel" + ] + }, + { + "id": "exited", + "translate": "criteria.exited", + "type": "object", + "collapse": true, + "value": "location", + "require": [ + "minecraft:nether_travel" + ] + }, { "id": "recipe", "translate": "criteria.recipe", diff --git a/schemas/1.16.json b/schemas/1.16.json index 594c8f66..e46505e5 100644 --- a/schemas/1.16.json +++ b/schemas/1.16.json @@ -2085,6 +2085,26 @@ "minecraft:voluntary_exile" ] }, + { + "id": "entered", + "translate": "criteria.entered", + "type": "object", + "collapse": true, + "value": "location", + "require": [ + "minecraft:nether_travel" + ] + }, + { + "id": "exited", + "translate": "criteria.exited", + "type": "object", + "collapse": true, + "value": "location", + "require": [ + "minecraft:nether_travel" + ] + }, { "id": "recipe", "translate": "criteria.recipe",