This commit is contained in:
DaanV2
2021-06-09 11:19:07 +02:00
parent 10070db06d
commit f4ea22c654
11 changed files with 39 additions and 29 deletions

View File

@@ -15,22 +15,22 @@
"title": "Explore Dist" "title": "Explore Dist"
}, },
"wait_time": { "type": "integer", "default": 0, "description": "The time the mob will stand around `searching` for POIs", "title": "Wait Time" }, "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_xz": { "title": "Next XZ", "description": "UNDOCUMENATED", "type": "integer" },
"next_y": { "title": "TODO", "description": "UNDOCUMENATED", "type": "integer" }, "next_y": { "title": "Next Y", "description": "UNDOCUMENATED", "type": "integer" },
"min_wait_time": { "title": "TODO", "description": "UNDOCUMENATED", "type": "number" }, "min_wait_time": { "title": "Minimum Wait Time", "description": "UNDOCUMENATED", "type": "number" },
"max_wait_time": { "title": "TODO", "description": "UNDOCUMENATED", "type": "number" }, "max_wait_time": { "title": "Maximum Wait Time", "description": "UNDOCUMENATED", "type": "number" },
"max_travel_time": { "title": "TODO", "description": "UNDOCUMENATED", "type": "number" }, "max_travel_time": { "title": "Maximum Travel Time", "description": "UNDOCUMENATED", "type": "number" },
"min_perimeter": { "title": "TODO", "description": "UNDOCUMENATED", "type": "number" }, "min_perimeter": { "title": "Minimum Perimeter", "description": "UNDOCUMENATED", "type": "number" },
"min_dist_from_target": { "title": "TODO", "description": "UNDOCUMENATED", "type": "number" }, "min_dist_from_target": { "title": "Minimum Distance From Target", "description": "UNDOCUMENATED", "type": "number" },
"timer_ratio": { "title": "TODO", "description": "UNDOCUMENATED", "type": "number" }, "timer_ratio": { "title": "Timer Ratio", "description": "UNDOCUMENATED", "type": "number" },
"dist_from_boundary": { "dist_from_boundary": {
"title": "TODO", "title": "Distance From Boundary",
"description": "UNDOCUMENATED", "description": "UNDOCUMENATED",
"type": "array", "type": "array",
"items": [ "items": [
{ "title": "TODO", "description": "UNDOCUMENATED", "type": "number" }, { "title": "X", "description": "UNDOCUMENATED", "type": "number" },
{ "title": "TODO", "description": "UNDOCUMENATED", "type": "number" }, { "title": "Y", "description": "UNDOCUMENATED", "type": "number" },
{ "title": "TODO", "description": "UNDOCUMENATED", "type": "number" } { "title": "Z", "description": "UNDOCUMENATED", "type": "number" }
] ]
} }
} }

View File

@@ -11,31 +11,31 @@
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If true, the mob will not go into water blocks when going towards a mount", "description": "If true, the mob will not go into water blocks when going towards a mount",
"title": "TODO Title" "title": "Avoid Water"
}, },
"mount_distance": { "mount_distance": {
"type": "number", "type": "number",
"default": -1, "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", "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": { "start_delay": {
"type": "integer", "type": "integer",
"default": 0, "default": 0,
"description": "Time the mob will wait before starting to move towards the mount", "description": "Time the mob will wait before starting to move towards the mount",
"title": "TODO Title" "title": "Start Delay"
}, },
"target_needed": { "target_needed": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If true, the mob will only look for a mount if it has a target", "description": "If true, the mob will only look for a mount if it has a target",
"title": "TODO Title" "title": "Target Needed"
}, },
"within_radius": { "within_radius": {
"type": "number", "type": "number",
"default": 0, "default": 0,
"description": "Distance in blocks within which the mob will look for a mount", "description": "Distance in blocks within which the mob will look for a mount",
"title": "TODO Title" "title": "Within Radius"
} }
} }
} }

View File

