auto: Formatted documents

This commit is contained in:
DaanV2
2021-05-18 23:32:44 +02:00
parent 6963d4eaab
commit 5b784a9cfc
400 changed files with 6276 additions and 1125 deletions

View File

@@ -250,12 +250,16 @@
"minecraft:behavior.move_to_village": { "$ref": "../1.8.0/behaviors/minecraft.behavior.move_to_village.json" },
"minecraft:behavior.move_to_water": { "$ref": "../1.8.0/behaviors/minecraft.behavior.move_to_water.json" },
"minecraft:behavior.move_towards_home_restriction": { "$ref": "../1.16.0/behaviors/minecraft.behavior.move_towards_home_restriction.json" },
"minecraft:behavior.move_towards_dwelling_restriction": { "$ref": "../1.8.0/behaviors/minecraft.behavior.move_towards_dwelling_restriction.json" },
"minecraft:behavior.move_towards_dwelling_restriction": {
"$ref": "../1.8.0/behaviors/minecraft.behavior.move_towards_dwelling_restriction.json"
},
"minecraft:behavior.move_towards_restriction": { "$ref": "../1.8.0/behaviors/minecraft.behavior.move_towards_restriction.json" },
"minecraft:behavior.move_towards_target": { "$ref": "../1.8.0/behaviors/minecraft.behavior.move_towards_target.json" },
"minecraft:behavior.nap": { "$ref": "../1.16.0/behaviors/minecraft.behavior.nap.json" },
"minecraft:behavior.nearest_attackable_target": { "$ref": "../1.16.0/behaviors/minecraft.behavior.nearest_attackable_target.json" },
"minecraft:behavior.nearest_prioritized_attackable_target": { "$ref": "../1.16.0/behaviors/minecraft.behavior.nearest_prioritized_attackable_target.json" },
"minecraft:behavior.nearest_prioritized_attackable_target": {
"$ref": "../1.16.0/behaviors/minecraft.behavior.nearest_prioritized_attackable_target.json"
},
"minecraft:behavior.ocelot_sit_on_block": { "$ref": "../1.8.0/behaviors/minecraft.behavior.ocelot_sit_on_block.json" },
"minecraft:behavior.ocelotattack": { "$ref": "../1.8.0/behaviors/minecraft.behavior.ocelotattack.json" },
"minecraft:behavior.offer_flower": { "$ref": "../1.8.0/behaviors/minecraft.behavior.offer_flower.json" },

View File

@@ -40,7 +40,11 @@
"add": { "title": "Add", "$ref": "#/definitions/addremove", "description": "The components groups to be added to this entity" },
"filters": { "$ref": "./filters.json" },
"randomize": { "type": "array", "$ref": "#/definitions/randomize" },
"remove": { "title": "Remove", "description": "The components groups and all its components to be removed", "$ref": "#/definitions/addremove" },
"remove": {
"title": "Remove",
"description": "The components groups and all its components to be removed",
"$ref": "#/definitions/addremove"
},
"sequence": {
"description": "A series of filters and components to be added",
"title": "Sequences",
@@ -62,8 +66,16 @@
"$ref": "#/definitions/event_base",
"title": "Entity Born"
},
"minecraft:entity_spawned": { "description": "Event called on an entity that is placed in the level.", "$ref": "#/definitions/event_base", "title": "Entity Spawned" },
"minecraft:on_prime": { "description": "Event called on an entity whose fuse is lit and is ready to explode.", "$ref": "#/definitions/event_base", "title": "On Prime" }
"minecraft:entity_spawned": {
"description": "Event called on an entity that is placed in the level.",
"$ref": "#/definitions/event_base",
"title": "Entity Spawned"
},
"minecraft:on_prime": {
"description": "Event called on an entity whose fuse is lit and is ready to explode.",
"$ref": "#/definitions/event_base",
"title": "On Prime"
}
},
"additionalProperties": { "$ref": "#/definitions/event_base" }
}

View File

