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

@@ -14,12 +14,23 @@
],
"title": "TODO Title"
},
"duration": { "type": "number", "default": 1200, "description": "Amount of time before the entity grows up, -1 for always a baby.", "title": "TODO Title" },
"duration": {
"type": "number",
"default": 1200,
"description": "Amount of time before the entity grows up, -1 for always a baby.",
"title": "TODO Title"
},
"feed_items": {
"description": "List of items that can be fed to the entity. Includes 'item' for the item name and 'growth' to define how much time it grows up by",
"oneOf": [
{ "type": "array", "items": { "$ref": "../../../../general/item/identifier.json" } },
{ "type": "array", "items": { "type": "object", "properties": { "growth": { "type": "number" }, "item": { "$ref": "../../../../general/item/identifier.json" } } } },
{
"type": "array",
"items": {
"type": "object",
"properties": { "growth": { "type": "number" }, "item": { "$ref": "../../../../general/item/identifier.json" } }
}
},
{ "type": "string", "$ref": "../../../../general/item/identifier.json" }
],
"title": "TODO Title"

View File

@@ -7,8 +7,23 @@
"description": "Sets the entity's delay between playing its ambient sound.",
"required": [],
"properties": {
"event_name": { "type": "string", "default": "ambient", "description": "Level sound event to be played as the ambient sound.", "title": "Event Name" },
"range": { "type": "number", "default": 16, "description": "Maximum time in seconds to randomly add to the ambient sound delay time.", "title": "Range" },
"value": { "type": "number", "default": 8, "description": "Minimum time in seconds before the entity plays its ambient sound again", "title": "Value" }
"event_name": {
"type": "string",
"default": "ambient",
"description": "Level sound event to be played as the ambient sound.",
"title": "Event Name"
},
"range": {
"type": "number",
"default": 16,
"description": "Maximum time in seconds to randomly add to the ambient sound delay time.",
"title": "Range"
},
"value": {
"type": "number",
"default": 8,
"description": "Minimum time in seconds before the entity plays its ambient sound again",
"title": "Value"
}
}
}

View File

@@ -13,8 +13,16 @@
"description": "If true, other entities of the same entity definition within the broadcastRange will also become angry",
"title": "Broadcast Anger"
},
"broadcast_filters": { "$ref": "../filters.json", "description": "Conditions that make this entry in the list valid", "title": "Broadcast Filters" },
"filters": { "$ref": "../filters.json", "description": "Filter out mob types that it should not attack while angry (other Piglins)", "title": "Filters" },
"broadcast_filters": {
"$ref": "../filters.json",
"description": "Conditions that make this entry in the list valid",
"title": "Broadcast Filters"
},
"filters": {
"$ref": "../filters.json",
"description": "Filter out mob types that it should not attack while angry (other Piglins)",
"title": "Filters"
},
"broadcast_range": {
"type": "integer",
"default": 20,
@@ -45,8 +53,18 @@
"description": "If true, other entities of the same entity definition within the broadcastRange will also become angry whenever this mob is attacked",
"title": "Broadcast Anger On Being Attacked"
},
"duration": { "type": "integer", "default": 25, "description": "The amount of time in seconds that the entity will be angry", "title": "Duration" },
"duration_delta": { "type": "integer", "default": 0, "description": "Variance in seconds added to the duration [-delta, delta]", "title": "Duration Delta" },
"duration": {
"type": "integer",
"default": 25,
"description": "The amount of time in seconds that the entity will be angry",
"title": "Duration"
},
"duration_delta": {
"type": "integer",
"default": 0,
"description": "Variance in seconds added to the duration [-delta, delta]",
"title": "Duration Delta"
},
"sound_interval": {
"description": "The range of time in seconds to randomly wait before playing the sound again",
"title": "Sound Interval",

View File

@@ -12,7 +12,12 @@
"description": "How much damage per tick is applied to entities that enter the damage range.",
"title": "Damage Per Tick"
},
"damage_range": { "type": "number", "default": 0.2, "description": "How close a hostile entity must be to have the damage applied.", "title": "Damage Range" },
"damage_range": {
"type": "number",
"default": 0.2,
"description": "How close a hostile entity must be to have the damage applied.",
"title": "Damage Range"
},
"entity_filter": { "$ref": "../filters.json", "description": "Entity_filter", "title": "Filter" },
"cause": { "type": "string", "description": "TODO", "title": "Cause", "$ref": "../../../../general/entity/damage_source.json" }
}

View File

@@ -23,9 +23,19 @@
"additionalProperties": false,
"description": "List of items that can be used to boost while riding this entity.",
"properties": {
"damage": { "type": "integer", "default": 1, "description": "This is the damage that the item will take each time it is used.", "title": "Damage" },
"damage": {
"type": "integer",
"default": 1,
"description": "This is the damage that the item will take each time it is used.",
"title": "Damage"
},
"item": { "type": "string", "default": "", "description": "Name of the item that can be used to boost.", "title": "Item" },
"replace_item": { "type": "string", "default": "", "description": "The item used to boost will become this item once it is used up.", "title": "Replace Item" }
"replace_item": {
"type": "string",
"default": "",
"description": "The item used to boost will become this item once it is used up.",
"title": "Replace Item"
}
}
}
}

View File

@@ -34,7 +34,12 @@
"title": "Blocks"
}
},
{ "description": "A block type required nearby for the entity to breed.", "type": "string", "$ref": "../../../../general/blocks_item.json", "title": "Blocks" }
{
"description": "A block type required nearby for the entity to breed.",
"type": "string",
"$ref": "../../../../general/blocks_item.json",
"title": "Blocks"
}
]
},
"count": { "type": "number", "description": "The number of the required block types nearby for the entity to breed.", "title": "Count" },
@@ -57,7 +62,12 @@
"default": true,
"title": "Blend Attributes"
},
"breed_cooldown": { "description": "Time in seconds before the Entity can breed again.", "type": "number", "default": 60.0, "title": "Breed Cooldown" },
"breed_cooldown": {
"description": "Time in seconds before the Entity can breed again.",
"type": "number",
"default": 60.0,
"title": "Breed Cooldown"
},
"breed_items": {
"description": "The list of items that can be used to get the entity into the 'love' state",
"title": "Breed Items",
@@ -115,7 +125,14 @@
"description": "Determines how likely the babies are to NOT inherit one of their parent's variances. Values are between 0.0 and 1.0, with a higher number meaning more likely to mutate.",
"additionalProperties": false,
"properties": {
"color": { "type": "number", "default": 0, "minimum": 0.0, "maximum": 1.0, "description": "The percentage chance of a mutation on the entity's color.", "title": "Color" },
"color": {
"type": "number",
"default": 0,
"minimum": 0.0,
"maximum": 1.0,
"description": "The percentage chance of a mutation on the entity's color.",
"title": "Color"
},
"extra_variant": {
"type": "number",
"default": 0,
@@ -135,14 +152,29 @@
},
"title": "Mutation Factor"
},
"causes_pregnancy": { "type": "boolean", "default": false, "description": "If true, the entity will become pregnant instead of spawning a baby.", "title": "Causes Pregnancy" },
"inherit_tamed": { "type": "boolean", "default": true, "description": "If true, the babies will be automatically tamed if its parents are", "title": "Inherit Tamed" },
"causes_pregnancy": {
"type": "boolean",
"default": false,
"description": "If true, the entity will become pregnant instead of spawning a baby.",
"title": "Causes Pregnancy"
},
"inherit_tamed": {
"type": "boolean",
"default": true,
"description": "If true, the babies will be automatically tamed if its parents are",
"title": "Inherit Tamed"
},
"require_full_health": {
"type": "boolean",
"default": false,
"description": "If true, the entity needs to be at full health before it can breed.",
"title": "Require Full Health"
},
"require_tame": { "type": "boolean", "default": true, "description": "If true, the entities need to be tamed first before they can breed.", "title": "Require Tame" }
"require_tame": {
"type": "boolean",
"default": true,
"description": "If true, the entities need to be tamed first before they can breed.",
"title": "Require Tame"
}
}
}

