From f4ea22c6544c6aba8c94ea02fa0b36bf6133f154 Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Wed, 9 Jun 2021 11:19:07 +0200 Subject: [PATCH] Updated --- .../minecraft.behavior.explore_outskirts.json | 24 +++++++++---------- .../minecraft.behavior.find_mount.json | 10 ++++---- source/behavior/entities/1.8.0/entities.json | 2 +- .../entities/1.8.0/minecraft.entity.json | 1 + .../entities/1.8.0/types/trigger.json | 6 ++--- source/behavior/recipes/1.12.0/recipes.json | 1 + .../spawn_rules/1.17.0/spawn_rules.json | 6 ++++- .../spawn_rules/1.8.0/spawn_rules.json | 6 ++++- source/general/Version.json | 9 ++++--- source/resource/blocks.json | 2 +- source/resource/items/1.10.0/items.json | 1 + 11 files changed, 39 insertions(+), 29 deletions(-) diff --git a/source/behavior/entities/1.8.0/behaviors/minecraft.behavior.explore_outskirts.json b/source/behavior/entities/1.8.0/behaviors/minecraft.behavior.explore_outskirts.json index 9d49bfcb..aaa258f6 100644 --- a/source/behavior/entities/1.8.0/behaviors/minecraft.behavior.explore_outskirts.json +++ b/source/behavior/entities/1.8.0/behaviors/minecraft.behavior.explore_outskirts.json @@ -15,22 +15,22 @@ "title": "Explore Dist" }, "wait_time": { "type": "integer", "default": 0, "description": "The time the mob will stand around `searching` for POIs", "title": "Wait Time" }, - "next_xz": { "title": "TODO", "description": "UNDOCUMENATED", "type": "integer" }, - "next_y": { "title": "TODO", "description": "UNDOCUMENATED", "type": "integer" }, - "min_wait_time": { "title": "TODO", "description": "UNDOCUMENATED", "type": "number" }, - "max_wait_time": { "title": "TODO", "description": "UNDOCUMENATED", "type": "number" }, - "max_travel_time": { "title": "TODO", "description": "UNDOCUMENATED", "type": "number" }, - "min_perimeter": { "title": "TODO", "description": "UNDOCUMENATED", "type": "number" }, - "min_dist_from_target": { "title": "TODO", "description": "UNDOCUMENATED", "type": "number" }, - "timer_ratio": { "title": "TODO", "description": "UNDOCUMENATED", "type": "number" }, + "next_xz": { "title": "Next XZ", "description": "UNDOCUMENATED", "type": "integer" }, + "next_y": { "title": "Next Y", "description": "UNDOCUMENATED", "type": "integer" }, + "min_wait_time": { "title": "Minimum Wait Time", "description": "UNDOCUMENATED", "type": "number" }, + "max_wait_time": { "title": "Maximum Wait Time", "description": "UNDOCUMENATED", "type": "number" }, + "max_travel_time": { "title": "Maximum Travel Time", "description": "UNDOCUMENATED", "type": "number" }, + "min_perimeter": { "title": "Minimum Perimeter", "description": "UNDOCUMENATED", "type": "number" }, + "min_dist_from_target": { "title": "Minimum Distance From Target", "description": "UNDOCUMENATED", "type": "number" }, + "timer_ratio": { "title": "Timer Ratio", "description": "UNDOCUMENATED", "type": "number" }, "dist_from_boundary": { - "title": "TODO", + "title": "Distance From Boundary", "description": "UNDOCUMENATED", "type": "array", "items": [ - { "title": "TODO", "description": "UNDOCUMENATED", "type": "number" }, - { "title": "TODO", "description": "UNDOCUMENATED", "type": "number" }, - { "title": "TODO", "description": "UNDOCUMENATED", "type": "number" } + { "title": "X", "description": "UNDOCUMENATED", "type": "number" }, + { "title": "Y", "description": "UNDOCUMENATED", "type": "number" }, + { "title": "Z", "description": "UNDOCUMENATED", "type": "number" } ] } } diff --git a/source/behavior/entities/1.8.0/behaviors/minecraft.behavior.find_mount.json b/source/behavior/entities/1.8.0/behaviors/minecraft.behavior.find_mount.json index 1ed63776..8cda4b7c 100644 --- a/source/behavior/entities/1.8.0/behaviors/minecraft.behavior.find_mount.json +++ b/source/behavior/entities/1.8.0/behaviors/minecraft.behavior.find_mount.json @@ -11,31 +11,31 @@ "type": "boolean", "default": false, "description": "If true, the mob will not go into water blocks when going towards a mount", - "title": "TODO Title" + "title": "Avoid Water" }, "mount_distance": { "type": "number", "default": -1, "description": "This is the distance the mob needs to be, in blocks, from the desired mount to mount it. If the value is below 0, the mob will use its default attack distance", - "title": "TODO Title" + "title": "Mount Distance" }, "start_delay": { "type": "integer", "default": 0, "description": "Time the mob will wait before starting to move towards the mount", - "title": "TODO Title" + "title": "Start Delay" }, "target_needed": { "type": "boolean", "default": false, "description": "If true, the mob will only look for a mount if it has a target", - "title": "TODO Title" + "title": "Target Needed" }, "within_radius": { "type": "number", "default": 0, "description": "Distance in blocks within which the mob will look for a mount", - "title": "TODO Title" + "title": "Within Radius" } } } diff --git a/source/behavior/entities/1.8.0/entities.json b/source/behavior/entities/1.8.0/entities.json index bfc0a7a7..31d2c351 100644 --- a/source/behavior/entities/1.8.0/entities.json +++ b/source/behavior/entities/1.8.0/entities.json @@ -6,7 +6,7 @@ "required": ["format_version", "minecraft:entity"], "properties": { "format_version": { - "title": "1.8.0 Format Version", + "title": "Format Version", "type": "string", "const": "1.8.0", "description": "A version that tells minecraft what type of data format can be expected when reading this file." diff --git a/source/behavior/entities/1.8.0/minecraft.entity.json b/source/behavior/entities/1.8.0/minecraft.entity.json index c3e92e69..6a05979e 100644 --- a/source/behavior/entities/1.8.0/minecraft.entity.json +++ b/source/behavior/entities/1.8.0/minecraft.entity.json @@ -4,6 +4,7 @@ "required": ["description"], "dependencies": { "component_groups": ["events"] }, "additionalProperties": false, + "type": "object", "properties": { "description": { "required": ["identifier"], diff --git a/source/behavior/entities/1.8.0/types/trigger.json b/source/behavior/entities/1.8.0/types/trigger.json index aaf0dd07..f6fa5d6e 100644 --- a/source/behavior/entities/1.8.0/types/trigger.json +++ b/source/behavior/entities/1.8.0/types/trigger.json @@ -4,14 +4,14 @@ "type": "object", "description": "Trigger to fire", "minProperties": 1, + "additionalProperties": false, "properties": { "event": { "type": "string", "description": "Event", "title": "Event To Fire" }, "filters": { "$ref": "../../filters/filters.json", "description": "The filters to check to determine if the event should be fired", - "title": "TODO Title" + "title": "Filters" }, "target": { "$ref": "../../filters/filters/types/subject.json", "description": "The entity to target", "title": "Target" } - }, - "additionalProperties": false + } } diff --git a/source/behavior/recipes/1.12.0/recipes.json b/source/behavior/recipes/1.12.0/recipes.json index 8d4a4add..73c0be06 100644 --- a/source/behavior/recipes/1.12.0/recipes.json +++ b/source/behavior/recipes/1.12.0/recipes.json @@ -4,6 +4,7 @@ "required": ["format_version"], "additionalProperties": false, "minProperties": 2, + "type": "object", "title": "Recipe", "properties": { "format_version": { diff --git a/source/behavior/spawn_rules/1.17.0/spawn_rules.json b/source/behavior/spawn_rules/1.17.0/spawn_rules.json index 32669d7a..e58a16f8 100644 --- a/source/behavior/spawn_rules/1.17.0/spawn_rules.json +++ b/source/behavior/spawn_rules/1.17.0/spawn_rules.json @@ -6,7 +6,11 @@ "additionalProperties": false, "required": ["format_version", "minecraft:spawn_rules"], "properties": { - "format_version": { "const": "1.17.0", "description": "UNDOCUMENTATED", "title": "Format Version" }, + "format_version": { + "const": "1.17.0", + "description": "A version that tells minecraft what type of data format can be expected when reading this file.", + "title": "Format Version" + }, "minecraft:spawn_rules": { "type": "object", "title": "Spawn Rules", diff --git a/source/behavior/spawn_rules/1.8.0/spawn_rules.json b/source/behavior/spawn_rules/1.8.0/spawn_rules.json index 8e828b3b..27a57f60 100644 --- a/source/behavior/spawn_rules/1.8.0/spawn_rules.json +++ b/source/behavior/spawn_rules/1.8.0/spawn_rules.json @@ -6,7 +6,11 @@ "additionalProperties": false, "required": ["format_version", "minecraft:spawn_rules"], "properties": { - "format_version": { "const": "1.8.0", "description": "UNDOCUMENTATED", "title": "Format Version" }, + "format_version": { + "const": "1.8.0", + "description": "A version that tells minecraft what type of data format can be expected when reading this file.", + "title": "Format Version" + }, "minecraft:spawn_rules": { "type": "object", "title": "Spawn Rules", diff --git a/source/general/Version.json b/source/general/Version.json index 5112e838..cf44b0a3 100644 --- a/source/general/Version.json +++ b/source/general/Version.json @@ -3,11 +3,10 @@ "type": "array", "title": "Version Numbering", "description": "A version made of 3 numbers", - "minItems": 3, - "maxItems": 3, + "examples": [[1, 0, 0]], "items": [ - { "type": "number", "minimum": 1 }, - { "type": "number", "minimum": 0 }, - { "type": "number", "minimum": 0 } + { "type": "number", "minimum": 1, "title": "" }, + { "type": "number", "minimum": 0, "title": "Major" }, + { "type": "number", "minimum": 0, "title": "Minor" } ] } diff --git a/source/resource/blocks.json b/source/resource/blocks.json index 76c54ff6..a1979492 100644 --- a/source/resource/blocks.json +++ b/source/resource/blocks.json @@ -28,7 +28,7 @@ "format_version": { "type": "array", "items": [{ "type": "integer" }, { "type": "integer" }, { "type": "integer" }], - "description": "UNDOCUMENTATED", + "description": "A version that tells minecraft what type of data format can be expected when reading this file.", "title": "Format Version" } }, diff --git a/source/resource/items/1.10.0/items.json b/source/resource/items/1.10.0/items.json index a87855b0..b2faeca8 100644 --- a/source/resource/items/1.10.0/items.json +++ b/source/resource/items/1.10.0/items.json @@ -3,6 +3,7 @@ "required": ["format_version", "minecraft:item"], "title": "Item", "description": "Minecraft items 1.10.0", + "type": "object", "properties": { "format_version": { "title": "Format Version",