@@ -8,21 +8,48 @@
{
"propertyNames": { "enum": ["all_of", "any_of", "none_of"] },
"properties": {
"all_of": { "title": "All Of", "description": "All tests in an 'all_of' group must pass in order for the group to pass.", "$ref": "#/definitions/groups_spec" },
"any_of": { "title": "Any Of", "description": "One or more tests in an 'any_of' group must pass in order for the group to pass.", "$ref": "#/definitions/groups_spec" },
"none_of": { "title": "None Of", "description": "All tests in a 'none_of' group must fail in order for the group to pass.", "$ref": "#/definitions/groups_spec" }
"all_of": {
"title": "All Of",
"description": "All tests in an 'all_of' group must pass in order for the group to pass.",
"$ref": "#/definitions/groups_spec"
},
"any_of": {
"title": "Any Of",
"description": "One or more tests in an 'any_of' group must pass in order for the group to pass.",
"$ref": "#/definitions/groups_spec"
},
"none_of": {
"title": "None Of",
"description": "All tests in a 'none_of' group must fail in order for the group to pass.",
"$ref": "#/definitions/groups_spec"
}
}
},
{
"required": ["test"],
"properties": {
"all_of": { "title": "All Of", "description": "All tests in an 'all_of' group must pass in order for the group to pass.", "$ref": "#/definitions/groups_spec" },
"any_of": { "title": "Any Of", "description": "One or more tests in an 'any_of' group must pass in order for the group to pass.", "$ref": "#/definitions/groups_spec" },
"none_of": { "title": "None Of", "description": "All tests in a 'none_of' group must fail in order for the group to pass.", "$ref": "#/definitions/groups_spec" }
"all_of": {
"title": "All Of",
"description": "All tests in an 'all_of' group must pass in order for the group to pass.",
"$ref": "#/definitions/groups_spec"
},
"any_of": {
"title": "Any Of",
"description": "One or more tests in an 'any_of' group must pass in order for the group to pass.",
"$ref": "#/definitions/groups_spec"
},
"none_of": {
"title": "None Of",
"description": "All tests in a 'none_of' group must fail in order for the group to pass.",
"$ref": "#/definitions/groups_spec"
}
},
"allOf": [
{ "if": { "properties": { "test": { "const": "clock_time" } } }, "then": { "$ref": "../1.8.0/filters/clock_time.json" } },
{ "if": { "properties": { "test": { "const": "distance_to_nearest_player" } } }, "then": { "$ref": "../1.8.0/filters/distance_to_nearest_player.json" } },
{
"if": { "properties": { "test": { "const": "distance_to_nearest_player" } } },
"then": { "$ref": "../1.8.0/filters/distance_to_nearest_player.json" }
},
{ "if": { "properties": { "test": { "const": "has_ability" } } }, "then": { "$ref": "../1.8.0/filters/has_ability.json" } },
{ "if": { "properties": { "test": { "const": "has_biome_tag" } } }, "then": { "$ref": "../1.8.0/filters/has_biome_tag.json" } },
{ "if": { "properties": { "test": { "const": "has_component" } } }, "then": { "$ref": "../1.8.0/filters/has_component.json" } },
@@ -68,8 +95,14 @@
{ "if": { "properties": { "test": { "const": "is_sneaking" } } }, "then": { "$ref": "../1.8.0/filters/is_sneaking.json" } },
{ "if": { "properties": { "test": { "const": "is_snow_covered" } } }, "then": { "$ref": "../1.8.0/filters/is_snow_covered.json" } },
{ "if": { "properties": { "test": { "const": "is_target" } } }, "then": { "$ref": "../1.8.0/filters/is_target.json" } },
{ "if": { "properties": { "test": { "const": "is_temperature_type" } } }, "then": { "$ref": "../1.8.0/filters/is_temperature_type.json" } },
{ "if": { "properties": { "test": { "const": "is_temperature_value" } } }, "then": { "$ref": "../1.8.0/filters/is_temperature_value.json" } },
{
"if": { "properties": { "test": { "const": "is_temperature_type" } } },
"then": { "$ref": "../1.8.0/filters/is_temperature_type.json" }
},
{
"if": { "properties": { "test": { "const": "is_temperature_value" } } },
"then": { "$ref": "../1.8.0/filters/is_temperature_value.json" }
},
{ "if": { "properties": { "test": { "const": "is_underground" } } }, "then": { "$ref": "../1.8.0/filters/is_underground.json" } },
{ "if": { "properties": { "test": { "const": "is_underwater" } } }, "then": { "$ref": "../1.8.0/filters/is_underwater.json" } },
{ "if": { "properties": { "test": { "const": "is_variant" } } }, "then": { "$ref": "../1.8.0/filters/is_variant.json" } },

View File

@@ -15,10 +15,22 @@
"title": "Animations",
"description": "Sets the mapping of internal animation / animation controllers references to actual animations. This is a JSON Object of name/animation pairs",
"type": "object",
"additionalProperties": { "title": "Animation (controller)", "description": "The name of the animation controller / animation", "type": "string" }
"additionalProperties": {
"title": "Animation (controller)",
"description": "The name of the animation controller / animation",
"type": "string"
}
},
"identifier": {
"$ref": "../../../general/entity/identifier.json",
"description": "Sets the identifier for this entity's description.",
"title": "Identifier"
},
"is_spawnable": {
"type": "boolean",
"title": "Is Spawnable",
"description": "Sets whether or not this entity has a spawn egg in the creative ui."
},
"identifier": { "$ref": "../../../general/entity/identifier.json", "description": "Sets the identifier for this entity's description.", "title": "Identifier" },
"is_spawnable": { "type": "boolean", "title": "Is Spawnable", "description": "Sets whether or not this entity has a spawn egg in the creative ui." },
"is_summonable": {
"type": "boolean",
"title": "Is Summonable Property",
@@ -46,7 +58,12 @@
"items": {
"oneOf": [
{ "type": "string", "title": "Animation", "description": "The name of an animation controller referenced in animations" },
{ "type": "object", "title": "Conditional Animation", "description": "TODO", "additionalProperties": { "type": "string", "title": "Animation" } }
{
"type": "object",
"title": "Conditional Animation",
"description": "TODO",
"additionalProperties": { "type": "string", "title": "Animation" }
}
]
}
}

View File

@@ -9,7 +9,12 @@
"type": "object",
"properties": {
"filters": { "type": "object", "$ref": "../filters.json" },
"max_dist": { "type": "number", "description": "Maximum distance this mob can be away to be a valid choice", "default": 16, "title": "Max Dist" },
"max_dist": {
"type": "number",
"description": "Maximum distance this mob can be away to be a valid choice",
"default": 16,
"title": "Max Dist"
},
"walk_speed_multiplier": {
"type": "number",
"description": "Multiplier for the walking speed. A value of 1.0 means the speed is unchanged",
@@ -22,7 +27,12 @@
"default": 16,
"title": "Sprint Speed Multiplier"
},
"must_see": { "type": "boolean", "description": "If true, the mob has to be visible to be a valid choice", "default": false, "title": "Must See" },
"must_see": {
"type": "boolean",
"description": "If true, the mob has to be visible to be a valid choice",
"default": false,
"title": "Must See"
},
"must_see_forget_duration": {
"type": "number",
"description": "Determines the amount of time in seconds that this mob will look for a target before forgetting about it and looking for a new one when the target isn't visible any more",