View File

@@ -12,7 +12,12 @@
"description": "Applies gravity each tick. Causes more of a wave simulation, but will cause more gravity to be applied outside liquids.",
"title": "Apply Gravity"
},
"base_buoyancy": { "type": "number", "default": 1, "description": "Base buoyancy used to calculate how much will a mob float.", "title": "Base Buoyancy" },
"base_buoyancy": {
"type": "number",
"default": 1,
"description": "Base buoyancy used to calculate how much will a mob float.",
"title": "Base Buoyancy"
},
"big_wave_probability": {
"type": "number",
"default": 0.03,
@@ -37,6 +42,11 @@
"title": "Liquid Blocks",
"items": { "type": "string", "title": "Block ID" }
},
"simulate_waves": { "type": "boolean", "default": true, "description": "Should the movement simulate waves going through.", "title": "Simulate Waves" }
"simulate_waves": {
"type": "boolean",
"default": true,
"description": "Should the movement simulate waves going through.",
"title": "Simulate Waves"
}
}
}

View File

@@ -6,13 +6,23 @@
"description": "Specifies hunt celebration behavior.",
"additionalProperties": false,
"properties": {
"broadcast": { "type": "boolean", "default": true, "description": "If true, celebration will be broadcasted to other entities in the radius.", "title": "Broadcast" },
"broadcast": {
"type": "boolean",
"default": true,
"description": "If true, celebration will be broadcasted to other entities in the radius.",
"title": "Broadcast"
},
"celebration_targets": {
"$ref": "../filters.json",
"description": "The list of conditions that target of hunt must satisfy to initiate celebration.",
"title": "Celeberation Targets"
},
"celebrate_sound": { "type": "string", "default": "", "description": "The sound event to play when the mob is celebrating", "title": "Celebrate Sound" },
"celebrate_sound": {
"type": "string",
"default": "",
"description": "The sound event to play when the mob is celebrating",
"title": "Celebrate Sound"
},
"duration": { "type": "integer", "default": 4, "description": "Duration, in seconds, of celebration", "title": "Duration" },
"radius": {
"type": "number",

View File

@@ -18,7 +18,12 @@
"properties": {
"width": { "type": "number", "title": "Width", "description": "TODO" },
"height": { "type": "number", "title": "Height", "description": "TODO" },
"pivot": { "type": "array", "title": "Pivot", "description": "TODO", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] }
"pivot": {
"type": "array",
"title": "Pivot",
"description": "TODO",
"items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }]
}
}
}
}

View File

@@ -37,7 +37,11 @@
"event": { "type": "string", "pattern": "^.*$", "description": "TODO description: event", "title": "Event" },
"target": { "$ref": "../filters/types/base_subject.json", "description": "TODO description: target", "title": "Target" }
},
"on_damage_sound_event": { "type": "string", "description": "Defines what sound to play, if any, when the on_damage filters are met.", "title": "On Damage Sound Event" }
"on_damage_sound_event": {
"type": "string",
"description": "Defines what sound to play, if any, when the on_damage filters are met.",
"title": "On Damage Sound Event"
}
}
}
}

View File

@@ -16,8 +16,18 @@
"type": "object",
"additionalProperties": false,
"properties": {
"max_distance": { "type": "integer", "default": 128, "description": "Maximum distance for standard despawn rules to instantly despawn the mob.", "title": "Max Distance" },
"min_distance": { "type": "integer", "default": 32, "description": "Minimum distance for standard despawn rules to try to despawn the mob.", "title": "Min Distance" }
"max_distance": {
"type": "integer",
"default": 128,
"description": "Maximum distance for standard despawn rules to instantly despawn the mob.",
"title": "Max Distance"
},
"min_distance": {
"type": "integer",
"default": 32,
"description": "Minimum distance for standard despawn rules to try to despawn the mob.",
"title": "Min Distance"
}
},
"description": "TODO description",
"title": "TODO Title"
@@ -45,7 +55,12 @@
"description": "The amount of time in seconds that the mob must be inactive.",
"title": "Min Range Inactivity Timer"
},
"min_range_random_chance": { "type": "integer", "default": 800, "description": "A random chance between 1 and the given value.", "title": "Min Range Random Chance" },
"min_range_random_chance": {
"type": "integer",
"default": 800,
"description": "A random chance between 1 and the given value.",
"title": "Min Range Random Chance"
},
"remove_child_entities": {
"type": "boolean",
"default": false,

View File

@@ -18,7 +18,12 @@
"description": "The minimum number of entities that must pass the filter conditions for the event to send.",
"title": "Minimum Count"
},
"relative_range": { "type": "boolean", "default": true, "description": "If true the sensor range is additive on top of the entity's size.", "title": "Relative Range" },
"relative_range": {
"type": "boolean",
"default": true,
"description": "If true the sensor range is additive on top of the entity's size.",
"title": "Relative Range"
},
"require_all": {
"type": "boolean",
"default": false,

View File

@@ -18,17 +18,34 @@
"accepted_items": {
"type": "array",
"description": "The list of items that can go in this slot",
"items": { "type": "string", "description": "A item name", "$ref": "../../../../general/item/identifier.json", "title": "Accepted Items" },
"items": {
"type": "string",
"description": "A item name",
"$ref": "../../../../general/item/identifier.json",
"title": "Accepted Items"
},
"title": "Accepted Items"
},
"item": { "$ref": "../../../../general/item/identifier.json", "description": "Identifier of the item that can be equipped for this slot", "title": "Item" },
"item": {
"$ref": "../../../../general/item/identifier.json",
"description": "Identifier of the item that can be equipped for this slot",
"title": "Item"
},
"interact_text": {
"type": "string",
"description": "Text to be displayed when the entity can be equipped with this item when playing with Touch-screen controls",
"title": "Interact Text"
},
"on_equip": { "$ref": "../types/event.json", "description": "Event to trigger when this entity is equipped with this item", "title": "On Equip" },
"on_unequip": { "$ref": "../types/event.json", "description": "Event to trigger when this item is removed from this entity", "title": "On Unequip" }
"on_equip": {
"$ref": "../types/event.json",
"description": "Event to trigger when this entity is equipped with this item",
"title": "On Equip"
},
"on_unequip": {
"$ref": "../types/event.json",
"description": "Event to trigger when this item is removed from this entity",
"title": "On Unequip"
}
},
"title": "Slots"
},