@@ -6,7 +6,7 @@
"required": ["format_version", "minecraft:entity"], "required": ["format_version", "minecraft:entity"],
"properties": { "properties": {
"format_version": { "format_version": {
"title": "1.8.0 Format Version", "title": "Format Version",
"type": "string", "type": "string",
"const": "1.8.0", "const": "1.8.0",
"description": "A version that tells minecraft what type of data format can be expected when reading this file." "description": "A version that tells minecraft what type of data format can be expected when reading this file."

View File

@@ -4,6 +4,7 @@
"required": ["description"], "required": ["description"],
"dependencies": { "component_groups": ["events"] }, "dependencies": { "component_groups": ["events"] },
"additionalProperties": false, "additionalProperties": false,
"type": "object",
"properties": { "properties": {
"description": { "description": {
"required": ["identifier"], "required": ["identifier"],

View File

@@ -4,14 +4,14 @@
"type": "object", "type": "object",
"description": "Trigger to fire", "description": "Trigger to fire",
"minProperties": 1, "minProperties": 1,
"additionalProperties": false,
"properties": { "properties": {
"event": { "type": "string", "description": "Event", "title": "Event To Fire" }, "event": { "type": "string", "description": "Event", "title": "Event To Fire" },
"filters": { "filters": {
"$ref": "../../filters/filters.json", "$ref": "../../filters/filters.json",
"description": "The filters to check to determine if the event should be fired", "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" } "target": { "$ref": "../../filters/filters/types/subject.json", "description": "The entity to target", "title": "Target" }
}, }
"additionalProperties": false
} }

View File

@@ -4,6 +4,7 @@
"required": ["format_version"], "required": ["format_version"],
"additionalProperties": false, "additionalProperties": false,
"minProperties": 2, "minProperties": 2,
"type": "object",
"title": "Recipe", "title": "Recipe",
"properties": { "properties": {
"format_version": { "format_version": {

View File

@@ -6,7 +6,11 @@
"additionalProperties": false, "additionalProperties": false,
"required": ["format_version", "minecraft:spawn_rules"], "required": ["format_version", "minecraft:spawn_rules"],
"properties": { "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": { "minecraft:spawn_rules": {
"type": "object", "type": "object",
"title": "Spawn Rules", "title": "Spawn Rules",

View File

@@ -6,7 +6,11 @@
"additionalProperties": false, "additionalProperties": false,
"required": ["format_version", "minecraft:spawn_rules"], "required": ["format_version", "minecraft:spawn_rules"],
"properties": { "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": { "minecraft:spawn_rules": {
"type": "object", "type": "object",
"title": "Spawn Rules", "title": "Spawn Rules",

View File

@@ -3,11 +3,10 @@
"type": "array", "type": "array",
"title": "Version Numbering", "title": "Version Numbering",
"description": "A version made of 3 numbers", "description": "A version made of 3 numbers",
"minItems": 3, "examples": [[1, 0, 0]],
"maxItems": 3,
"items": [ "items": [
{ "type": "number", "minimum": 1 }, { "type": "number", "minimum": 1, "title": "" },
{ "type": "number", "minimum": 0 }, { "type": "number", "minimum": 0, "title": "Major" },
{ "type": "number", "minimum": 0 } { "type": "number", "minimum": 0, "title": "Minor" }
] ]
} }

View File

@@ -28,7 +28,7 @@
"format_version": { "format_version": {
"type": "array", "type": "array",
"items": [{ "type": "integer" }, { "type": "integer" }, { "type": "integer" }], "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" "title": "Format Version"
} }
}, },

View File

@@ -3,6 +3,7 @@
"required": ["format_version", "minecraft:item"], "required": ["format_version", "minecraft:item"],
"title": "Item", "title": "Item",
"description": "Minecraft items 1.10.0", "description": "Minecraft items 1.10.0",
"type": "object",
"properties": { "properties": {
"format_version": { "format_version": {
"title": "Format Version", "title": "Format Version",