From ef9efaf0e18579a6775a199e7078bc7e744a5155 Mon Sep 17 00:00:00 2001 From: Misode Date: Wed, 23 Oct 2019 15:43:56 +0200 Subject: [PATCH] Add help for entry type --- locales/en.json | 14 ++++++++++++++ schemas/1.13.json | 1 + schemas/1.14.json | 1 + schemas/1.15.json | 1 + 4 files changed, 17 insertions(+) diff --git a/locales/en.json b/locales/en.json index 542eeb64..12cbc02c 100644 --- a/locales/en.json +++ b/locales/en.json @@ -1,4 +1,18 @@ { + "$help": { + "$entry": { + "$type": { + "empty": "Adds nothing to the pool", + "item": "Adds a single item", + "tag": "Adds the contents of an item tag", + "loot_table": "Adds the contents of another loot table", + "alternatives": "Tests conditions of the child entries and executes the first that can run", + "sequence": "Executes child entries until the first one that can't run due to conditions", + "group": "Executes all child entries when own conditions pass", + "dynamic": "Gets block specific drops" + } + } + }, "$condition": { "$type": { "alternative": "Alternative", diff --git a/schemas/1.13.json b/schemas/1.13.json index 9b2e13ff..f1b177b1 100644 --- a/schemas/1.13.json +++ b/schemas/1.13.json @@ -52,6 +52,7 @@ "type": "enum", "translate": "$entry.type", "translateValue": "$entry.$type", + "help": true, "default": "minecraft:item", "values": [ "minecraft:empty", diff --git a/schemas/1.14.json b/schemas/1.14.json index bc49c3e9..0a3d6079 100644 --- a/schemas/1.14.json +++ b/schemas/1.14.json @@ -74,6 +74,7 @@ "type": "enum", "translate": "$entry.type", "translateValue": "$entry.$type", + "help": true, "default": "minecraft:item", "values": [ "minecraft:empty", diff --git a/schemas/1.15.json b/schemas/1.15.json index fa9202d7..b92c3e63 100644 --- a/schemas/1.15.json +++ b/schemas/1.15.json @@ -74,6 +74,7 @@ "type": "enum", "translate": "$entry.type", "translateValue": "$entry.$type", + "help": true, "default": "minecraft:item", "values": [ "minecraft:empty",