View File

@@ -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,
@@ -27,13 +37,23 @@
"title": "Fuse Length",
"oneOf": [{ "type": "array", "items": [{ "type": "number" }, { "type": "number" }] }, { "type": "number" }]
},
"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"
}
}
}

View File

@@ -6,7 +6,12 @@
"description": "Allows entities to flock in groups in water or not.",
"additionalProperties": false,
"properties": {
"block_distance": { "type": "number", "default": 0, "description": "The amount of blocks away the entity will look at to push away from.", "title": "Block Distance" },
"block_distance": {
"type": "number",
"default": 0,
"description": "The amount of blocks away the entity will look at to push away from.",
"title": "Block Distance"
},
"block_weight": { "type": "number", "default": 0, "description": "The weight of the push back away from blocks.", "title": "Block Weight" },
"breach_influence": {
"type": "number",
@@ -14,8 +19,18 @@
"description": "The amount of push back given to a flocker that breaches out of the water.",
"title": "Breach Influence"
},
"cohesion_threshold": { "type": "number", "default": 1, "description": "The threshold in which to start applying cohesion.", "title": "Cohesion Threshold" },
"cohesion_weight": { "type": "number", "default": 1, "description": "The weight applied for the cohesion steering of the flock.", "title": "Cohesion Weight" },
"cohesion_threshold": {
"type": "number",
"default": 1,
"description": "The threshold in which to start applying cohesion.",
"title": "Cohesion Threshold"
},
"cohesion_weight": {
"type": "number",
"default": 1,
"description": "The weight applied for the cohesion steering of the flock.",
"title": "Cohesion Weight"
},
"goal_weight": { "type": "number", "default": 0, "description": "The weight on which to apply on the goal output.", "title": "Goal Weight" },
"high_flock_limit": {
"type": "integer",
@@ -23,8 +38,18 @@
"description": "Determines the high bound amount of entities that can be allowed in the flock.",
"title": "High Flock Limit"
},
"in_water": { "type": "boolean", "default": false, "description": "Tells the Flocking Component if the entity exists in water.", "title": "In Water" },
"influence_radius": { "type": "number", "default": 0, "description": "The area around the entity that allows others to be added to the flock.", "title": "Influence Radius" },
"in_water": {
"type": "boolean",
"default": false,
"description": "Tells the Flocking Component if the entity exists in water.",
"title": "In Water"
},
"influence_radius": {
"type": "number",
"default": 0,
"description": "The area around the entity that allows others to be added to the flock.",
"title": "Influence Radius"
},
"innner_cohesion_threshold": {
"type": "number",
"default": 0,
@@ -57,7 +82,12 @@
"description": "The distance that is determined to be to close to another flocking and to start applying separation.",
"title": "Separation Threshold"
},
"separation_weight": { "type": "number", "default": 1, "description": "The weight applied to the separation of the flock.", "title": "Separation Weight" },
"separation_weight": {
"type": "number",
"default": 1,
"description": "The weight applied to the separation of the flock.",
"title": "Separation Weight"
},
"use_center_of_mass": {
"type": "boolean",
"default": false,

View File

@@ -11,7 +11,12 @@
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED",
"properties": {
"cooldown": { "type": "number", "default": 0.0, "description": "An optional cool down in seconds to prevent spamming interactions.", "title": "Cooldown" },
"cooldown": {
"type": "number",
"default": 0.0,
"description": "An optional cool down in seconds to prevent spamming interactions.",
"title": "Cooldown"
},
"items": {
"type": "array",
"description": "The list of items that can be given to the entity to place in their inventory.",

View File

@@ -6,7 +6,14 @@
"description": "Could increase crop growth when entity walks over crop.",
"additionalProperties": false,
"properties": {
"chance": { "type": "number", "default": 0, "description": "Value between 0-1. Chance of success per tick.", "minimum": 0, "maximum": 1, "title": "Chance" },
"chance": {
"type": "number",
"default": 0,
"description": "Value between 0-1. Chance of success per tick.",
"minimum": 0,
"maximum": 1,
"title": "Chance"
},
"charges": { "type": "integer", "default": 10, "description": "Number of charges", "title": "Charges" }
}
}

View File

@@ -10,7 +10,10 @@
"value": {
"description": "UNDOCUMENTATED",
"title": "Value",
"oneOf": [{ "type": "object", "additionalProperties": false, "properties": { "range_min": { "type": "number" }, "range_max": { "type": "number" } } }, { "type": "number" }]
"oneOf": [
{ "type": "object", "additionalProperties": false, "properties": { "range_min": { "type": "number" }, "range_max": { "type": "number" } } },
{ "type": "number" }
]
}
}
}

View File

@@ -9,8 +9,17 @@
"interaction_spec": {
"type": "object",
"properties": {
"add_items": { "type": "object", "description": "Loot table with items to add to the player's inventory upon successful interaction.", "title": "Add Items" },
"cooldown": { "type": "number", "default": 0, "description": "Time in seconds before this entity can be interacted with again.", "title": "Cooldown" },
"add_items": {
"type": "object",
"description": "Loot table with items to add to the player's inventory upon successful interaction.",
"title": "Add Items"
},
"cooldown": {
"type": "number",
"default": 0,
"description": "Time in seconds before this entity can be interacted with again.",
"title": "Cooldown"
},
"hurt_item": {
"type": "integer",
"default": 0,
@@ -35,20 +44,44 @@
"title": "Particle Offset Towards Interactor"
},
"particle_type": { "type": "string", "description": "The type of particle that will be spawned.", "title": "Particle Type" },
"particle_y_offset": { "type": "number", "description": "Will offset the particle this amount in the y direction.", "title": "Particle Y Offset" }
"particle_y_offset": {
"type": "number",
"description": "Will offset the particle this amount in the y direction.",
"title": "Particle Y Offset"
}
}
},
"play_sounds": { "type": "string", "default": "", "description": "List of sounds to play when the interaction occurs.", "title": "Play Sounds" },
"spawn_entities": { "type": "string", "default": "", "description": "List of entities to spawn when the interaction occurs.", "title": "Spawn Entities" },
"play_sounds": {
"type": "string",
"default": "",
"description": "List of sounds to play when the interaction occurs.",
"title": "Play Sounds"
},
"spawn_entities": {
"type": "string",
"default": "",
"description": "List of entities to spawn when the interaction occurs.",
"title": "Spawn Entities"
},
"spawn_items": {
"type": "object",
"description": "Loot table with items to drop on the ground upon successful interaction.",
"title": "Spawn Items",
"properties": {
"table": { "type": "string", "default": "", "description": "File path, relative to the Behavior Pack's path, to the loot table file.", "title": "Table" }
"table": {
"type": "string",
"default": "",
"description": "File path, relative to the Behavior Pack's path, to the loot table file.",
"title": "Table"
}
}
},
"swing": { "type": "boolean", "default": false, "description": "If true, the player will do the 'swing' animation when interacting with this entity.", "title": "Swing" },
"swing": {
"type": "boolean",
"default": false,
"description": "If true, the player will do the 'swing' animation when interacting with this entity.",
"title": "Swing"
},
"transform_to_item": {
"type": "string",
"default": "",

View File

@@ -12,7 +12,12 @@
"description": "If true, players can leash this entity even if it is already leashed to another mob.",
"title": "Can Be Stolen"
},
"hard_distance": { "type": "number", "default": 6, "description": "Distance in blocks at which the leash stiffens, restricting movement.", "title": "Hard Distance" },
"hard_distance": {
"type": "number",
"default": 6,
"description": "Distance in blocks at which the leash stiffens, restricting movement.",
"title": "Hard Distance"
},
"max_distance": { "type": "number", "default": 10, "description": "Distance in blocks at which the leash breaks.", "title": "Max Distance" },
"on_leash": { "$ref": "../types/event.json", "description": "Event to call when this entity is leashed.", "title": "On Leash" },
"on_unleash": { "$ref": "../types/event.json", "description": "Event to call when this entity is unleashed.", "title": "On Unleash" },

View File

@@ -20,16 +20,40 @@
"description": "The range for the random amount of time during which the entity is 'cooling down' and won't get angered or look for a target",
"title": "TODO Title"
},
"look_event": { "type": "string", "description": "The event identifier to run when the entities specified in filters look at this entity", "title": "TODO Title" },
"look_event": {
"type": "string",
"description": "The event identifier to run when the entities specified in filters look at this entity",
"title": "TODO Title"
},
"mAllowInvulnerable": {
"type": "boolean",
"default": false,
"description": "If true, invulnerable entities (e.g. Players in creative mode) are considered valid targets",
"title": "TODO Title"
},
"searchRadius": { "type": "number", "default": 10, "description": "Maximum distance this entity will look for another entity looking at it", "title": "TODO Title" },
"setTarget": { "type": "boolean", "default": true, "description": "If true, this entity will set the attack target as the entity that looked at it", "title": "TODO Title" },
"search_radius": { "type": "number", "default": 10, "description": "Maximum distance this entity will look for another entity looking at it.", "title": "Search Radius" },
"set_target": { "type": "boolean", "default": true, "description": "If true, this entity will set the attack target as the entity that looked at it.", "title": "Set Target" }
"searchRadius": {
"type": "number",
"default": 10,
"description": "Maximum distance this entity will look for another entity looking at it",
"title": "TODO Title"
},
"setTarget": {
"type": "boolean",
"default": true,
"description": "If true, this entity will set the attack target as the entity that looked at it",
"title": "TODO Title"
},
"search_radius": {
"type": "number",
"default": 10,
"description": "Maximum distance this entity will look for another entity looking at it.",
"title": "Search Radius"
},
"set_target": {
"type": "boolean",
"default": true,
"description": "If true, this entity will set the attack target as the entity that looked at it.",
"title": "Set Target"
}
}
}

