auto: Formatted documents
This commit is contained in:
@@ -244,12 +244,16 @@
|
||||
"minecraft:behavior.move_to_random_block": { "$ref": "../1.8.0/behaviors/minecraft.behavior.move_to_random_block.json" },
|
||||
"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_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.8.0/behaviors/minecraft.behavior.nap.json" },
|
||||
"minecraft:behavior.nearest_attackable_target": { "$ref": "../1.8.0/behaviors/minecraft.behavior.nearest_attackable_target.json" },
|
||||
"minecraft:behavior.nearest_prioritized_attackable_target": { "$ref": "../1.8.0/behaviors/minecraft.behavior.nearest_prioritized_attackable_target.json" },
|
||||
"minecraft:behavior.nearest_prioritized_attackable_target": {
|
||||
"$ref": "../1.8.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" },
|
||||
|
||||
@@ -7,8 +7,18 @@
|
||||
"description": "Defines how the entity explodes.",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"breaks_blocks": { "type": "boolean", "default": true, "description": "If true, the explosion will destroy blocks in the explosion radius.", "title": "Breaks Blocks" },
|
||||
"causes_fire": { "type": "boolean", "default": false, "description": "If true, blocks in the explosion radius will be set on fire.", "title": "Causes Fire" },
|
||||
"breaks_blocks": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "If true, the explosion will destroy blocks in the explosion radius.",
|
||||
"title": "Breaks Blocks"
|
||||
},
|
||||
"causes_fire": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, blocks in the explosion radius will be set on fire.",
|
||||
"title": "Causes Fire"
|
||||
},
|
||||
"destroy_affected_by_griefing": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
@@ -38,13 +48,23 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"fuse_lit": { "type": "boolean", "default": false, "description": "If true, the fuse is already lit when this component is added to the entity.", "title": "Fuse Lit" },
|
||||
"fuse_lit": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, the fuse is already lit when this component is added to the entity.",
|
||||
"title": "Fuse Lit"
|
||||
},
|
||||
"max_resistance": {
|
||||
"type": "number",
|
||||
"default": 3.40282e38,
|
||||
"description": "A blocks explosion resistance will be capped at this value when an explosion occurs.",
|
||||
"title": "Max Resistance"
|
||||
},
|
||||
"power": { "type": "number", "default": 3, "description": "The radius of the explosion in blocks and the amount of damage the explosion deals.", "title": "Power" }
|
||||
"power": {
|
||||
"type": "number",
|
||||
"default": 3,
|
||||
"description": "The radius of the explosion in blocks and the amount of damage the explosion deals.",
|
||||
"title": "Power"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,7 +8,12 @@
|
||||
"required": [],
|
||||
"properties": {
|
||||
"anchor": { "type": "integer", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
|
||||
"angle_offset": { "type": "number", "default": 0, "description": "Determines the angle at which the projectile is thrown", "title": "Angle Offset" },
|
||||
"angle_offset": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Determines the angle at which the projectile is thrown",
|
||||
"title": "Angle Offset"
|
||||
},
|
||||
"catch_fire": { "type": "boolean", "default": false, "description": "If true, the entity hit will be set on fire", "title": "Catch Fire" },
|
||||
"crit_particle_on_hurt": {
|
||||
"type": "boolean",
|
||||
@@ -16,8 +21,18 @@
|
||||
"description": "If true, the projectile will produce additional particles when a critical hit happens",
|
||||
"title": "Crit Particle On Hurt"
|
||||
},
|
||||
"destroy_on_hurt": { "type": "boolean", "default": false, "description": "If true, this entity will be destroyed when hit", "title": "Destroy On Hurt" },
|
||||
"filter": { "type": "string", "default": "", "description": "Entity Definitions defined here can't be hurt by the projectile", "title": "Filter" },
|
||||
"destroy_on_hurt": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, this entity will be destroyed when hit",
|
||||
"title": "Destroy On Hurt"
|
||||
},
|
||||
"filter": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "Entity Definitions defined here can't be hurt by the projectile",
|
||||
"title": "Filter"
|
||||
},
|
||||
"fire_affected_by_griefing": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
@@ -33,9 +48,24 @@
|
||||
"hit_sound": { "type": "string", "default": "", "description": "The sound that plays when the projectile hits something", "title": "Hit Sound" },
|
||||
"hit_ground_sound": { "type": "string", "default": "", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
|
||||
"homing": { "type": "boolean", "default": false, "description": "If true, the projectile homes in to the nearest entity", "title": "Homing" },
|
||||
"inertia": { "type": "number", "default": 0.99, "description": "The fraction of the projectile's speed maintained every frame while traveling in air", "title": "Inertia" },
|
||||
"is_dangerous": { "type": "boolean", "default": false, "description": "If true, the projectile will be treated as dangerous to the players", "title": "Is Dangerous" },
|
||||
"knockback": { "type": "boolean", "default": true, "description": "If true, the projectile will knock back the entity it hits", "title": "Knockback" },
|
||||
"inertia": {
|
||||
"type": "number",
|
||||
"default": 0.99,
|
||||
"description": "The fraction of the projectile's speed maintained every frame while traveling in air",
|
||||
"title": "Inertia"
|
||||
},
|
||||
"is_dangerous": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, the projectile will be treated as dangerous to the players",
|
||||
"title": "Is Dangerous"
|
||||
},
|
||||
"knockback": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "If true, the projectile will knock back the entity it hits",
|
||||
"title": "Knockback"
|
||||
},
|
||||
"lightning": { "type": "boolean", "default": false, "description": "If true, the entity hit will be struck by lightning", "title": "Lightning" },
|
||||
"liquid_inertia": {
|
||||
"type": "number",
|
||||
@@ -43,7 +73,12 @@
|
||||
"description": "The fraction of the projectile's speed maintained every frame while traveling in water",
|
||||
"title": "Liquid Inertia"
|
||||
},
|
||||
"multiple_targets": { "type": "boolean", "default": true, "description": "If true, the projectile can hit multiple entities per flight", "title": "Multiple Targets" },
|
||||
"multiple_targets": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "If true, the projectile can hit multiple entities per flight",
|
||||
"title": "Multiple Targets"
|
||||
},
|
||||
"offset": {
|
||||
"type": "array",
|
||||
"default": [0, 0.5, 0],
|
||||
@@ -55,7 +90,12 @@
|
||||
{ "type": "number", "description": "Z", "title": "Z" }
|
||||
]
|
||||
},
|
||||
"on_fire_time": { "type": "number", "default": 5, "description": "Time in seconds that the entity hit will be on fire for", "title": "On Fire Time" },
|
||||
"on_fire_time": {
|
||||
"type": "number",
|
||||
"default": 5,
|
||||
"description": "Time in seconds that the entity hit will be on fire for",
|
||||
"title": "On Fire Time"
|
||||
},
|
||||
"on_hit": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
@@ -184,9 +224,19 @@
|
||||
}
|
||||
},
|
||||
"particle": { "type": "string", "default": "iconcrack", "description": "Particle to use upon collision", "title": "Particle" },
|
||||
"potion_effect": { "type": "integer", "default": -1, "description": "Defines the effect the arrow will apply to the entity it hits", "title": "Potion Effect" },
|
||||
"potion_effect": {
|
||||
"type": "integer",
|
||||
"default": -1,
|
||||
"description": "Defines the effect the arrow will apply to the entity it hits",
|
||||
"title": "Potion Effect"
|
||||
},
|
||||
"power": { "type": "number", "default": 1.3, "description": "Determines the velocity of the projectile", "title": "Power" },
|
||||
"reflect_on_hurt": { "type": "boolean", "default": false, "description": "If true, this entity will be reflected back when hit", "title": "Reflect On Hurt" },
|
||||
"reflect_on_hurt": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, this entity will be reflected back when hit",
|
||||
"title": "Reflect On Hurt"
|
||||
},
|
||||
"semi_random_diff_damage": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
@@ -201,7 +251,12 @@
|
||||
"title": "Shoot Target"
|
||||
},
|
||||
"should_bounce": { "type": "boolean", "default": false, "description": "If true, the projectile will bounce upon hit", "title": "Should Bounce" },
|
||||
"splash_potion": { "type": "boolean", "default": false, "description": "If true, the projectile will be treated like a splash potion", "title": "Splash Potion" },
|
||||
"splash_potion": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, the projectile will be treated like a splash potion",
|
||||
"title": "Splash Potion"
|
||||
},
|
||||
"splash_range": { "type": "number", "default": 4, "description": "Radius in blocks of the 'splash' effect", "title": "Splash Range" },
|
||||
"stop_on_hurt": { "type": "boolean", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
|
||||
"uncertainty_base": {
|
||||
|
||||
@@ -72,8 +72,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" }
|
||||
}
|
||||
|
||||
@@ -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" } },
|
||||
@@ -59,8 +86,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" } },
|
||||
|
||||
@@ -14,10 +14,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",
|
||||
@@ -45,7 +57,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" }
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -9,7 +9,11 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"event": { "type": "string", "pattern": "^[a-zA-Z0-9_\\-:]+$", "description": "The event to fire", "title": "Event" },
|
||||
"target": { "type": "string", "description": "The target of the event", "enum": ["block", "damager", "other", "parent", "player", "self", "target"] }
|
||||
"target": {
|
||||
"type": "string",
|
||||
"description": "The target of the event",
|
||||
"enum": ["block", "damager", "other", "parent", "player", "self", "target"]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user