View File

@@ -6,9 +6,19 @@
"description": "A component that applies a mob effect to entities that get within range.",
"additionalProperties": false,
"properties": {
"effect_range": { "type": "number", "default": 0.2, "description": "How close a hostile entity must be to have the mob effect applied.", "title": "Effect Range" },
"effect_range": {
"type": "number",
"default": 0.2,
"description": "How close a hostile entity must be to have the mob effect applied.",
"title": "Effect Range"
},
"effect_time": { "type": "integer", "default": 10, "description": "How long the applied mob effect lasts in seconds.", "title": "Effect Time" },
"mob_effect": { "type": "string", "default": "", "description": "The mob effect that is applied to entities that enter this entities effect range.", "title": "Mob Effect" },
"mob_effect": {
"type": "string",
"default": "",
"description": "The mob effect that is applied to entities that enter this entities effect range.",
"title": "Mob Effect"
},
"entity_filter": { "$ref": "../filters.json", "title": "Entity Filter", "description": "TODO" }
}
}

View File

@@ -5,5 +5,7 @@
"description": "This move control causes the mob to hover.",
"type": "object",
"additionalProperties": false,
"properties": { "max_turn": { "type": "number", "default": 30, "description": "The maximum number in degrees the mob can turn per tick.", "title": "Max Turn" } }
"properties": {
"max_turn": { "type": "number", "default": 30, "description": "The maximum number in degrees the mob can turn per tick.", "title": "Max Turn" }
}
}

View File

@@ -13,13 +13,27 @@
"description": "Describes the special names for this entity and the events to call when the entity acquires those names",
"title": "Name Action",
"properties": {
"name_filter": { "type": "string", "default": "", "description": "List of special names that will cause the events defined in 'on_named' to fire", "title": "Name Filter" },
"on_named": { "$ref": "../types/event.json", "description": "Event to be called when this entity acquires the name specified in 'name_filter'", "title": "On Named" }
"name_filter": {
"type": "string",
"default": "",
"description": "List of special names that will cause the events defined in 'on_named' to fire",
"title": "Name Filter"
},
"on_named": {
"$ref": "../types/event.json",
"description": "Event to be called when this entity acquires the name specified in 'name_filter'",
"title": "On Named"
}
}
}
},
"properties": {
"allow_name_tag_renaming": { "type": "boolean", "default": true, "description": "If true, this entity can be renamed with name tags", "title": "Allow Name Tag Renaming" },
"allow_name_tag_renaming": {
"type": "boolean",
"default": true,
"description": "If true, this entity can be renamed with name tags",
"title": "Allow Name Tag Renaming"
},
"always_show": { "type": "boolean", "default": false, "description": "If true, the name will always be shown", "title": "Always Show" },
"default_trigger": { "$ref": "../types/trigger.json", "description": "Trigger to run when the entity gets named", "title": "Default Trigger" },
"name_actions": {

View File

@@ -24,21 +24,36 @@
"description": "Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths",
"title": "Avoid Sun"
},
"avoid_water": { "type": "boolean", "default": false, "description": "Tells the pathfinder to avoid water when creating a path", "title": "Avoid Water" },
"avoid_water": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid water when creating a path",
"title": "Avoid Water"
},
"blocks_to_avoid": {
"type": "array",
"description": "Tells the pathfinder which blocks to avoid when creating a path",
"title": "Blocks To Avoid",
"items": { "title": "Block", "description": "UNDOCUMENTATED", "$ref": "../../../../general/block/identifier.json" }
},
"can_breach": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)", "title": "Can Breach" },
"can_breach": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)",
"title": "Can Breach"
},
"can_break_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed door and break it",
"title": "Can Break Doors"
},
"can_jump": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can jump up blocks", "title": "Can Jump" },
"can_jump": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can jump up blocks",
"title": "Can Jump"
},
"can_open_doors": {
"type": "boolean",
"default": false,
@@ -51,8 +66,18 @@
"description": "Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door",
"title": "Can Open Iron Doors"
},
"can_pass_doors": { "type": "boolean", "default": true, "description": "Whether a path can be created through a door", "title": "Can Pass Doors" },
"can_path_from_air": { "type": "boolean", "default": false, "description": "Tells the pathfinder that it can start pathing when in the air", "title": "Can Path From Air" },
"can_pass_doors": {
"type": "boolean",
"default": true,
"description": "Whether a path can be created through a door",
"title": "Can Pass Doors"
},
"can_path_from_air": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can start pathing when in the air",
"title": "Can Path From Air"
},
"can_path_over_lava": {
"type": "boolean",
"default": false,
@@ -65,20 +90,35 @@
"description": "Tells the pathfinder whether or not it can travel on the surface of the water",
"title": "Can Path Over Water"
},
"can_sink": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water", "title": "Can Sink" },
"can_sink": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water",
"title": "Can Sink"
},
"can_swim": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path",
"title": "Can Swim"
},
"can_walk": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can walk on the ground outside water", "title": "Can Walk" },
"can_walk": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can walk on the ground outside water",
"title": "Can Walk"
},
"can_walk_in_lava": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel in lava like walking on ground",
"title": "Can Walk In Lava"
},
"is_amphibious": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can walk on the ground underwater", "title": "Is Amphibious" }
"is_amphibious": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can walk on the ground underwater",
"title": "Is Amphibious"
}
}
}

View File

@@ -24,21 +24,36 @@
"description": "Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths",
"title": "Avoid Sun"
},
"avoid_water": { "type": "boolean", "default": false, "description": "Tells the pathfinder to avoid water when creating a path", "title": "Avoid Water" },
"avoid_water": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid water when creating a path",
"title": "Avoid Water"
},
"blocks_to_avoid": {
"type": "array",
"description": "Tells the pathfinder which blocks to avoid when creating a path",
"title": "Blocks To Avoid",
"items": { "title": "Block", "description": "UNDOCUMENTATED", "$ref": "../../../../general/block/identifier.json" }
},
"can_breach": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)", "title": "Can Breach" },
"can_breach": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)",
"title": "Can Breach"
},
"can_break_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed door and break it",
"title": "Can Break Doors"
},
"can_jump": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can jump up blocks", "title": "Can Jump" },
"can_jump": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can jump up blocks",
"title": "Can Jump"
},
"can_open_doors": {
"type": "boolean",
"default": false,
@@ -51,8 +66,18 @@
"description": "Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door",
"title": "Can Open Iron Doors"
},
"can_pass_doors": { "type": "boolean", "default": true, "description": "Whether a path can be created through a door", "title": "Can Pass Doors" },
"can_path_from_air": { "type": "boolean", "default": false, "description": "Tells the pathfinder that it can start pathing when in the air", "title": "Can Path From Air" },
"can_pass_doors": {
"type": "boolean",
"default": true,
"description": "Whether a path can be created through a door",
"title": "Can Pass Doors"
},
"can_path_from_air": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can start pathing when in the air",
"title": "Can Path From Air"
},
"can_path_over_lava": {
"type": "boolean",
"default": false,
@@ -65,20 +90,35 @@
"description": "Tells the pathfinder whether or not it can travel on the surface of the water",
"title": "Can Path Over Water"
},
"can_sink": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water", "title": "Can Sink" },
"can_sink": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water",
"title": "Can Sink"
},
"can_swim": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path",
"title": "Can Swim"
},
"can_walk": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can walk on the ground outside water", "title": "Can Walk" },
"can_walk": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can walk on the ground outside water",
"title": "Can Walk"
},
"can_walk_in_lava": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel in lava like walking on ground",
"title": "Can Walk In Lava"
},
"is_amphibious": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can walk on the ground underwater", "title": "Is Amphibious" }
"is_amphibious": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can walk on the ground underwater",
"title": "Is Amphibious"
}
}
}

View File

@@ -24,21 +24,36 @@
"description": "Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths",
"title": "Avoid Sun"
},
"avoid_water": { "type": "boolean", "default": false, "description": "Tells the pathfinder to avoid water when creating a path", "title": "Avoid Water" },
"avoid_water": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid water when creating a path",
"title": "Avoid Water"
},
"blocks_to_avoid": {
"type": "array",
"description": "Tells the pathfinder which blocks to avoid when creating a path",
"title": "Blocks To Avoid",
"items": { "title": "Block", "description": "UNDOCUMENTATED", "$ref": "../../../../general/block/identifier.json" }
},
"can_breach": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)", "title": "Can Breach" },
"can_breach": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)",
"title": "Can Breach"
},
"can_break_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed door and break it",
"title": "Can Break Doors"
},
"can_jump": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can jump up blocks", "title": "Can Jump" },
"can_jump": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can jump up blocks",
"title": "Can Jump"
},
"can_open_doors": {
"type": "boolean",
"default": false,
@@ -51,8 +66,18 @@
"description": "Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door",
"title": "Can Open Iron Doors"
},
"can_pass_doors": { "type": "boolean", "default": true, "description": "Whether a path can be created through a door", "title": "Can Pass Doors" },
"can_path_from_air": { "type": "boolean", "default": false, "description": "Tells the pathfinder that it can start pathing when in the air", "title": "Can Path From Air" },
"can_pass_doors": {
"type": "boolean",
"default": true,
"description": "Whether a path can be created through a door",
"title": "Can Pass Doors"
},
"can_path_from_air": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can start pathing when in the air",
"title": "Can Path From Air"
},
"can_path_over_lava": {
"type": "boolean",
"default": false,
@@ -65,20 +90,35 @@
"description": "Tells the pathfinder whether or not it can travel on the surface of the water",
"title": "Can Path Over Water"
},
"can_sink": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water", "title": "Can Sink" },
"can_sink": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water",
"title": "Can Sink"
},
"can_swim": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path",
"title": "Can Swim"
},
"can_walk": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can walk on the ground outside water", "title": "Can Walk" },
"can_walk": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can walk on the ground outside water",
"title": "Can Walk"
},
"can_walk_in_lava": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel in lava like walking on ground",
"title": "Can Walk In Lava"
},
"is_amphibious": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can walk on the ground underwater", "title": "Is Amphibious" }
"is_amphibious": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can walk on the ground underwater",
"title": "Is Amphibious"
}
}
}

View File

@@ -24,21 +24,36 @@
"description": "Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths",
"title": "Avoid Sun"
},
"avoid_water": { "type": "boolean", "default": false, "description": "Tells the pathfinder to avoid water when creating a path", "title": "Avoid Water" },
"avoid_water": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid water when creating a path",
"title": "Avoid Water"
},
"blocks_to_avoid": {
"type": "array",
"description": "Tells the pathfinder which blocks to avoid when creating a path",
"title": "Blocks To Avoid",
"items": { "title": "Block", "description": "UNDOCUMENTATED", "$ref": "../../../../general/block/identifier.json" }
},
"can_breach": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)", "title": "Can Breach" },
"can_breach": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)",
"title": "Can Breach"
},
"can_break_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed door and break it",
"title": "Can Break Doors"
},
"can_jump": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can jump up blocks", "title": "Can Jump" },
"can_jump": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can jump up blocks",
"title": "Can Jump"
},
"can_open_doors": {
"type": "boolean",
"default": false,
@@ -51,8 +66,18 @@
"description": "Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door",
"title": "Can Open Iron Doors"
},
"can_pass_doors": { "type": "boolean", "default": true, "description": "Whether a path can be created through a door", "title": "Can Pass Doors" },
"can_path_from_air": { "type": "boolean", "default": false, "description": "Tells the pathfinder that it can start pathing when in the air", "title": "Can Path From Air" },
"can_pass_doors": {
"type": "boolean",
"default": true,
"description": "Whether a path can be created through a door",
"title": "Can Pass Doors"
},
"can_path_from_air": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can start pathing when in the air",
"title": "Can Path From Air"
},
"can_path_over_lava": {
"type": "boolean",
"default": false,
@@ -65,20 +90,35 @@
"description": "Tells the pathfinder whether or not it can travel on the surface of the water",
"title": "Can Path Over Water"
},
"can_sink": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water", "title": "Can Sink" },
"can_sink": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water",
"title": "Can Sink"
},
"can_swim": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path",
"title": "Can Swim"
},
"can_walk": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can walk on the ground outside water", "title": "Can Walk" },
"can_walk": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can walk on the ground outside water",
"title": "Can Walk"
},
"can_walk_in_lava": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel in lava like walking on ground",
"title": "Can Walk In Lava"
},
"is_amphibious": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can walk on the ground underwater", "title": "Is Amphibious" }
"is_amphibious": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can walk on the ground underwater",
"title": "Is Amphibious"
}
}
}

View File

@@ -24,21 +24,36 @@
"description": "Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths",
"title": "Avoid Sun"
},
"avoid_water": { "type": "boolean", "default": false, "description": "Tells the pathfinder to avoid water when creating a path", "title": "Avoid Water" },
"avoid_water": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid water when creating a path",
"title": "Avoid Water"
},
"blocks_to_avoid": {
"type": "array",
"description": "Tells the pathfinder which blocks to avoid when creating a path",
"title": "Blocks To Avoid",
"items": { "title": "Block", "description": "UNDOCUMENTATED", "$ref": "../../../../general/block/identifier.json" }
},
"can_breach": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)", "title": "Can Breach" },
"can_breach": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)",
"title": "Can Breach"
},
"can_break_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed door and break it",
"title": "Can Break Doors"
},
"can_jump": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can jump up blocks", "title": "Can Jump" },
"can_jump": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can jump up blocks",
"title": "Can Jump"
},
"can_open_doors": {
"type": "boolean",
"default": false,
@@ -51,8 +66,18 @@
"description": "Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door",
"title": "Can Open Iron Doors"
},
"can_pass_doors": { "type": "boolean", "default": true, "description": "Whether a path can be created through a door", "title": "Can Pass Doors" },
"can_path_from_air": { "type": "boolean", "default": false, "description": "Tells the pathfinder that it can start pathing when in the air", "title": "Can Path From Air" },
"can_pass_doors": {
"type": "boolean",
"default": true,
"description": "Whether a path can be created through a door",
"title": "Can Pass Doors"
},
"can_path_from_air": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can start pathing when in the air",
"title": "Can Path From Air"
},
"can_path_over_lava": {
"type": "boolean",
"default": false,
@@ -65,20 +90,35 @@
"description": "Tells the pathfinder whether or not it can travel on the surface of the water",
"title": "Can Path Over Water"
},
"can_sink": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water", "title": "Can Sink" },
"can_sink": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water",
"title": "Can Sink"
},
"can_swim": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path",
"title": "Can Swim"
},
"can_walk": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can walk on the ground outside water", "title": "Can Walk" },
"can_walk": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can walk on the ground outside water",
"title": "Can Walk"
},
"can_walk_in_lava": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel in lava like walking on ground",
"title": "Can Walk In Lava"
},
"is_amphibious": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can walk on the ground underwater", "title": "Is Amphibious" }
"is_amphibious": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can walk on the ground underwater",
"title": "Is Amphibious"
}
}
}

View File

@@ -24,21 +24,36 @@
"description": "Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths",
"title": "Avoid Sun"
},
"avoid_water": { "type": "boolean", "default": false, "description": "Tells the pathfinder to avoid water when creating a path", "title": "Avoid Water" },
"avoid_water": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid water when creating a path",
"title": "Avoid Water"
},
"blocks_to_avoid": {
"type": "array",
"description": "Tells the pathfinder which blocks to avoid when creating a path",
"title": "Blocks To Avoid",
"items": { "title": "Block", "description": "UNDOCUMENTATED", "$ref": "../../../../general/block/identifier.json" }
},
"can_breach": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)", "title": "Can Breach" },
"can_breach": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)",
"title": "Can Breach"
},
"can_break_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed door and break it",
"title": "Can Break Doors"
},
"can_jump": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can jump up blocks", "title": "Can Jump" },
"can_jump": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can jump up blocks",
"title": "Can Jump"
},
"can_open_doors": {
"type": "boolean",
"default": false,
@@ -51,8 +66,18 @@
"description": "Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door",
"title": "Can Open Iron Doors"
},
"can_pass_doors": { "type": "boolean", "default": true, "description": "Whether a path can be created through a door", "title": "Can Pass Doors" },
"can_path_from_air": { "type": "boolean", "default": false, "description": "Tells the pathfinder that it can start pathing when in the air", "title": "Can Path From Air" },
"can_pass_doors": {
"type": "boolean",
"default": true,
"description": "Whether a path can be created through a door",
"title": "Can Pass Doors"
},
"can_path_from_air": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can start pathing when in the air",
"title": "Can Path From Air"
},
"can_path_over_lava": {
"type": "boolean",
"default": false,
@@ -65,20 +90,35 @@
"description": "Tells the pathfinder whether or not it can travel on the surface of the water",
"title": "Can Path Over Water"
},
"can_sink": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water", "title": "Can Sink" },
"can_sink": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water",
"title": "Can Sink"
},
"can_swim": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path",
"title": "Can Swim"
},
"can_walk": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can walk on the ground outside water", "title": "Can Walk" },
"can_walk": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can walk on the ground outside water",
"title": "Can Walk"
},
"can_walk_in_lava": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel in lava like walking on ground",
"title": "Can Walk In Lava"
},
"is_amphibious": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can walk on the ground underwater", "title": "Is Amphibious" }
"is_amphibious": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can walk on the ground underwater",
"title": "Is Amphibious"
}
}
}

View File

@@ -24,21 +24,36 @@
"description": "Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths",
"title": "Avoid Sun"
},
"avoid_water": { "type": "boolean", "default": false, "description": "Tells the pathfinder to avoid water when creating a path", "title": "Avoid Water" },
"avoid_water": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid water when creating a path",
"title": "Avoid Water"
},
"blocks_to_avoid": {
"type": "array",
"description": "Tells the pathfinder which blocks to avoid when creating a path",
"title": "Blocks To Avoid",
"items": { "title": "Block", "description": "UNDOCUMENTATED", "$ref": "../../../../general/block/identifier.json" }
},
"can_breach": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)", "title": "Can Breach" },
"can_breach": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)",
"title": "Can Breach"
},
"can_break_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed door and break it",
"title": "Can Break Doors"
},
"can_jump": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can jump up blocks", "title": "Can Jump" },
"can_jump": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can jump up blocks",
"title": "Can Jump"
},
"can_open_doors": {
"type": "boolean",
"default": false,
@@ -51,8 +66,18 @@
"description": "Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door",
"title": "Can Open Iron Doors"
},
"can_pass_doors": { "type": "boolean", "default": true, "description": "Whether a path can be created through a door", "title": "Can Pass Doors" },
"can_path_from_air": { "type": "boolean", "default": false, "description": "Tells the pathfinder that it can start pathing when in the air", "title": "Can Path From Air" },
"can_pass_doors": {
"type": "boolean",
"default": true,
"description": "Whether a path can be created through a door",
"title": "Can Pass Doors"
},
"can_path_from_air": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can start pathing when in the air",
"title": "Can Path From Air"
},
"can_path_over_lava": {
"type": "boolean",
"default": false,
@@ -65,20 +90,35 @@
"description": "Tells the pathfinder whether or not it can travel on the surface of the water",
"title": "Can Path Over Water"
},
"can_sink": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water", "title": "Can Sink" },
"can_sink": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water",
"title": "Can Sink"
},
"can_swim": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path",
"title": "Can Swim"
},
"can_walk": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can walk on the ground outside water", "title": "Can Walk" },
"can_walk": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can walk on the ground outside water",
"title": "Can Walk"
},
"can_walk_in_lava": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel in lava like walking on ground",
"title": "Can Walk In Lava"
},
"is_amphibious": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can walk on the ground underwater", "title": "Is Amphibious" }
"is_amphibious": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can walk on the ground underwater",
"title": "Is Amphibious"
}
}
}

View File

@@ -7,7 +7,12 @@
"additionalProperties": false,
"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",
@@ -15,8 +20,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,
@@ -31,9 +46,24 @@
},
"hit_sound": { "type": "string", "default": "", "description": "The sound that plays when the projectile hits something", "title": "Hit Sound" },
"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",
@@ -41,7 +71,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],
@@ -53,7 +88,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",
@@ -149,9 +189,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,
@@ -166,7 +216,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" },
"uncertainty_base": {
"type": "number",

View File

@@ -15,27 +15,45 @@
"default": 181,
"description": "Angle in degrees that a rider is allowed to rotate while riding this entity. Omit this property for no limit"
},
"max_rider_count": { "type": "integer", "default": 0, "description": "Defines the maximum number of riders that can be riding this entity for this seat to be valid" },
"max_rider_count": {
"type": "integer",
"default": 0,
"description": "Defines the maximum number of riders that can be riding this entity for this seat to be valid"
},
"min_rider_count": {
"type": "integer",
"default": 0,
"description": "Defines the minimum number of riders that need to be riding this entity before this seat can be used"
},
"position": { "$ref": "../../../../general/array_3_number.json", "default": [0.0, 0.0, 0.0], "description": "Position of this seat relative to this entity's position" },
"position": {
"$ref": "../../../../general/array_3_number.json",
"default": [0.0, 0.0, 0.0],
"description": "Position of this seat relative to this entity's position"
},
"rotate_rider_by": { "$ref": "../../../../molang/1.8.0/number.json", "description": "Offset to rotate riders by" }
}
}
},
"required": [],
"properties": {
"controlling_seat": { "type": "integer", "default": 0, "description": "The seat that designates the driver of the entity", "title": "TODO Title" },
"controlling_seat": {
"type": "integer",
"default": 0,
"description": "The seat that designates the driver of the entity",
"title": "TODO Title"
},
"crouching_skip_interact": {
"type": "boolean",
"default": true,
"description": "If true, this entity can't be interacted with if the entity interacting with it is crouching",
"title": "TODO Title"
},
"family_types": { "type": "array", "items": { "type": "string" }, "description": "List of entities that can ride this entity", "title": "TODO Title" },
"family_types": {
"type": "array",
"items": { "type": "string" },
"description": "List of entities that can ride this entity",
"title": "TODO Title"
},
"interact_text": {
"type": "string",
"default": "",
@@ -48,8 +66,18 @@
"description": "If true, this entity will pull in entities that are in the correct family_types into any available seats",
"title": "TODO Title"
},
"rider_can_interact": { "type": "boolean", "default": false, "description": "If true, this entity will be picked when looked at by the rider", "title": "TODO Title" },
"seat_count": { "type": "integer", "default": 1, "description": "The number of entities that can ride this entity at the same time", "title": "TODO Title" },
"rider_can_interact": {
"type": "boolean",
"default": false,
"description": "If true, this entity will be picked when looked at by the rider",
"title": "TODO Title"
},
"seat_count": {
"type": "integer",
"default": 1,
"description": "The number of entities that can ride this entity at the same time",
"title": "TODO Title"
},
"seats": {
"description": "The list of positions and number of riders for each position for entities riding this entity",
"title": "TODO Title",

View File

@@ -13,14 +13,24 @@
"description": "A bucket for all other items in the game. Note this category is always least priority items.",
"title": "All Items"
},
"all_items_max_amount": { "type": "integer", "default": -1, "description": "Maximum number of this item the mob will hold.", "title": "All Items Max Amount" },
"all_items_max_amount": {
"type": "integer",
"default": -1,
"description": "Maximum number of this item the mob will hold.",
"title": "All Items Max Amount"
},
"all_items_surplus_amount": {
"type": "integer",
"default": -1,
"description": "Number of this item considered extra that the entity wants to share.",
"title": "All Items Surplus Amount"
},
"all_items_want_amount": { "type": "integer", "default": -1, "description": "Number of this item this entity wants to share.", "title": "All Items Want Amount" },
"all_items_want_amount": {
"type": "integer",
"default": -1,
"description": "Number of this item this entity wants to share.",
"title": "All Items Want Amount"
},
"items": {
"type": "array",
"description": "List of items that the entity wants to share",
@@ -46,14 +56,26 @@
"item": { "type": "string", "description": "The name of the item", "$ref": "../../../../general/item/identifier.json" },
"item_aux": { "type": "integer", "description": "Aux value for the item.", "title": "Item Aux" },
"max_amount": { "type": "integer", "description": "Maximum number of this item the mob will hold.", "title": "Max Amount" },
"pickup_limit": { "type": "integer", "description": "Maximum number of this item the mob will pick up during a single goal tick.", "title": "Pickup Limit" },
"priority": { "type": "integer", "description": "Prioritizes which items the entity prefers. 0 is the highest priority.", "title": "Priority" },
"pickup_limit": {
"type": "integer",
"description": "Maximum number of this item the mob will pick up during a single goal tick.",
"title": "Pickup Limit"
},
"priority": {
"type": "integer",
"description": "Prioritizes which items the entity prefers. 0 is the highest priority.",
"title": "Priority"
},
"stored_in_inventory": {
"type": "boolean",
"description": "Determines whether the mob will try to put the item in its inventory if it has the inventory component and if it can't be equipped.",
"title": "Stored In Inventory"
},
"surplus_amount": { "type": "integer", "description": "Number of this item considered extra that the entity wants to share.", "title": "Surplus Amount" },
"surplus_amount": {
"type": "integer",
"description": "Number of this item considered extra that the entity wants to share.",
"title": "Surplus Amount"
},
"want_amount": { "type": "integer", "description": "Number of this item this entity wants to have.", "title": "Want Amount" }
}
},

View File

@@ -25,19 +25,44 @@
"description": "Minimum amount of time to randomly wait in seconds before another entity is spawned.",
"title": "Min Wait Time"
},
"num_to_spawn": { "type": "integer", "default": 1, "description": "The number of entities of this type to spawn each time that this triggers.", "title": "Num To Spawn" },
"should_leash": { "type": "boolean", "default": false, "description": "If true, this the spawned entity will be leashed to the parent.", "title": "Should Leash" },
"single_use": { "type": "boolean", "default": false, "description": "If true, this component will only ever spawn the specified entity once.", "title": "Single Use" },
"num_to_spawn": {
"type": "integer",
"default": 1,
"description": "The number of entities of this type to spawn each time that this triggers.",
"title": "Num To Spawn"
},
"should_leash": {
"type": "boolean",
"default": false,
"description": "If true, this the spawned entity will be leashed to the parent.",
"title": "Should Leash"
},
"single_use": {
"type": "boolean",
"default": false,
"description": "If true, this component will only ever spawn the specified entity once.",
"title": "Single Use"
},
"spawn_entity": {
"type": "string",
"default": "",
"description": "Identifier of the entity to spawn, leave empty to spawn the item defined above instead.",
"title": "Spawn Entity"
},
"spawn_event": { "type": "string", "default": "minecraft:entity_born", "description": "Event to call when the entity is spawned.", "title": "Spawn Event" },
"spawn_event": {
"type": "string",
"default": "minecraft:entity_born",
"description": "Event to call when the entity is spawned.",
"title": "Spawn Event"
},
"spawn_item": { "type": "string", "default": "egg", "description": "Item identifier of the item to spawn.", "title": "Spawn Item" },
"spawn_method": { "type": "string", "default": "born", "description": "Method to use to spawn the entity.", "title": "Spawn Method" },
"spawn_sound": { "type": "string", "default": "plop", "description": "Identifier of the sound effect to play when the entity is spawned.", "title": "Spawn Sound" }
"spawn_sound": {
"type": "string",
"default": "plop",
"description": "Identifier of the sound effect to play when the entity is spawned.",
"title": "Spawn Sound"
}
}
}
},

View File

@@ -15,20 +15,33 @@
"description": "Name of the item this entity likes and can be used to increase this entity's temper",
"title": "Item"
},
"temper_mod": { "type": "number", "default": 0, "description": "The amount of temper this entity gains when fed this item", "title": "Temper Mod" }
"temper_mod": {
"type": "number",
"default": 0,
"description": "The amount of temper this entity gains when fed this item",
"title": "Temper Mod"
}
}
},
"auto_reject_items": {
"type": "object",
"description": "The list of items that this entity dislikes and will cause it to get angry if used while untamed.",
"properties": {
"item": { "$ref": "../../../../general/item/identifier.json", "description": "Name of the item this entity dislikes and will cause it to get angry if used while untamed" }
"item": {
"$ref": "../../../../general/item/identifier.json",
"description": "Name of the item this entity dislikes and will cause it to get angry if used while untamed"
}
}
}
},
"required": [],
"properties": {
"attempt_temper_mod": { "type": "integer", "default": 5, "description": "The amount the entity's temper will increase when mounted.", "title": "Attempt Temper Mod" },
"attempt_temper_mod": {
"type": "integer",
"default": 5,
"description": "The amount the entity's temper will increase when mounted.",
"title": "Attempt Temper Mod"
},
"auto_reject_items": {
"description": "The list of items that, if carried while interacting with the entity, will anger it.",
"oneOf": [
@@ -46,8 +59,18 @@
{ "type": "array", "items": { "$ref": "#/definitions/feed_items" } }
]
},
"max_temper": { "type": "integer", "default": 100, "description": "The maximum value for the entity's random starting temper", "title": "Max Temper" },
"min_temper": { "type": "integer", "default": 0, "description": "The minimum value for the entity's random starting temper", "title": "Min Temper" },
"max_temper": {
"type": "integer",
"default": 100,
"description": "The maximum value for the entity's random starting temper",
"title": "Max Temper"
},
"min_temper": {
"type": "integer",
"default": 0,
"description": "The minimum value for the entity's random starting temper",
"title": "Min Temper"
},
"ride_text": { "type": "string", "description": "The text that shows in the riding interact button", "title": "Ride Text" },
"tame_event": { "$ref": "../types/event.json", "description": "Event that triggers when the entity becomes tamed", "title": "TODO Title" }
}

View File

@@ -27,13 +27,21 @@
"default": 0,
"description": "Chance that the entity will look for nearby blocks that can speed up the transformation. Value must be between 0.0 and 1.0"
},
"block_chance": { "type": "number", "default": 0, "description": "Chance that, once a block is found, will help speed up the transformation" },
"block_chance": {
"type": "number",
"default": 0,
"description": "Chance that, once a block is found, will help speed up the transformation"
},
"block_max": {
"type": "integer",
"default": 0,
"description": "Maximum number of blocks the entity will look for to aid in the transformation. If not defined or set to 0, it will be set to the block radius"
},
"block_radius": { "type": "integer", "default": 0, "description": "Distance in Blocks that the entity will search for blocks that can help the transformation" },
"block_radius": {
"type": "integer",
"default": 0,
"description": "Distance in Blocks that the entity will search for blocks that can help the transformation"
},
"block_types": {
"type": "array",
"description": "List of blocks that can help the transformation of this entity",
@@ -45,8 +53,18 @@
],
"title": "TODO Title"
},
"drop_equipment": { "type": "boolean", "default": false, "description": "Cause the entity to drop all equipment upon transformation", "title": "Drop Equipment" },
"drop_inventory": { "type": "boolean", "default": false, "description": "Cause the entity to drop all items in inventory upon transformation", "title": "Drop Inventory" },
"drop_equipment": {
"type": "boolean",
"default": false,
"description": "Cause the entity to drop all equipment upon transformation",
"title": "Drop Equipment"
},
"drop_inventory": {
"type": "boolean",
"default": false,
"description": "Cause the entity to drop all items in inventory upon transformation",
"title": "Drop Inventory"
},
"into": { "type": "string", "default": "", "description": "Entity Definition that this entity will transform into", "title": "Into" },
"keep_level": {
"type": "boolean",
@@ -66,6 +84,11 @@
"description": "Cause the entity to keep equipment after going through transformation",
"title": "Preserve Equipment"
},
"transformation_sound": { "type": "string", "default": "", "description": "Sound to play when the entity is done transforming", "title": "Transformation Sound" }
"transformation_sound": {
"type": "string",
"default": "",
"description": "Sound to play when the entity is done transforming",
"title": "Transformation Sound"
}
}
}