This commit is contained in:
DaanV2
2021-10-08 12:59:03 +02:00
parent 1858e622c6
commit 9f4342e97c
335 changed files with 10586 additions and 10586 deletions

View File

@@ -2,7 +2,7 @@
"$id": "blockception.minecraft.behavior.entities", "$id": "blockception.minecraft.behavior.entities",
"examples": [ "examples": [
{ {
"format_version": "1.16.0", "format_version": "1.17.0",
"minecraft:entity": { "minecraft:entity": {
"description": { "identifier": "namespace:entity", "is_spawnable": true, "is_summonable": true }, "description": { "identifier": "namespace:entity", "is_spawnable": true, "is_summonable": true },
"component_groups": {}, "component_groups": {},
@@ -12,12 +12,12 @@
} }
], ],
"type": "object", "type": "object",
"title": "Entity Behavior 1.17.0", "title": "Entity Behavior",
"description": "The minecraft entity behavior specification", "description": "The minecraft entity behavior specification",
"required": ["format_version", "minecraft:entity"], "required": ["format_version", "minecraft:entity"],
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"format_version": { "$ref": "../../general/format_version.json" }, "format_version": { "$ref": "../../general/format_version.json" },
"minecraft:entity": { "$ref": "./minecraft.entity.json" } "minecraft:entity": { "$ref": "./format/minecraft.entity.json" }
} }
} }

View File

@@ -1,44 +1,44 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.admire_item", "$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.admire_item",
"type": "object", "type": "object",
"title": "Admire Item 1.16.0", "title": "Admire Item 1.16.0",
"description": "Enables the mob to admire items that have been configured as admirable. Must be used in combination with the admire_item component.", "description": "Enables the mob to admire items that have been configured as admirable. Must be used in combination with the admire_item component.",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"priority": { "$ref": "types/priority.json" }, "priority": { "$ref": "types/priority.json" },
"admire_item_sound": { "admire_item_sound": {
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The sound event to play when admiring the item", "description": "The sound event to play when admiring the item",
"title": "Admire Item Sound" "title": "Admire Item Sound"
}, },
"on_admire_item_start": { "on_admire_item_start": {
"$ref": "../types/event.json", "$ref": "../types/event.json",
"title": "On Admire Item Start", "title": "On Admire Item Start",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED" "$comment": "UNDOCUMENTED"
}, },
"on_admire_item_stop": { "on_admire_item_stop": {
"$ref": "../types/event.json", "$ref": "../types/event.json",
"title": "On Admire Item Stop", "title": "On Admire Item Stop",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED" "$comment": "UNDOCUMENTED"
}, },
"sound_interval": { "sound_interval": {
"default": 0, "default": 0,
"description": "The range of time in seconds to randomly wait before playing the sound again.", "description": "The range of time in seconds to randomly wait before playing the sound again.",
"title": "Sound Interval", "title": "Sound Interval",
"oneOf": [ "oneOf": [
{ {
"type": "array", "type": "array",
"items": [ "items": [
{ "type": "number", "title": "Maximum" }, { "type": "number", "title": "Maximum" },
{ "type": "number", "title": "Maximum" } { "type": "number", "title": "Maximum" }
] ]
}, },
{ "type": "number" }, { "type": "number" },
{ "type": "object", "additionalProperties": false, "properties": { "range_min": { "type": "number" }, "range_max": { "type": "number" } } } { "type": "object", "additionalProperties": false, "properties": { "range_min": { "type": "number" }, "range_max": { "type": "number" } } }
] ]
} }
} }
} }

View File

@@ -1,78 +1,78 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.avoid_mob_type", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.avoid_mob_type",
"additionalProperties": false, "additionalProperties": false,
"description": "Allows this entity to avoid certain mob types.", "description": "Allows this entity to avoid certain mob types.",
"type": "object", "type": "object",
"title": "Avoid Mob Type 1.8.0", "title": "Avoid Mob Type 1.8.0",
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"max_dist": { "type": "number", "default": 0, "description": "Maximum distance to look for an entity", "title": "Maximum Dist" }, "max_dist": { "type": "number", "default": 0, "description": "Maximum distance to look for an entity", "title": "Maximum Dist" },
"max_flee": { "max_flee": {
"type": "number", "type": "number",
"default": 0.5, "default": 0.5,
"description": "Distance in blocks within the mob considers it should stop fleeing.", "description": "Distance in blocks within the mob considers it should stop fleeing.",
"title": "Maximum Flee" "title": "Maximum Flee"
}, },
"walk_speed_multiplier": { "walk_speed_multiplier": {
"type": "number", "type": "number",
"default": 1.0, "default": 1.0,
"description": "Multiplier for walking speed. 1.0 means keep the regular speed, while higher numbers make the walking speed faster", "description": "Multiplier for walking speed. 1.0 means keep the regular speed, while higher numbers make the walking speed faster",
"title": "Walk Speed Multiplier" "title": "Walk Speed Multiplier"
}, },
"sprint_speed_multiplier": { "sprint_speed_multiplier": {
"type": "number", "type": "number",
"default": 1.0, "default": 1.0,
"description": "Multiplier for running speed. 1.0 means keep the regular speed, while higher numbers make the running speed faster", "description": "Multiplier for running speed. 1.0 means keep the regular speed, while higher numbers make the running speed faster",
"title": "Sprint Speed Multiplier" "title": "Sprint Speed Multiplier"
}, },
"probability_per_strength": { "probability_per_strength": {
"type": "number", "type": "number",
"default": 1.0, "default": 1.0,
"description": "Determines how likely it is that this entity will stop avoiding another entity based on that entity's strength", "description": "Determines how likely it is that this entity will stop avoiding another entity based on that entity's strength",
"title": "Probability Per Strength" "title": "Probability Per Strength"
}, },
"ignore_visibility": { "ignore_visibility": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If true, visbility between this entity and the mob type will not be checked.", "description": "If true, visbility between this entity and the mob type will not be checked.",
"title": "Ignore Visibility" "title": "Ignore Visibility"
}, },
"entity_types": { "$ref": "../types/entity_types.json", "description": "UNDOCUMENTED: entity types", "title": "Entity Types" }, "entity_types": { "$ref": "../types/entity_types.json", "description": "UNDOCUMENTED: entity types", "title": "Entity Types" },
"avoid_mob_sound": { "avoid_mob_sound": {
"title": "Avoid Mob Sound", "title": "Avoid Mob Sound",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "string" "type": "string"
}, },
"remove_target": { "remove_target": {
"title": "Remove Target", "title": "Remove Target",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "boolean" "type": "boolean"
}, },
"on_escape_event": { "on_escape_event": {
"$ref": "../types/event.json", "$ref": "../types/event.json",
"title": "On Escape Event", "title": "On Escape Event",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED" "$comment": "UNDOCUMENTED"
}, },
"sound_interval": { "sound_interval": {
"default": 0, "default": 0,
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"title": "Sound Interval", "title": "Sound Interval",
"oneOf": [ "oneOf": [
{ {
"type": "array", "type": "array",
"items": [ "items": [
{ "type": "number", "title": "Maximum" }, { "type": "number", "title": "Maximum" },
{ "type": "number", "title": "Maximum" } { "type": "number", "title": "Maximum" }
] ]
}, },
{ "type": "number" }, { "type": "number" },
{ "type": "object", "additionalProperties": false, "properties": { "range_min": { "type": "number" }, "range_max": { "type": "number" } } } { "type": "object", "additionalProperties": false, "properties": { "range_min": { "type": "number" }, "range_max": { "type": "number" } } }
] ]
} }
} }
} }

View File

@@ -1,29 +1,29 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.beg", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.beg",
"type": "object", "type": "object",
"title": "Beg 1.8.0", "title": "Beg 1.8.0",
"additionalProperties": false, "additionalProperties": false,
"description": "Allows this mob to look at and follow the player that holds food they like.", "description": "Allows this mob to look at and follow the player that holds food they like.",
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"items": { "items": {
"type": "array", "type": "array",
"description": "List of items that this mob likes", "description": "List of items that this mob likes",
"items": { "items": {
"type": "string", "type": "string",
"description": "List of items that this mob likes", "description": "List of items that this mob likes",
"title": "Properties", "title": "Properties",
"$ref": "../../../../general/item/identifier.json" "$ref": "../../../../general/item/identifier.json"
}, },
"title": "Properties" "title": "Properties"
}, },
"look_distance": { "type": "number", "default": 8, "description": "Distance in blocks the mob will beg from", "title": "Look Distance" }, "look_distance": { "type": "number", "default": 8, "description": "Distance in blocks the mob will beg from", "title": "Look Distance" },
"look_time": { "look_time": {
"description": "The range of time in seconds this mob will stare at the player holding a food they like, begging for it", "description": "The range of time in seconds this mob will stare at the player holding a food they like, begging for it",
"$ref": "../types/range_number_type.json", "$ref": "../types/range_number_type.json",
"default": [2, 4], "default": [2, 4],
"title": "Look Time" "title": "Look Time"
} }
} }
} }

View File

@@ -1,9 +1,9 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.break_door", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.break_door",
"type": "object", "type": "object",
"title": "Break Door 1.8.0", "title": "Break Door 1.8.0",
"description": "Allows this mob to break doors.", "description": "Allows this mob to break doors.",
"required": [], "required": [],
"properties": { "priority": { "$ref": "types/priority.json" }, "speed_multiplier": { "$ref": "./types/speed_multiplier.json" } }, "properties": { "priority": { "$ref": "types/priority.json" }, "speed_multiplier": { "$ref": "./types/speed_multiplier.json" } },
"additionalProperties": false "additionalProperties": false
} }

View File

@@ -1,9 +1,9 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.breed", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.breed",
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
"title": "Breed 1.8.0", "title": "Breed 1.8.0",
"description": "Allows this mob to breed with other mobs.", "description": "Allows this mob to breed with other mobs.",
"required": [], "required": [],
"properties": { "priority": { "$ref": "types/priority.json" }, "speed_multiplier": { "$ref": "./types/speed_multiplier.json" } } "properties": { "priority": { "$ref": "types/priority.json" }, "speed_multiplier": { "$ref": "./types/speed_multiplier.json" } }
} }

View File

@@ -1,49 +1,49 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.celebrate", "$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.celebrate",
"type": "object", "type": "object",
"title": "Celebrate 1.16.0", "title": "Celebrate 1.16.0",
"description": "This allows the mob celebrate by jumping up and playing a sound periodically.", "description": "This allows the mob celebrate by jumping up and playing a sound periodically.",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"priority": { "$ref": "types/priority.json" }, "priority": { "$ref": "types/priority.json" },
"celebration_sound": { "type": "string", "default": "", "description": "The sound to occasionally play.", "title": "Celebration Sound" }, "celebration_sound": { "type": "string", "default": "", "description": "The sound to occasionally play.", "title": "Celebration Sound" },
"duration": { "type": "number", "default": 1, "description": "The duration of the celebration (in seconds).", "title": "Duration" }, "duration": { "type": "number", "default": 1, "description": "The duration of the celebration (in seconds).", "title": "Duration" },
"jump_interval": { "jump_interval": {
"default": 0, "default": 0,
"description": "The range of time in seconds to randomly wait before jumping again.", "description": "The range of time in seconds to randomly wait before jumping again.",
"title": "Jump Interval", "title": "Jump Interval",
"oneOf": [ "oneOf": [
{ {
"type": "array", "type": "array",
"items": [ "items": [
{ "type": "number", "title": "Maximum" }, { "type": "number", "title": "Maximum" },
{ "type": "number", "title": "Maximum" } { "type": "number", "title": "Maximum" }
] ]
}, },
{ "type": "number" }, { "type": "number" },
{ "type": "object", "additionalProperties": false, "properties": { "range_min": { "type": "number" }, "range_max": { "type": "number" } } } { "type": "object", "additionalProperties": false, "properties": { "range_min": { "type": "number" }, "range_max": { "type": "number" } } }
] ]
}, },
"on_celebration_end_event": { "on_celebration_end_event": {
"$ref": "../types/trigger.json", "$ref": "../types/trigger.json",
"description": "The event to trigger when the goal's duration expires.", "description": "The event to trigger when the goal's duration expires.",
"title": "On Celebration End Event" "title": "On Celebration End Event"
}, },
"sound_interval": { "sound_interval": {
"default": 0, "default": 0,
"description": "The range of time in seconds to randomly wait before playing the sound again.", "description": "The range of time in seconds to randomly wait before playing the sound again.",
"title": "Sound Interval", "title": "Sound Interval",
"oneOf": [ "oneOf": [
{ {
"type": "array", "type": "array",
"items": [ "items": [
{ "type": "number", "title": "Maximum" }, { "type": "number", "title": "Maximum" },
{ "type": "number", "title": "Maximum" } { "type": "number", "title": "Maximum" }
] ]
}, },
{ "type": "number" }, { "type": "number" },
{ "type": "object", "additionalProperties": false, "properties": { "range_min": { "type": "number" }, "range_max": { "type": "number" } } } { "type": "object", "additionalProperties": false, "properties": { "range_min": { "type": "number" }, "range_max": { "type": "number" } } }
] ]
} }
} }
} }

View File

@@ -1,9 +1,9 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.charge_attack", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.charge_attack",
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
"title": "Charge Attack 1.8.0", "title": "Charge Attack 1.8.0",
"description": "Allows the mob to attack its target by running at it.", "description": "Allows the mob to attack its target by running at it.",
"required": [], "required": [],
"properties": { "priority": { "$ref": "types/priority.json" }, "speed_multiplier": { "$ref": "types/speed_multiplier.json" } } "properties": { "priority": { "$ref": "types/priority.json" }, "speed_multiplier": { "$ref": "types/speed_multiplier.json" } }
} }

View File

@@ -1,17 +1,17 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.charge_held_item", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.charge_held_item",
"type": "object", "type": "object",
"title": "Charge Held Item 1.8.0", "title": "Charge Held Item 1.8.0",
"description": "Allows this mob to charge and use their held item.", "description": "Allows this mob to charge and use their held item.",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"items": { "items": {
"type": "array", "type": "array",
"title": "Items", "title": "Items",
"description": "The list of items that can be used to charge the held item.", "description": "The list of items that can be used to charge the held item.",
"items": { "type": "string", "description": "Items names to be used.", "title": "Item ID" } "items": { "type": "string", "description": "Items names to be used.", "title": "Item ID" }
} }
} }
} }

View File

@@ -1,77 +1,77 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.circle_around_anchor", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.circle_around_anchor",
"type": "object", "type": "object",
"title": "Circle Around Anchor 1.8.0", "title": "Circle Around Anchor 1.8.0",
"additionalProperties": false, "additionalProperties": false,
"description": "Allows the mob to move in a circle around a point or a target.", "description": "Allows the mob to move in a circle around a point or a target.",
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"speed_multiplier": { "speed_multiplier": {
"type": "number", "type": "number",
"default": 1.0, "default": 1.0,
"description": "Movement speed multiplier of the mob when using this AI Goal", "description": "Movement speed multiplier of the mob when using this AI Goal",
"title": "Speed Multiplier" "title": "Speed Multiplier"
}, },
"radius_range": { "radius_range": {
"$ref": "../types/range_number_type.json", "$ref": "../types/range_number_type.json",
"default": [5.0, 15.0], "default": [5.0, 15.0],
"description": "Range of radius in blocks of the circle to move around.", "description": "Range of radius in blocks of the circle to move around.",
"title": "Radius Range" "title": "Radius Range"
}, },
"radius_change_chance": { "radius_change_chance": {
"type": "integer", "type": "integer",
"default": 250, "default": 250,
"description": "A random value to determine when to increase the size of the radius up to the maximum. This has a 1/value chance every tick to do so.", "description": "A random value to determine when to increase the size of the radius up to the maximum. This has a 1/value chance every tick to do so.",
"title": "Radius Change Chance" "title": "Radius Change Chance"
}, },
"height_above_target_range": { "height_above_target_range": {
"$ref": "../types/range_number_type.json", "$ref": "../types/range_number_type.json",
"default": [0.0, 0.0], "default": [0.0, 0.0],
"description": "When the mob finds a target, the range of height in blocks above the target to start the anchor point.", "description": "When the mob finds a target, the range of height in blocks above the target to start the anchor point.",
"title": "Height Above Target Range" "title": "Height Above Target Range"
}, },
"height_offset_range": { "height_offset_range": {
"$ref": "../types/range_number_type.json", "$ref": "../types/range_number_type.json",
"default": [0.0, 0.0], "default": [0.0, 0.0],
"description": "The range of height in blocks offset the mob can have from it's anchor point.", "description": "The range of height in blocks offset the mob can have from it's anchor point.",
"title": "Height Offset Range" "title": "Height Offset Range"
}, },
"height_change_chance": { "height_change_chance": {
"type": "integer", "type": "integer",
"default": 350, "default": 350,
"description": "A random value to determine when to change the height of the mob from the anchor point. This has a 1/value chance every tick to do so.", "description": "A random value to determine when to change the height of the mob from the anchor point. This has a 1/value chance every tick to do so.",
"title": "Height Change Chance" "title": "Height Change Chance"
}, },
"goal_radius": { "goal_radius": {
"type": "number", "type": "number",
"default": 0.5, "default": 0.5,
"description": "Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot", "description": "Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot",
"title": "Goal Radius" "title": "Goal Radius"
}, },
"radius_change": { "radius_change": {
"type": "number", "type": "number",
"title": "Radius Change", "title": "Radius Change",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED" "$comment": "UNDOCUMENTED"
}, },
"radius_adjustment_chance": { "radius_adjustment_chance": {
"type": "number", "type": "number",
"title": "Radius Adjustment Chance", "title": "Radius Adjustment Chance",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED" "$comment": "UNDOCUMENTED"
}, },
"height_adjustment_chance": { "height_adjustment_chance": {
"type": "number", "type": "number",
"title": "Height Adjustment Chance", "title": "Height Adjustment Chance",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED" "$comment": "UNDOCUMENTED"
}, },
"angle_change": { "angle_change": {
"type": "number", "type": "number",
"title": "Angle Change", "title": "Angle Change",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED" "$comment": "UNDOCUMENTED"
} }
} }
} }

View File

@@ -1,16 +1,16 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.controlled_by_player", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.controlled_by_player",
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
"title": "Controlled By Player 1.8.0", "title": "Controlled By Player 1.8.0",
"description": "Allows the mob to be controlled by the player.", "description": "Allows the mob to be controlled by the player.",
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"mount_speed_multiplier": { "mount_speed_multiplier": {
"type": "number", "type": "number",
"default": 1, "default": 1,
"description": "Speed multiplier of mount when controlled by player, defaults to 1.0f", "description": "Speed multiplier of mount when controlled by player, defaults to 1.0f",
"title": "Mount Speed Multiplier" "title": "Mount Speed Multiplier"
} }
} }
} }

View File

@@ -1,43 +1,43 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.defend_trusted_target", "$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.defend_trusted_target",
"type": "object", "type": "object",
"title": "Defend Trusted Target 1.16.0", "title": "Defend Trusted Target 1.16.0",
"description": "Allows the mob to target another mob that hurts an entity it trusts.", "description": "Allows the mob to target another mob that hurts an entity it trusts.",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"priority": { "$ref": "types/priority.json" }, "priority": { "$ref": "types/priority.json" },
"aggro_sound": { "type": "string", "default": "", "description": "Sound to occasionally play while defending.", "title": "Aggro Sound" }, "aggro_sound": { "type": "string", "default": "", "description": "Sound to occasionally play while defending.", "title": "Aggro Sound" },
"attack_interval": { "type": "integer", "default": 0, "description": "Time in seconds between attacks", "title": "Attack Interval" }, "attack_interval": { "type": "integer", "default": 0, "description": "Time in seconds between attacks", "title": "Attack Interval" },
"must_see": { "must_see": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If true, only entities in this mob's viewing range can be selected as targets", "description": "If true, only entities in this mob's viewing range can be selected as targets",
"title": "Must See" "title": "Must See"
}, },
"must_see_forget_duration": { "must_see_forget_duration": {
"type": "number", "type": "number",
"default": 3, "default": 3,
"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", "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",
"title": "Must See Forget Duration" "title": "Must See Forget Duration"
}, },
"on_defend_start": { "on_defend_start": {
"$ref": "../types/event.json", "$ref": "../types/event.json",
"title": "On Defend Start", "title": "On Defend Start",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED" "$comment": "UNDOCUMENTED"
}, },
"within_radius": { "within_radius": {
"type": "number", "type": "number",
"default": 0, "default": 0,
"description": "Distance in blocks that the target can be within to launch an attack", "description": "Distance in blocks that the target can be within to launch an attack",
"title": "Within Radius" "title": "Within Radius"
}, },
"entity_types": { "entity_types": {
"type": "object", "type": "object",
"description": "List of entity types that this mob considers valid targets", "description": "List of entity types that this mob considers valid targets",
"title": "Entity Types", "title": "Entity Types",
"additionalProperties": false "additionalProperties": false
}, },
"sound_chance": { "title": "Sound Chance", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" } "sound_chance": { "title": "Sound Chance", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" }
} }
} }

View File

@@ -1,22 +1,22 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.defend_village_target", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.defend_village_target",
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
"title": "Defend Village Target 1.8.0", "title": "Defend Village Target 1.8.0",
"description": "Allows the mob to stay in the village and fight mobs hostile to the villagers.", "description": "Allows the mob to stay in the village and fight mobs hostile to the villagers.",
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"entity_types": { "entity_types": {
"$ref": "../types/entity_types.json", "$ref": "../types/entity_types.json",
"description": "List of entity types this mob considers a threat to the village", "description": "List of entity types this mob considers a threat to the village",
"title": "Entity Types" "title": "Entity Types"
}, },
"must_reach": { "title": "Must Reach", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "boolean" }, "must_reach": { "title": "Must Reach", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "boolean" },
"attack_chance": { "attack_chance": {
"title": "Attack Chance", "title": "Attack Chance",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "number" "type": "number"
} }
} }
} }

View File

@@ -1,45 +1,45 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.delayed_attack", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.delayed_attack",
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
"title": "Delayed Attack 1.8.0", "title": "Delayed Attack 1.8.0",
"description": "Allows the mob to drink potions based on specified environment conditions.", "description": "Allows the mob to drink potions based on specified environment conditions.",
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" }, "speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
"attack_duration": { "attack_duration": {
"type": "number", "type": "number",
"default": 1, "default": 1,
"description": "The duration of the attack animation in seconds", "description": "The duration of the attack animation in seconds",
"title": "Attack Duration" "title": "Attack Duration"
}, },
"attack_once": { "type": "boolean", "default": false, "description": "If true, this mob will attack only one time.", "title": "Attack Once" }, "attack_once": { "type": "boolean", "default": false, "description": "If true, this mob will attack only one time.", "title": "Attack Once" },
"attack_types": { "type": "string", "default": "", "description": "Defines the entity types this mob will attack", "title": "Attack Types" }, "attack_types": { "type": "string", "default": "", "description": "Defines the entity types this mob will attack", "title": "Attack Types" },
"hit_delay_pct": { "hit_delay_pct": {
"type": "number", "type": "number",
"default": 1, "default": 1,
"description": "The percentage of the attack_duration that must pass before the hit is made", "description": "The percentage of the attack_duration that must pass before the hit is made",
"title": "Hit Delay Percentage" "title": "Hit Delay Percentage"
}, },
"random_stop_interval": { "random_stop_interval": {
"type": "integer", "type": "integer",
"default": 0, "default": 0,
"description": "Defines the probability the mob will stop fighting. A value of 0 disables randomly stopping, while a value of 1 defines a 50% chance", "description": "Defines the probability the mob will stop fighting. A value of 0 disables randomly stopping, while a value of 1 defines a 50% chance",
"title": "Random Stop Interval" "title": "Random Stop Interval"
}, },
"reach_multiplier": { "reach_multiplier": {
"type": "number", "type": "number",
"default": 2, "default": 2,
"description": "Multiplier for how far outside its box the mob can reach its target (this can be used to simulate a mob with longer arms by making this bigger)", "description": "Multiplier for how far outside its box the mob can reach its target (this can be used to simulate a mob with longer arms by making this bigger)",
"title": "Reach Multiplier" "title": "Reach Multiplier"
}, },
"require_complete_path": { "type": "boolean", "title": "Require Complet Path", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, "require_complete_path": { "type": "boolean", "title": "Require Complet Path", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
"sound_event": { "type": "string", "description": "The sound event to play when the attack starts", "title": "Sound Event" }, "sound_event": { "type": "string", "description": "The sound event to play when the attack starts", "title": "Sound Event" },
"track_target": { "track_target": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If true, this mob will chase after the target as long as it's a valid target", "description": "If true, this mob will chase after the target as long as it's a valid target",
"title": "Track Target" "title": "Track Target"
} }
} }
} }

View File

@@ -1,8 +1,8 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.door_interact", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.door_interact",
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
"title": "Door Interact 1.8.0", "title": "Door Interact 1.8.0",
"description": "Allows the mob to drink potions based on specified environment conditions.", "description": "Allows the mob to drink potions based on specified environment conditions.",
"properties": { "priority": { "$ref": "./types/priority.json" } } "properties": { "priority": { "$ref": "./types/priority.json" } }
} }

View File

@@ -1,8 +1,8 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.dragonchargeplayer", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.dragonchargeplayer",
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
"title": "Dragonchargeplayer 1.8.0", "title": "Dragonchargeplayer 1.8.0",
"description": "Allows the dragon to attack a player by flying fast at them. The player is chosen by the dragonscanning goal. Can only be used by the Ender Dragon.", "description": "Allows the dragon to attack a player by flying fast at them. The player is chosen by the dragonscanning goal. Can only be used by the Ender Dragon.",
"properties": { "priority": { "$ref": "./types/priority.json" } } "properties": { "priority": { "$ref": "./types/priority.json" } }
} }

View File

@@ -1,8 +1,8 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.dragondeath", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.dragondeath",
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
"title": "Dragondeath 1.8.0", "title": "Dragondeath 1.8.0",
"description": "Allows the dragon to go out with glory. This controls the Ender Dragon's death animation and can't be used by other mobs.", "description": "Allows the dragon to go out with glory. This controls the Ender Dragon's death animation and can't be used by other mobs.",
"properties": { "priority": { "$ref": "./types/priority.json" } } "properties": { "priority": { "$ref": "./types/priority.json" } }
} }

View File

@@ -1,8 +1,8 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.dragonflaming", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.dragonflaming",
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
"title": "Dragonflaming 1.8.0", "title": "Dragonflaming 1.8.0",
"description": "Allows the dragon to use its flame breath attack. Can only be used by the Ender Dragon.", "description": "Allows the dragon to use its flame breath attack. Can only be used by the Ender Dragon.",
"properties": { "priority": { "$ref": "./types/priority.json" } } "properties": { "priority": { "$ref": "./types/priority.json" } }
} }

View File

@@ -1,8 +1,8 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.dragonholdingpattern", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.dragonholdingpattern",
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
"title": "Dragonholdingpattern 1.8.0", "title": "Dragonholdingpattern 1.8.0",
"description": "Allows the Dragon to fly around in a circle around the center podium. Can only be used by the Ender Dragon.", "description": "Allows the Dragon to fly around in a circle around the center podium. Can only be used by the Ender Dragon.",
"properties": { "priority": { "$ref": "./types/priority.json" } } "properties": { "priority": { "$ref": "./types/priority.json" } }
} }

View File

@@ -1,8 +1,8 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.dragonlanding", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.dragonlanding",
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
"title": "Dragonlanding 1.8.0", "title": "Dragonlanding 1.8.0",
"description": "Allows the Dragon to stop flying and transition into perching mode. Can only be used by the Ender Dragon.", "description": "Allows the Dragon to stop flying and transition into perching mode. Can only be used by the Ender Dragon.",
"properties": { "priority": { "$ref": "./types/priority.json" } } "properties": { "priority": { "$ref": "./types/priority.json" } }
} }

View File

@@ -1,8 +1,8 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.dragonscanning", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.dragonscanning",
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
"title": "Dragonscanning 1.8.0", "title": "Dragonscanning 1.8.0",
"description": "Allows the dragon to look around for a player to attack while in perch mode. Can only be used by the Ender Dragon.", "description": "Allows the dragon to look around for a player to attack while in perch mode. Can only be used by the Ender Dragon.",
"properties": { "priority": { "$ref": "./types/priority.json" } } "properties": { "priority": { "$ref": "./types/priority.json" } }
} }

View File

@@ -1,8 +1,8 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.dragonstrafeplayer", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.dragonstrafeplayer",
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
"title": "Dragonstrafeplayer 1.8.0", "title": "Dragonstrafeplayer 1.8.0",
"description": "Allows the dragon to fly around looking for a player and shoot fireballs at them. Can only be used by the Ender Dragon.", "description": "Allows the dragon to fly around looking for a player and shoot fireballs at them. Can only be used by the Ender Dragon.",
"properties": { "priority": { "$ref": "./types/priority.json" } } "properties": { "priority": { "$ref": "./types/priority.json" } }
} }

View File

@@ -1,8 +1,8 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.dragontakeoff", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.dragontakeoff",
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
"title": "Dragontakeoff 1.8.0", "title": "Dragontakeoff 1.8.0",
"description": "Allows the dragon to leave perch mode and go back to flying around. Can only be used by the Ender Dragon.", "description": "Allows the dragon to leave perch mode and go back to flying around. Can only be used by the Ender Dragon.",
"properties": { "priority": { "$ref": "./types/priority.json" } } "properties": { "priority": { "$ref": "./types/priority.json" } }
} }

View File

@@ -1,40 +1,40 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.drink_potion", "$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.drink_potion",
"type": "object", "type": "object",
"title": "Beg 1.16.0", "title": "Beg 1.16.0",
"description": "Allows the mob to drink potions based on specified environment conditions.", "description": "Allows the mob to drink potions based on specified environment conditions.",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" }, "speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
"speed_modifier": { "default": 0.0, "description": "Movement speed modifier of the mob when using this AI Goal", "title": "Speed Modifier" }, "speed_modifier": { "default": 0.0, "description": "Movement speed modifier of the mob when using this AI Goal", "title": "Speed Modifier" },
"potions": { "potions": {
"type": "array", "type": "array",
"description": "A list of potions that this entity can drink.", "description": "A list of potions that this entity can drink.",
"title": "Potions", "title": "Potions",
"items": { "items": {
"required": ["id", "chance", "filters"], "required": ["id", "chance", "filters"],
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
"description": "A potions that this entity can drink.", "description": "A potions that this entity can drink.",
"title": "Potions", "title": "Potions",
"properties": { "properties": {
"id": { "type": "integer", "default": -1, "description": "The registry ID of the potion to use", "title": "Id" }, "id": { "type": "integer", "default": -1, "description": "The registry ID of the potion to use", "title": "Id" },
"chance": { "chance": {
"type": "number", "type": "number",
"default": 1.0, "default": 1.0,
"minimum": 0, "minimum": 0,
"maximum": 1, "maximum": 1,
"description": "The percent chance (from 0.0 to 1.0) of this potion being selected when searching for a potion to use.", "description": "The percent chance (from 0.0 to 1.0) of this potion being selected when searching for a potion to use.",
"title": "Chance" "title": "Chance"
}, },
"filters": { "filters": {
"description": "The filters to use when determining if this potion can be selected.", "description": "The filters to use when determining if this potion can be selected.",
"$ref": "../../filters/filters.json" "$ref": "../../filters/filters.json"
} }
} }
} }
} }
} }
} }

View File

@@ -1,92 +1,92 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.drop_item_for", "$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.drop_item_for",
"additionalProperties": false, "additionalProperties": false,
"description": "Allows the mob to move near a target and drop an item.", "description": "Allows the mob to move near a target and drop an item.",
"title": "Drop Item For 1.16.0", "title": "Drop Item For 1.16.0",
"type": "object", "type": "object",
"properties": { "properties": {
"priority": { "$ref": "types/priority.json" }, "priority": { "$ref": "types/priority.json" },
"speed_multiplier": { "$ref": "types/speed_multiplier.json" }, "speed_multiplier": { "$ref": "types/speed_multiplier.json" },
"cooldown": { "title": "Cooldown", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" }, "cooldown": { "title": "Cooldown", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" },
"drop_item_chance": { "drop_item_chance": {
"type": "number", "type": "number",
"default": [1.0], "default": [1.0],
"description": "The probability that the mob will drop an item.", "description": "The probability that the mob will drop an item.",
"title": "Drop Item Chance" "title": "Drop Item Chance"
}, },
"entity_types": { "entity_types": {
"description": "List of entity types this mob will drop items for.", "description": "List of entity types this mob will drop items for.",
"title": "Entity Types", "title": "Entity Types",
"$ref": "../types/entity_types.json" "$ref": "../types/entity_types.json"
}, },
"goal_radius": { "goal_radius": {
"type": "number", "type": "number",
"default": 0.5, "default": 0.5,
"description": "Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot", "description": "Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot",
"title": "Goal Radius" "title": "Goal Radius"
}, },
"loot_table": { "type": "string", "pattern": "^loot_tables.*\\.json$", "description": "Loot table to select items from.", "title": "Loot Table" }, "loot_table": { "type": "string", "pattern": "^loot_tables.*\\.json$", "description": "Loot table to select items from.", "title": "Loot Table" },
"max_dist": { "max_dist": {
"type": "number", "type": "number",
"default": 0, "default": 0,
"description": "Maximum distance in blocks this mob will look for entities to drop an item for.", "description": "Maximum distance in blocks this mob will look for entities to drop an item for.",
"title": "Maximum Dist" "title": "Maximum Dist"
}, },
"minimum_teleport_distance": { "minimum_teleport_distance": {
"title": "Minimum Teleport Distance", "title": "Minimum Teleport Distance",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "number" "type": "number"
}, },
"max_head_look_at_height": { "max_head_look_at_height": {
"title": "Maximum Head Look At Height", "title": "Maximum Head Look At Height",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "number" "type": "number"
}, },
"offering_distance": { "offering_distance": {
"type": "number", "type": "number",
"default": [1.0], "default": [1.0],
"description": "The distance in blocks the mob will try to be away from the entity when it drops the item.", "description": "The distance in blocks the mob will try to be away from the entity when it drops the item.",
"title": "Offering Distance" "title": "Offering Distance"
}, },
"on_drop_attempt": { "on_drop_attempt": {
"$ref": "../types/event.json", "$ref": "../types/event.json",
"description": "Event to run when this mob attempts to drop an item.", "description": "Event to run when this mob attempts to drop an item.",
"title": "On Drop Attempt" "title": "On Drop Attempt"
}, },
"seconds_before_pickup": { "title": "Seconds Before Pickup", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" }, "seconds_before_pickup": { "title": "Seconds Before Pickup", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" },
"search_count": { "type": "integer", "default": 1, "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Search Height" }, "search_count": { "type": "integer", "default": 1, "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Search Height" },
"search_height": { "type": "integer", "default": 1, "description": "Height in blocks from the target the mob can be.", "title": "Search Height" }, "search_height": { "type": "integer", "default": 1, "description": "Height in blocks from the target the mob can be.", "title": "Search Height" },
"search_range": { "search_range": {
"type": "integer", "type": "integer",
"default": 0, "default": 0,
"description": "The distance in blocks from the target the mob can be.", "description": "The distance in blocks from the target the mob can be.",
"title": "Search Range" "title": "Search Range"
}, },
"target_range": { "target_range": {
"title": "Target Range", "title": "Target Range",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "array", "type": "array",
"items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }]
}, },
"teleport_offset": { "teleport_offset": {
"title": "Teleport Offset", "title": "Teleport Offset",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "array", "type": "array",
"items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }]
}, },
"time_of_day_range": { "time_of_day_range": {
"default": [0.0, 1.0], "default": [0.0, 1.0],
"description": "The valid times of day that this goal can be used. For reference: noon is 0.0, sunset is 0.25, midnight is 0.5, and sunrise is 0.75, and back to noon for 1.0.", "description": "The valid times of day that this goal can be used. For reference: noon is 0.0, sunset is 0.25, midnight is 0.5, and sunrise is 0.75, and back to noon for 1.0.",
"title": "Time Of Day Range", "title": "Time Of Day Range",
"type": "array", "type": "array",
"items": [ "items": [
{ "type": "number", "minimum": 0, "maximum": 1 }, { "type": "number", "minimum": 0, "maximum": 1 },
{ "type": "number", "minimum": 0, "maximum": 1 } { "type": "number", "minimum": 0, "maximum": 1 }
] ]
} }
} }
} }

View File

@@ -1,58 +1,58 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.eat_block", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.eat_block",
"type": "object", "type": "object",
"title": "Eat Block 1.8.0", "title": "Eat Block 1.8.0",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"on_eat": { "on_eat": {
"$ref": "../types/trigger.json", "$ref": "../types/trigger.json",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"title": "On Eat" "title": "On Eat"
}, },
"success_chance": { "success_chance": {
"title": "Succes Chance", "title": "Succes Chance",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"$ref": "../../../../molang/number.json" "$ref": "../../../../molang/number.json"
}, },
"time_until_eat": { "time_until_eat": {
"title": "Time Until Eat", "title": "Time Until Eat",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "number" "type": "number"
}, },
"eat_and_replace_block_pairs": { "eat_and_replace_block_pairs": {
"type": "array", "type": "array",
"title": "Eat And Replace Block Pairs", "title": "Eat And Replace Block Pairs",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"items": { "items": {
"type": "object", "type": "object",
"title": "Eat And Replace Block Pair", "title": "Eat And Replace Block Pair",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"properties": { "properties": {
"eat_block": { "eat_block": {
"type": "string", "type": "string",
"title": "Block", "title": "Block",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"$ref": "../../../../general/block/identifier.json" "$ref": "../../../../general/block/identifier.json"
}, },
"replace_block": { "replace_block": {
"type": "string", "type": "string",
"title": "Replace Block", "title": "Replace Block",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"$ref": "../../../../general/block/identifier.json" "$ref": "../../../../general/block/identifier.json"
} }
} }
} }
} }
} }
} }

View File

@@ -1,15 +1,15 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.eat_carried_item", "$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.eat_carried_item",
"type": "object", "type": "object",
"title": "Eat Carried Item 1.16.0", "title": "Eat Carried Item 1.16.0",
"description": "If the mob is carrying a food item, the mob will eat it and the effects will be applied to the mob.", "description": "If the mob is carrying a food item, the mob will eat it and the effects will be applied to the mob.",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"priority": { "$ref": "types/priority.json" }, "priority": { "$ref": "types/priority.json" },
"delay_before_eating": { "delay_before_eating": {
"type": "number", "type": "number",
"description": "Time in seconds the mob should wait before eating the item.", "description": "Time in seconds the mob should wait before eating the item.",
"title": "Delay Before Eating" "title": "Delay Before Eating"
} }
} }
} }

View File

@@ -1,9 +1,9 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.enderman_leave_block", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.enderman_leave_block",
"type": "object", "type": "object",
"title": "Enderman Leave Block 1.8.0", "title": "Enderman Leave Block 1.8.0",
"additionalProperties": false, "additionalProperties": false,
"description": "Allows the enderman to drop a block they are carrying. Can only be used by Endermen.", "description": "Allows the enderman to drop a block they are carrying. Can only be used by Endermen.",
"required": [], "required": [],
"properties": { "priority": { "$ref": "./types/priority.json" } } "properties": { "priority": { "$ref": "./types/priority.json" } }
} }

View File

@@ -1,9 +1,9 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.enderman_take_block", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.enderman_take_block",
"type": "object", "type": "object",
"title": "Enderman Take Block 1.8.0", "title": "Enderman Take Block 1.8.0",
"description": "Allows the enderman to take a block and carry it around. Can only be used by Endermen.", "description": "Allows the enderman to take a block and carry it around. Can only be used by Endermen.",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "priority": { "$ref": "./types/priority.json" } } "properties": { "priority": { "$ref": "./types/priority.json" } }
} }

View File

@@ -1,39 +1,39 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.explore_outskirts", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.explore_outskirts",
"type": "object", "type": "object",
"title": "Explore Outskirts 1.8.0", "title": "Explore Outskirts 1.8.0",
"description": "behavior explore outskirts", "description": "behavior explore outskirts",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "types/priority.json" }, "priority": { "$ref": "types/priority.json" },
"speed_multiplier": { "$ref": "types/speed_multiplier.json" }, "speed_multiplier": { "$ref": "types/speed_multiplier.json" },
"explore_dist": { "explore_dist": {
"type": "number", "type": "number",
"default": 5, "default": 5,
"description": "The distance in which the mob will proceed past the village bounds", "description": "The distance in which the mob will proceed past the village bounds",
"title": "Explore Dist" "title": "Explore Dist"
}, },
"wait_time": { "type": "integer", "default": 0, "description": "The time the mob will stand around `searching` for POIs", "title": "Wait Time" }, "wait_time": { "type": "integer", "default": 0, "description": "The time the mob will stand around `searching` for POIs", "title": "Wait Time" },
"next_xz": { "title": "Next XZ", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "integer" }, "next_xz": { "title": "Next XZ", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "integer" },
"next_y": { "title": "Next Y", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "integer" }, "next_y": { "title": "Next Y", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "integer" },
"min_wait_time": { "title": "Minimum Wait Time", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" }, "min_wait_time": { "title": "Minimum Wait Time", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" },
"max_wait_time": { "title": "Maximum Wait Time", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" }, "max_wait_time": { "title": "Maximum Wait Time", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" },
"max_travel_time": { "title": "Maximum Travel Time", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" }, "max_travel_time": { "title": "Maximum Travel Time", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" },
"min_perimeter": { "title": "Minimum Perimeter", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" }, "min_perimeter": { "title": "Minimum Perimeter", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" },
"min_dist_from_target": { "title": "Minimum Distance From Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" }, "min_dist_from_target": { "title": "Minimum Distance From Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" },
"timer_ratio": { "title": "Timer Ratio", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" }, "timer_ratio": { "title": "Timer Ratio", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" },
"dist_from_boundary": { "dist_from_boundary": {
"title": "Distance From Boundary", "title": "Distance From Boundary",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "array", "type": "array",
"items": [ "items": [
{ "title": "X", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" }, { "title": "X", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" },
{ "title": "Y", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" }, { "title": "Y", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" },
{ "title": "Z", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" } { "title": "Z", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" }
] ]
} }
} }
} }

View File

@@ -1,17 +1,17 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.find_cover", "$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.find_cover",
"type": "object", "type": "object",
"title": "Find Cover 1.16.0", "title": "Find Cover 1.16.0",
"description": "Allows the mob to seek shade.", "description": "Allows the mob to seek shade.",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"priority": { "$ref": "types/priority.json" }, "priority": { "$ref": "types/priority.json" },
"speed_multiplier": { "$ref": "types/speed_multiplier.json" }, "speed_multiplier": { "$ref": "types/speed_multiplier.json" },
"cooldown_time": { "cooldown_time": {
"type": "number", "type": "number",
"default": 0, "default": 0,
"description": "Time in seconds the mob has to wait before using the goal again", "description": "Time in seconds the mob has to wait before using the goal again",
"title": "Cooldown Time" "title": "Cooldown Time"
} }
} }
} }

View File

@@ -1,46 +1,46 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.find_mount", "$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.find_mount",
"additionalProperties": false, "additionalProperties": false,
"description": "Allows the mob to look around for another mob to ride atop it.", "description": "Allows the mob to look around for another mob to ride atop it.",
"title": "Find Mount 1.16.0", "title": "Find Mount 1.16.0",
"type": "object", "type": "object",
"properties": { "properties": {
"priority": { "$ref": "types/priority.json" }, "priority": { "$ref": "types/priority.json" },
"avoid_water": { "avoid_water": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If true, the mob will not go into water blocks when going towards a mount", "description": "If true, the mob will not go into water blocks when going towards a mount",
"title": "Avoid Water" "title": "Avoid Water"
}, },
"mount_distance": { "mount_distance": {
"type": "number", "type": "number",
"default": -1, "default": -1,
"description": "This is the distance the mob needs to be, in blocks, from the desired mount to mount it. If the value is below 0, the mob will use its default attack distance", "description": "This is the distance the mob needs to be, in blocks, from the desired mount to mount it. If the value is below 0, the mob will use its default attack distance",
"title": "Mount Distance" "title": "Mount Distance"
}, },
"start_delay": { "start_delay": {
"type": "integer", "type": "integer",
"default": 0, "default": 0,
"description": "Time the mob will wait before starting to move towards the mount", "description": "Time the mob will wait before starting to move towards the mount",
"title": "Start Delay" "title": "Start Delay"
}, },
"target_needed": { "target_needed": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If true, the mob will only look for a mount if it has a target", "description": "If true, the mob will only look for a mount if it has a target",
"title": "Target Needed" "title": "Target Needed"
}, },
"within_radius": { "within_radius": {
"type": "number", "type": "number",
"default": 0, "default": 0,
"description": "Distance in blocks within which the mob will look for a mount", "description": "Distance in blocks within which the mob will look for a mount",
"title": "Within Radius" "title": "Within Radius"
}, },
"max_failed_attempts": { "max_failed_attempts": {
"type": "integer", "type": "integer",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"title": "Maximum Failed Attempts" "title": "Maximum Failed Attempts"
} }
} }
} }

View File

@@ -1,19 +1,19 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.find_underwater_treasure", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.find_underwater_treasure",
"type": "object", "type": "object",
"title": "Find Underwater Treasure 1.8.0", "title": "Find Underwater Treasure 1.8.0",
"description": "Allows the mob to move towards the nearest underwater ruin or shipwreck.", "description": "Allows the mob to move towards the nearest underwater ruin or shipwreck.",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" }, "speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
"search_range": { "search_range": {
"type": "integer", "type": "integer",
"default": 0, "default": 0,
"description": "The range that the mob will search for a treasure chest within a ruin or shipwreck to move towards.", "description": "The range that the mob will search for a treasure chest within a ruin or shipwreck to move towards.",
"title": "Search Range" "title": "Search Range"
}, },
"stop_distance": { "type": "number", "default": 2.0, "description": "The distance the mob will move before stopping.", "title": "Stop Distance" } "stop_distance": { "type": "number", "default": 2.0, "description": "The distance the mob will move before stopping.", "title": "Stop Distance" }
} }
} }

View File

@@ -1,9 +1,9 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.flee_sun", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.flee_sun",
"type": "object", "type": "object",
"title": "Flee Sun 1.8.0", "title": "Flee Sun 1.8.0",
"description": "Allows the mob to run away from direct sunlight and seek shade.", "description": "Allows the mob to run away from direct sunlight and seek shade.",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "priority": { "$ref": "types/priority.json" }, "speed_multiplier": { "$ref": "types/speed_multiplier.json" } } "properties": { "priority": { "$ref": "types/priority.json" }, "speed_multiplier": { "$ref": "types/speed_multiplier.json" } }
} }

View File

@@ -1,9 +1,9 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.float", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.float",
"type": "object", "type": "object",
"title": "Float 1.8.0", "title": "Float 1.8.0",
"description": "Allows the mob to stay afloat while swimming.", "description": "Allows the mob to stay afloat while swimming.",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "priority": { "$ref": "./types/priority.json" } } "properties": { "priority": { "$ref": "./types/priority.json" } }
} }

View File

@@ -1,42 +1,42 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.float_wander", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.float_wander",
"type": "object", "type": "object",
"title": "Float Wander 1.8.0", "title": "Float Wander 1.8.0",
"description": "Allows the mob to float around like the Ghast.", "description": "Allows the mob to float around like the Ghast.",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"xz_dist": { "xz_dist": {
"type": "integer", "type": "integer",
"default": 10, "default": 10,
"description": "Distance in blocks on ground that the mob will look for a new spot to move to. Must be at least 1", "description": "Distance in blocks on ground that the mob will look for a new spot to move to. Must be at least 1",
"title": "Xz Dist" "title": "Xz Dist"
}, },
"y_dist": { "y_dist": {
"type": "integer", "type": "integer",
"default": 7, "default": 7,
"description": "Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1", "description": "Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1",
"title": "Y Dist" "title": "Y Dist"
}, },
"y_offset": { "type": "number", "default": 0.0, "description": "Height in blocks to add to the selected target position", "title": "Y Offset" }, "y_offset": { "type": "number", "default": 0.0, "description": "Height in blocks to add to the selected target position", "title": "Y Offset" },
"must_reach": { "must_reach": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If true, the point has to be reachable to be a valid target", "description": "If true, the point has to be reachable to be a valid target",
"title": "Must Reach" "title": "Must Reach"
}, },
"random_reselect": { "random_reselect": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If true, the mob will randomly pick a new point while moving to the previously selected one", "description": "If true, the mob will randomly pick a new point while moving to the previously selected one",
"title": "Random Reselect" "title": "Random Reselect"
}, },
"float_duration": { "float_duration": {
"$ref": "../types/range_number_type.json", "$ref": "../types/range_number_type.json",
"default": [0.0, 0.0], "default": [0.0, 0.0],
"description": "Range of time in seconds the mob will float around before landing and choosing to do something else", "description": "Range of time in seconds the mob will float around before landing and choosing to do something else",
"title": "Float Duration" "title": "Float Duration"
} }
} }
} }

View File

@@ -1,18 +1,18 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.follow_caravan", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.follow_caravan",
"type": "object", "type": "object",
"title": "Follow Caravan 1.8.0", "title": "Follow Caravan 1.8.0",
"description": "Allows the mob to follow mobs that are in a caravan.", "description": "Allows the mob to follow mobs that are in a caravan.",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" }, "speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
"entity_types": { "entity_types": {
"$ref": "../types/entity_types.json", "$ref": "../types/entity_types.json",
"description": "List of entity types that this mob can follow in a caravan", "description": "List of entity types that this mob can follow in a caravan",
"title": "Entity Types" "title": "Entity Types"
}, },
"entity_count": { "type": "integer", "description": "Number of entities that can be in the caravan", "default": 1, "title": "Entity Count" } "entity_count": { "type": "integer", "description": "Number of entities that can be in the caravan", "default": 1, "title": "Entity Count" }
} }
} }

View File

@@ -1,24 +1,24 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.follow_mob", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.follow_mob",
"type": "object", "type": "object",
"title": "Follow Mob 1.8.0", "title": "Follow Mob 1.8.0",
"description": "Allows the mob to follow other mobs.", "description": "Allows the mob to follow other mobs.",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "types/priority.json" }, "priority": { "$ref": "types/priority.json" },
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" }, "speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
"search_range": { "search_range": {
"type": "integer", "type": "integer",
"default": 0, "default": 0,
"description": "The distance in blocks it will look for a mob to follow", "description": "The distance in blocks it will look for a mob to follow",
"title": "Search Range" "title": "Search Range"
}, },
"stop_distance": { "stop_distance": {
"type": "number", "type": "number",
"default": 2, "default": 2,
"description": "The distance in blocks this mob stops from the mob it is following", "description": "The distance in blocks this mob stops from the mob it is following",
"title": "Stop Distance" "title": "Stop Distance"
} }
} }
} }

View File

@@ -1,24 +1,24 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.follow_owner", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.follow_owner",
"type": "object", "type": "object",
"title": "Follow Owner 1.8.0", "title": "Follow Owner 1.8.0",
"description": "Allows the mob to follow their parent around.", "description": "Allows the mob to follow their parent around.",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "types/priority.json" }, "priority": { "$ref": "types/priority.json" },
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" }, "speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
"start_distance": { "start_distance": {
"type": "number", "type": "number",
"default": 10, "default": 10,
"description": "The distance in blocks that the owner can be away from this mob before it starts following it", "description": "The distance in blocks that the owner can be away from this mob before it starts following it",
"title": "Start Distance" "title": "Start Distance"
}, },
"stop_distance": { "stop_distance": {
"type": "number", "type": "number",
"default": 2, "default": 2,
"description": "The distance in blocks this mob will stop from its owner while following it", "description": "The distance in blocks this mob will stop from its owner while following it",
"title": "Stop Distance" "title": "Stop Distance"
} }
} }
} }

View File

@@ -1,9 +1,9 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.float", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.float",
"type": "object", "type": "object",
"title": "Float 1.8.0", "title": "Float 1.8.0",
"description": "Allows the mob to follow their parent around.", "description": "Allows the mob to follow their parent around.",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "priority": { "$ref": "types/priority.json" }, "speed_multiplier": { "$ref": "./types/speed_multiplier.json" } } "properties": { "priority": { "$ref": "types/priority.json" }, "speed_multiplier": { "$ref": "./types/speed_multiplier.json" } }
} }

View File

@@ -1,24 +1,24 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.follow_target_captain", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.follow_target_captain",
"type": "object", "type": "object",
"title": "Follow Target Captain 1.8.0", "title": "Follow Target Captain 1.8.0",
"description": "Allows mob to move towards its current target captain.", "description": "Allows mob to move towards its current target captain.",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "types/priority.json" }, "priority": { "$ref": "types/priority.json" },
"speed_multiplier": { "$ref": "types/speed_multiplier.json" }, "speed_multiplier": { "$ref": "types/speed_multiplier.json" },
"follow_distance": { "follow_distance": {
"type": "number", "type": "number",
"default": 0, "default": 0,
"description": "Defines the distance in blocks the mob will stay from its target while following.", "description": "Defines the distance in blocks the mob will stay from its target while following.",
"title": "Follow Distance" "title": "Follow Distance"
}, },
"within_radius": { "within_radius": {
"type": "number", "type": "number",
"default": 0, "default": 0,
"description": "Defines the maximum distance in blocks a mob can get from its target captain before giving up trying to follow it.", "description": "Defines the maximum distance in blocks a mob can get from its target captain before giving up trying to follow it.",
"title": "Within Radius" "title": "Within Radius"
} }
} }
} }

View File

@@ -1,34 +1,34 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.go_home", "$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.go_home",
"additionalProperties": false, "additionalProperties": false,
"description": "Allows the mob to move back to the position they were spawned.", "description": "Allows the mob to move back to the position they were spawned.",
"title": "Go Home", "title": "Go Home",
"type": "object", "type": "object",
"properties": { "properties": {
"priority": { "$ref": "types/priority.json" }, "priority": { "$ref": "types/priority.json" },
"speed_multiplier": { "$ref": "types/speed_multiplier.json" }, "speed_multiplier": { "$ref": "types/speed_multiplier.json" },
"goal_radius": { "goal_radius": {
"type": "number", "type": "number",
"default": 0.5, "default": 0.5,
"description": "Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot", "description": "Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot",
"title": "Goal Radius" "title": "Goal Radius"
}, },
"interval": { "interval": {
"type": "integer", "type": "integer",
"default": 120, "default": 120,
"description": "A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal", "description": "A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal",
"title": "Interval" "title": "Interval"
}, },
"on_home": { "on_home": {
"description": "Event to run when this mob gets home.", "description": "Event to run when this mob gets home.",
"title": "On Home", "title": "On Home",
"oneOf": [{ "$ref": "../types/trigger.json" }, { "type": "array", "items": { "$ref": "../types/trigger.json" } }] "oneOf": [{ "$ref": "../types/trigger.json" }, { "type": "array", "items": { "$ref": "../types/trigger.json" } }]
}, },
"on_failed": { "on_failed": {
"$ref": "../types/event.json", "$ref": "../types/event.json",
"title": "On Failed", "title": "On Failed",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED" "$comment": "UNDOCUMENTED"
} }
} }
} }

View File

@@ -1,9 +1,9 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.guardian_attack", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.guardian_attack",
"type": "object", "type": "object",
"title": "Guardian Attack 1.8.0", "title": "Guardian Attack 1.8.0",
"description": "Allows the guardian to use its laser beam attack. Can only be used by Guardians and Elder Guardians.", "description": "Allows the guardian to use its laser beam attack. Can only be used by Guardians and Elder Guardians.",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "priority": { "$ref": "./types/priority.json" } } "properties": { "priority": { "$ref": "./types/priority.json" } }
} }

View File

@@ -1,25 +1,25 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.harvest_farm_block", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.harvest_farm_block",
"type": "object", "type": "object",
"title": "Harvest Farm Block 1.8.0", "title": "Harvest Farm Block 1.8.0",
"description": "Allows the villager to harvest nearby farms. Can only be used by Villagers.", "description": "Allows the villager to harvest nearby farms. Can only be used by Villagers.",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "types/priority.json" }, "priority": { "$ref": "types/priority.json" },
"speed_multiplier": { "$ref": "types/speed_multiplier.json" }, "speed_multiplier": { "$ref": "types/speed_multiplier.json" },
"max_seconds_before_search": { "max_seconds_before_search": {
"title": "Maximum Seconds Before Search", "title": "Maximum Seconds Before Search",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "number" "type": "number"
}, },
"search_cooldown_max_seconds": { "search_cooldown_max_seconds": {
"title": "Search Cooldown Maximum Seconds", "title": "Search Cooldown Maximum Seconds",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"type": "number" "type": "number"
}, },
"seconds_until_new_task": { "title": "Seconds Until New Task", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" } "seconds_until_new_task": { "title": "Seconds Until New Task", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" }
} }
} }

View File

@@ -1,26 +1,26 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.hide", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.hide",
"type": "object", "type": "object",
"title": "Hide 1.8.0", "title": "Hide 1.8.0",
"additionalProperties": false, "additionalProperties": false,
"description": "Allows a mob with the hide component to attempt to move to - and hide at - an owned or nearby POI.", "description": "Allows a mob with the hide component to attempt to move to - and hide at - an owned or nearby POI.",
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "types/priority.json" }, "priority": { "$ref": "types/priority.json" },
"speed_multiplier": { "$ref": "types/speed_multiplier.json" }, "speed_multiplier": { "$ref": "types/speed_multiplier.json" },
"duration": { "type": "number", "default": 1, "description": "Amount of time in seconds that the mob reacts.", "title": "Duration" }, "duration": { "type": "number", "default": 1, "description": "Amount of time in seconds that the mob reacts.", "title": "Duration" },
"poi_type": { "poi_type": {
"type": "string", "type": "string",
"default": "", "default": "",
"description": "Defines what POI type to hide at.", "description": "Defines what POI type to hide at.",
"title": "Point Of Interest Type", "title": "Point Of Interest Type",
"examples": ["bed"] "examples": ["bed"]
}, },
"timeout_cooldown": { "timeout_cooldown": {
"type": "number", "type": "number",
"default": 8, "default": 8,
"description": "The cooldown time in seconds before the goal can be reused after a internal failure or timeout condition.", "description": "The cooldown time in seconds before the goal can be reused after a internal failure or timeout condition.",
"title": "Timeout Cooldown" "title": "Timeout Cooldown"
} }
} }
} }

View File

@@ -1,28 +1,28 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.hold_ground", "$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.hold_ground",
"type": "object", "type": "object",
"title": "Hold Ground 1.16.0", "title": "Hold Ground 1.16.0",
"description": "The mob freezes and looks at the mob they are targeting.", "description": "The mob freezes and looks at the mob they are targeting.",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"priority": { "$ref": "types/priority.json" }, "priority": { "$ref": "types/priority.json" },
"broadcast": { "broadcast": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "Whether to broadcast out the mob's target to other mobs of the same type.", "description": "Whether to broadcast out the mob's target to other mobs of the same type.",
"title": "Broadcast" "title": "Broadcast"
}, },
"broadcast_range": { "type": "number", "default": 0.0, "description": "Range in blocks for how far to broadcast.", "title": "Broadcast Range" }, "broadcast_range": { "type": "number", "default": 0.0, "description": "Range in blocks for how far to broadcast.", "title": "Broadcast Range" },
"min_radius": { "min_radius": {
"type": "number", "type": "number",
"default": 10.0, "default": 10.0,
"description": "Minimum distance the target must be for the mob to run this goal.", "description": "Minimum distance the target must be for the mob to run this goal.",
"title": "Minimum Radius" "title": "Minimum Radius"
}, },
"within_radius_event": { "within_radius_event": {
"$ref": "../types/event.json", "$ref": "../types/event.json",
"description": "Event to run when target is within the radius. This event is broadcasted if broadcast is true.", "description": "Event to run when target is within the radius. This event is broadcasted if broadcast is true.",
"title": "Within Radius Event" "title": "Within Radius Event"
} }
} }
} }

View File

@@ -1,28 +1,28 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.hurt_by_target", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.hurt_by_target",
"type": "object", "type": "object",
"title": "Guardian Attack 1.8.0", "title": "Guardian Attack 1.8.0",
"additionalProperties": false, "additionalProperties": false,
"description": "Allows the mob to target another mob that hurts them.", "description": "Allows the mob to target another mob that hurts them.",
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"entity_types": { "entity_types": {
"$ref": "../types/entity_types.json", "$ref": "../types/entity_types.json",
"description": "List of entity types that this mob can target if they hurt their owner", "description": "List of entity types that this mob can target if they hurt their owner",
"title": "Entity Types" "title": "Entity Types"
}, },
"alert_same_type": { "alert_same_type": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If true, nearby mobs of the same type will be alerted about the damage", "description": "If true, nearby mobs of the same type will be alerted about the damage",
"title": "Alert Same Type" "title": "Alert Same Type"
}, },
"hurt_owner": { "hurt_owner": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If true, the mob will hurt its owner and other mobs with the same owner as itself", "description": "If true, the mob will hurt its owner and other mobs with the same owner as itself",
"title": "Hurt Owner" "title": "Hurt Owner"
} }
} }
} }

View File

@@ -1,36 +1,36 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.inspect_bookshelf", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.inspect_bookshelf",
"type": "object", "type": "object",
"title": "Inspect Bookshelf 1.8.0", "title": "Inspect Bookshelf 1.8.0",
"additionalProperties": false, "additionalProperties": false,
"description": "Allows the mob to inspect bookshelves.", "description": "Allows the mob to inspect bookshelves.",
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "types/priority.json" }, "priority": { "$ref": "types/priority.json" },
"speed_multiplier": { "$ref": "types/speed_multiplier.json" }, "speed_multiplier": { "$ref": "types/speed_multiplier.json" },
"goal_radius": { "goal_radius": {
"type": "number", "type": "number",
"default": 0.5, "default": 0.5,
"description": "Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot", "description": "Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot",
"title": "Goal Radius" "title": "Goal Radius"
}, },
"search_count": { "search_count": {
"type": "integer", "type": "integer",
"default": 10, "default": 10,
"description": "The number of blocks each tick that the mob will check within it's search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick", "description": "The number of blocks each tick that the mob will check within it's search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick",
"title": "Search Count" "title": "Search Count"
}, },
"search_height": { "search_height": {
"type": "integer", "type": "integer",
"default": 1, "default": 1,
"description": "The height that the mob will search for bookshelves", "description": "The height that the mob will search for bookshelves",
"title": "Search Height" "title": "Search Height"
}, },
"search_range": { "search_range": {
"type": "integer", "type": "integer",
"default": 0, "default": 0,
"description": "Distance in blocks the mob will look for books to inspect", "description": "Distance in blocks the mob will look for books to inspect",
"title": "Search Range" "title": "Search Range"
} }
} }
} }

View File

@@ -1,50 +1,50 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.jump_to_block", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.jump_to_block",
"type": "object", "type": "object",
"title": "Melee Attack 1.8.0", "title": "Melee Attack 1.8.0",
"description": "Allows the mob to search around for a block to jump to and then jump to that block.", "description": "Allows the mob to search around for a block to jump to and then jump to that block.",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"search_width": { "search_width": {
"type": "integer", "type": "integer",
"title": "Search Width", "title": "Search Width",
"default": 8, "default": 8,
"description": "The maximum width in blocks that the mob will search. Range [2, 15]." "description": "The maximum width in blocks that the mob will search. Range [2, 15]."
}, },
"search_height": { "search_height": {
"type": "integer", "type": "integer",
"default": 10, "default": 10,
"title": "Search Height", "title": "Search Height",
"description": "The maximum height in blocks that the mob will search. Range [2, 15]." "description": "The maximum height in blocks that the mob will search. Range [2, 15]."
}, },
"minimum_path_length": { "minimum_path_length": {
"type": "integer", "type": "integer",
"default": 5, "default": 5,
"title": "Minimum Path Length", "title": "Minimum Path Length",
"description": "The minimum length in blocks of the mob's path to a block in order to consider jumping to it." "description": "The minimum length in blocks of the mob's path to a block in order to consider jumping to it."
}, },
"minimum_distance": { "minimum_distance": {
"type": "number", "type": "number",
"default": 5, "default": 5,
"title": "Minimum Distance", "title": "Minimum Distance",
"description": "The minimum distance in blocks from the mob to a block in order to consider jumping to it." "description": "The minimum distance in blocks from the mob to a block in order to consider jumping to it."
}, },
"scale_factor": { "scale_factor": {
"type": "number", "type": "number",
"title": "Scale Factor", "title": "Scale Factor",
"default": 0.7, "default": 0.7,
"description": "The scale factor of the bounding box of the mob while it is jumping." "description": "The scale factor of the bounding box of the mob while it is jumping."
}, },
"cooldown_range": { "cooldown_range": {
"title": "Cooldown Range", "title": "Cooldown Range",
"description": "The minimum and maximum cooldown time-range in seconds between each attempted jump.", "description": "The minimum and maximum cooldown time-range in seconds between each attempted jump.",
"type": "array", "type": "array",
"items": [ "items": [
{ "title": "Minimum", "description": "Minimum", "type": "integer", "minimum": 0 }, { "title": "Minimum", "description": "Minimum", "type": "integer", "minimum": 0 },
{ "title": "Maximum", "description": "Maximum", "type": "integer", "minimum": 0 } { "title": "Maximum", "description": "Maximum", "type": "integer", "minimum": 0 }
] ]
} }
} }
} }

View File

@@ -1,75 +1,75 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.knockback_roar", "$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.knockback_roar",
"description": "Allows the mob to perform a damaging knockback that affects all nearby entities.", "description": "Allows the mob to perform a damaging knockback that affects all nearby entities.",
"type": "object", "type": "object",
"title": "Knockback Roar 1.16.0", "title": "Knockback Roar 1.16.0",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"attack_time": { "attack_time": {
"type": "number", "type": "number",
"default": 0.5, "default": 0.5,
"description": "The delay after which the knockback occurs (in seconds).", "description": "The delay after which the knockback occurs (in seconds).",
"title": "Attack Time" "title": "Attack Time"
}, },
"cooldown_time": { "cooldown_time": {
"type": "number", "type": "number",
"default": 0, "default": 0,
"description": "Time in seconds the mob has to wait before using the goal again", "description": "Time in seconds the mob has to wait before using the goal again",
"title": "Cooldown Time" "title": "Cooldown Time"
}, },
"duration": { "duration": {
"type": "number", "type": "number",
"default": 1, "default": 1,
"description": "The duration of the roar (in seconds).", "description": "The duration of the roar (in seconds).",
"title": "Duration" "title": "Duration"
}, },
"knockback_damage": { "knockback_damage": {
"type": "integer", "type": "integer",
"default": 6, "default": 6,
"description": "The damage dealt by the knockback roar.", "description": "The damage dealt by the knockback roar.",
"title": "Knockback Damage" "title": "Knockback Damage"
}, },
"knockback_horizontal_strength": { "knockback_horizontal_strength": {
"type": "integer", "type": "integer",
"default": 4, "default": 4,
"description": "The strength of the horizontal knockback.", "description": "The strength of the horizontal knockback.",
"title": "Knockback Horizontal Strength" "title": "Knockback Horizontal Strength"
}, },
"knockback_range": { "knockback_range": {
"type": "integer", "type": "integer",
"default": 4, "default": 4,
"description": "The radius (in blocks) of the knockback effect.", "description": "The radius (in blocks) of the knockback effect.",
"title": "Knockback Range" "title": "Knockback Range"
}, },
"knockback_vertical_strength": { "knockback_vertical_strength": {
"type": "integer", "type": "integer",
"default": 4, "default": 4,
"description": "The strength of the vertical knockback.", "description": "The strength of the vertical knockback.",
"title": "Knockback Vertical Strength" "title": "Knockback Vertical Strength"
}, },
"track_target": { "track_target": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If true, this mob will chase after the target as long as it's a valid target", "description": "If true, this mob will chase after the target as long as it's a valid target",
"title": "Track Target" "title": "Track Target"
}, },
"knockback_strength": { "type": "integer", "default": 4, "description": "The strength of the knockback.", "title": "Knockback Strength" }, "knockback_strength": { "type": "integer", "default": 4, "description": "The strength of the knockback.", "title": "Knockback Strength" },
"knockback_filters": { "knockback_filters": {
"$ref": "../../filters/filters.json", "$ref": "../../filters/filters.json",
"description": "filters to use to decide what is affected by knockback roar.", "description": "filters to use to decide what is affected by knockback roar.",
"title": "Knockback Filters" "title": "Knockback Filters"
}, },
"damage_filters": { "damage_filters": {
"$ref": "../../filters/filters.json", "$ref": "../../filters/filters.json",
"description": "filters to use to decide what is damaged by knockback roar.", "description": "filters to use to decide what is damaged by knockback roar.",
"title": "Damage Filters" "title": "Damage Filters"
}, },
"on_roar_end": { "on_roar_end": {
"$ref": "../types/event.json", "$ref": "../types/event.json",
"description": "Event to run when knockback roar has finished.", "description": "Event to run when knockback roar has finished.",
"title": "On Roar End" "title": "On Roar End"
} }
} }
} }

View File

@@ -1,23 +1,23 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.lay_down", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.lay_down",
"description": "Allows mobs to lay down at times.", "description": "Allows mobs to lay down at times.",
"type": "object", "type": "object",
"title": "Lay Down 1.8.0", "title": "Lay Down 1.8.0",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"interval": { "interval": {
"type": "integer", "type": "integer",
"default": 120, "default": 120,
"description": "A random value to determine at what intervals something can occur. This has a 1/interval chance to choose this goal", "description": "A random value to determine at what intervals something can occur. This has a 1/interval chance to choose this goal",
"title": "Interval" "title": "Interval"
}, },
"random_stop_interval": { "random_stop_interval": {
"type": "integer", "type": "integer",
"default": 120, "default": 120,
"description": "A random value in which the goal can use to pull out of the behavior. This is a 1/interval chance to play the sound", "description": "A random value in which the goal can use to pull out of the behavior. This is a 1/interval chance to play the sound",
"title": "Random Stop Interval" "title": "Random Stop Interval"
} }
} }
} }

View File

@@ -1,31 +1,31 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.lay_egg", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.lay_egg",
"description": "Allows the mob to lay an egg block on a sand block if the mob is pregnant.", "description": "Allows the mob to lay an egg block on a sand block if the mob is pregnant.",
"type": "object", "type": "object",
"title": "Lay Egg 1.8.0", "title": "Lay Egg 1.8.0",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "types/priority.json" }, "priority": { "$ref": "types/priority.json" },
"speed_multiplier": { "$ref": "types/speed_multiplier.json" }, "speed_multiplier": { "$ref": "types/speed_multiplier.json" },
"goal_radius": { "goal_radius": {
"type": "number", "type": "number",
"default": 0.5, "default": 0.5,
"description": "Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot", "description": "Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot",
"title": "Goal Radius" "title": "Goal Radius"
}, },
"on_lay": { "$ref": "../types/event.json", "description": "Event to run when this mob lays the egg.", "title": "On Lay" }, "on_lay": { "$ref": "../types/event.json", "description": "Event to run when this mob lays the egg.", "title": "On Lay" },
"search_height": { "search_height": {
"type": "integer", "type": "integer",
"default": 1, "default": 1,
"description": "Height in blocks the mob will look for sand block to move towards", "description": "Height in blocks the mob will look for sand block to move towards",
"title": "Search Height" "title": "Search Height"
}, },
"search_range": { "search_range": {
"type": "integer", "type": "integer",
"default": 0, "default": 0,
"description": "The distance in blocks it will look for a sand block to move towards", "description": "The distance in blocks it will look for a sand block to move towards",
"title": "Search Range" "title": "Search Range"
} }
} }
} }

View File

@@ -1,25 +1,25 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.leap_at_target", "$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.leap_at_target",
"description": "Allows monsters to jump at and attack their target. Can only be used by hostile mobs.", "description": "Allows monsters to jump at and attack their target. Can only be used by hostile mobs.",
"type": "object", "type": "object",
"title": "Leap At Target 1.16.0", "title": "Leap At Target 1.16.0",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"must_be_on_ground": { "must_be_on_ground": {
"type": "boolean", "type": "boolean",
"default": true, "default": true,
"description": "If true, the mob will only jump at its target if its on the ground. Setting it to false will allow it to jump even if its already in the air", "description": "If true, the mob will only jump at its target if its on the ground. Setting it to false will allow it to jump even if its already in the air",
"title": "Must Be On Ground" "title": "Must Be On Ground"
}, },
"set_persistent": { "set_persistent": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "Allows the actor to be set to persist upon targeting a player", "description": "Allows the actor to be set to persist upon targeting a player",
"title": "Set Persistent" "title": "Set Persistent"
}, },
"yd": { "type": "number", "default": 0, "description": "The height in blocks the mob jumps when leaping at its target", "title": "Yd" }, "yd": { "type": "number", "default": 0, "description": "The height in blocks the mob jumps when leaping at its target", "title": "Yd" },
"target_dist": { "type": "number", "default": 0, "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Target Dist" } "target_dist": { "type": "number", "default": 0, "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Target Dist" }
} }
} }

View File

@@ -1,45 +1,45 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.look_at_entity", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.look_at_entity",
"description": "Allows the mob to look at nearby entities.", "description": "Allows the mob to look at nearby entities.",
"type": "object", "type": "object",
"title": "Look At Entity 1.8.0", "title": "Look At Entity 1.8.0",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"look_distance": { "look_distance": {
"type": "number", "type": "number",
"default": 8.0, "default": 8.0,
"description": "The distance in blocks from which the entity will look at", "description": "The distance in blocks from which the entity will look at",
"title": "Look Distance" "title": "Look Distance"
}, },
"probability": { "probability": {
"type": "number", "type": "number",
"default": 0.02, "default": 0.02,
"description": "The probability of looking at the target. A value of 1.00 is 100%", "description": "The probability of looking at the target. A value of 1.00 is 100%",
"title": "Probability" "title": "Probability"
}, },
"look_time": { "look_time": {
"$ref": "../types/range_number_type.json", "$ref": "../types/range_number_type.json",
"default": [2, 4], "default": [2, 4],
"description": "Time range to look at the entity", "description": "Time range to look at the entity",
"title": "Look Time" "title": "Look Time"
}, },
"angle_of_view_vertical": { "angle_of_view_vertical": {
"type": "integer", "type": "integer",
"default": 360, "default": 360,
"description": "The angle in degrees that the mob can see in the X-axis (left-right)", "description": "The angle in degrees that the mob can see in the X-axis (left-right)",
"title": "Angle Of View Vertical" "title": "Angle Of View Vertical"
}, },
"angle_of_view_horizontal": { "angle_of_view_horizontal": {
"type": "integer", "type": "integer",
"default": 360, "default": 360,
"description": "The angle in degrees that the mob can see in the Y-axis (up-down)", "description": "The angle in degrees that the mob can see in the Y-axis (up-down)",
"title": "Angle Of View Horizontal" "title": "Angle Of View Horizontal"
}, },
"filters": { "filters": {
"description": "Filter to determine the conditions for this mob to look at the entity", "description": "Filter to determine the conditions for this mob to look at the entity",
"$ref": "../../filters/filters.json" "$ref": "../../filters/filters.json"
} }
} }
} }

View File

@@ -1,44 +1,44 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.look_at_player", "$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.look_at_player",
"type": "object", "type": "object",
"title": "Look At Player 1.16.0", "title": "Look At Player 1.16.0",
"description": "Allows the mob to look at the player when the player is nearby.", "description": "Allows the mob to look at the player when the player is nearby.",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"angle_of_view_vertical": { "angle_of_view_vertical": {
"type": "integer", "type": "integer",
"default": 360, "default": 360,
"description": "The angle in degrees that the mob can see in the X-axis (left-right)", "description": "The angle in degrees that the mob can see in the X-axis (left-right)",
"title": "Angle Of View Vertical" "title": "Angle Of View Vertical"
}, },
"angle_of_view_horizontal": { "angle_of_view_horizontal": {
"type": "integer", "type": "integer",
"default": 360, "default": 360,
"description": "The angle in degrees that the mob can see in the Y-axis (up-down)", "description": "The angle in degrees that the mob can see in the Y-axis (up-down)",
"title": "Angle Of View Horizontal" "title": "Angle Of View Horizontal"
}, },
"look_distance": { "look_distance": {
"type": "number", "type": "number",
"default": 8.0, "default": 8.0,
"description": "The distance in blocks from which the entity will look at", "description": "The distance in blocks from which the entity will look at",
"title": "Look Distance" "title": "Look Distance"
}, },
"probability": { "probability": {
"type": "number", "type": "number",
"default": 0.02, "default": 0.02,
"minimum": 0, "minimum": 0,
"description": "The probability of looking at the target. A value of 1.00 is 100%", "description": "The probability of looking at the target. A value of 1.00 is 100%",
"title": "Probability" "title": "Probability"
}, },
"look_time": { "look_time": {
"type": "array", "type": "array",
"default": [2, 4], "default": [2, 4],
"description": "Time range to look at the entity", "description": "Time range to look at the entity",
"title": "Look Time", "title": "Look Time",
"items": [{ "type": "number" }, { "type": "number" }] "items": [{ "type": "number" }, { "type": "number" }]
}, },
"target_distance": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Target Distance" } "target_distance": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Target Distance" }
} }
} }

View File

@@ -1,41 +1,41 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.look_at_target", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.look_at_target",
"type": "object", "type": "object",
"title": "Look At Target 1.8.0", "title": "Look At Target 1.8.0",
"description": "Allows the mob to look at the entity they are targetting.", "description": "Allows the mob to look at the entity they are targetting.",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"look_distance": { "look_distance": {
"type": "number", "type": "number",
"default": 8.0, "default": 8.0,
"description": "The distance in blocks from which the entity will look at", "description": "The distance in blocks from which the entity will look at",
"title": "Look Distance" "title": "Look Distance"
}, },
"probability": { "probability": {
"type": "number", "type": "number",
"default": 0.02, "default": 0.02,
"description": "The probability of looking at the target. A value of 1.00 is 100%", "description": "The probability of looking at the target. A value of 1.00 is 100%",
"title": "Probability" "title": "Probability"
}, },
"look_time": { "look_time": {
"$ref": "../types/range_number_type.json", "$ref": "../types/range_number_type.json",
"default": [2, 4], "default": [2, 4],
"description": "Time range to look at the entity", "description": "Time range to look at the entity",
"title": "Look Time" "title": "Look Time"
}, },
"angle_of_view_vertical": { "angle_of_view_vertical": {
"type": "integer", "type": "integer",
"default": 360, "default": 360,
"description": "The angle in degrees that the mob can see in the X-axis (left-right)", "description": "The angle in degrees that the mob can see in the X-axis (left-right)",
"title": "Angle Of View Vertical" "title": "Angle Of View Vertical"
}, },
"angle_of_view_horizontal": { "angle_of_view_horizontal": {
"type": "integer", "type": "integer",
"default": 360, "default": 360,
"description": "The angle in degrees that the mob can see in the Y-axis (up-down)", "description": "The angle in degrees that the mob can see in the Y-axis (up-down)",
"title": "Angle Of View Horizontal" "title": "Angle Of View Horizontal"
} }
} }
} }

View File

@@ -1,41 +1,41 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.look_at_trading_player", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.look_at_trading_player",
"type": "object", "type": "object",
"title": "Look At Trading Player 1.8.0", "title": "Look At Trading Player 1.8.0",
"additionalProperties": false, "additionalProperties": false,
"description": "Allows the mob to look at the player they are trading with.", "description": "Allows the mob to look at the player they are trading with.",
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"look_distance": { "look_distance": {
"type": "number", "type": "number",
"default": 8.0, "default": 8.0,
"description": "The distance in blocks from which the entity will look at", "description": "The distance in blocks from which the entity will look at",
"title": "Look Distance" "title": "Look Distance"
}, },
"probability": { "probability": {
"type": "number", "type": "number",
"default": 0.02, "default": 0.02,
"description": "The probability of looking at the target. A value of 1.00 is 100%", "description": "The probability of looking at the target. A value of 1.00 is 100%",
"title": "Probability" "title": "Probability"
}, },
"look_time": { "look_time": {
"$ref": "../types/range_number_type.json", "$ref": "../types/range_number_type.json",
"default": [2, 4], "default": [2, 4],
"description": "Time range to look at the entity", "description": "Time range to look at the entity",
"title": "Look Time" "title": "Look Time"
}, },
"angle_of_view_vertical": { "angle_of_view_vertical": {
"type": "integer", "type": "integer",
"default": 360, "default": 360,
"description": "The angle in degrees that the mob can see in the X-axis (left-right)", "description": "The angle in degrees that the mob can see in the X-axis (left-right)",
"title": "Angle Of View Vertical" "title": "Angle Of View Vertical"
}, },
"angle_of_view_horizontal": { "angle_of_view_horizontal": {
"type": "integer", "type": "integer",
"default": 360, "default": 360,
"description": "The angle in degrees that the mob can see in the Y-axis (up-down)", "description": "The angle in degrees that the mob can see in the Y-axis (up-down)",
"title": "Angle Of View Horizontal" "title": "Angle Of View Horizontal"
} }
} }
} }

View File

@@ -1,9 +1,9 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.make_love", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.make_love",
"description": "Allows the villager to look for a mate to spawn other villagers with. Can only be used by Villagers.", "description": "Allows the villager to look for a mate to spawn other villagers with. Can only be used by Villagers.",
"type": "object", "type": "object",
"title": "Make Love 1.8.0", "title": "Make Love 1.8.0",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "priority": { "$ref": "./types/priority.json" } } "properties": { "priority": { "$ref": "./types/priority.json" } }
} }

View File

@@ -1,62 +1,62 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.melee_attack", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.melee_attack",
"type": "object", "type": "object",
"title": "Melee Attack 1.8.0", "title": "Melee Attack 1.8.0",
"description": "Allows the mob to use close combat melee attacks.", "description": "Allows the mob to use close combat melee attacks.",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" }, "speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
"melee_fov": { "melee_fov": {
"type": "number", "type": "number",
"default": 90.0, "default": 90.0,
"description": "The allowable FOV the actor will use to determine if it can make a valid melee attack", "description": "The allowable FOV the actor will use to determine if it can make a valid melee attack",
"title": "Melee Fov" "title": "Melee Fov"
}, },
"track_target": { "track_target": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If true, this mob will chase after the target as long as it's a valid target", "description": "If true, this mob will chase after the target as long as it's a valid target",
"title": "Track Target" "title": "Track Target"
}, },
"attack_types": { "type": "string", "description": "Defines the entity types this mob will attack", "title": "Attack Types" }, "attack_types": { "type": "string", "description": "Defines the entity types this mob will attack", "title": "Attack Types" },
"random_stop_interval": { "random_stop_interval": {
"type": "integer", "type": "integer",
"default": 0, "default": 0,
"description": "Defines the probability the mob will stop fighting. A value of 0 disables randomly stopping, while a value of 1 defines a 50% chance", "description": "Defines the probability the mob will stop fighting. A value of 0 disables randomly stopping, while a value of 1 defines a 50% chance",
"title": "Random Stop Interval" "title": "Random Stop Interval"
}, },
"reach_multiplier": { "reach_multiplier": {
"type": "number", "type": "number",
"default": 2.0, "default": 2.0,
"description": "Multiplier for how far outside its box the mob can reach its target (this can be used to simulate a mob with longer arms by making this bigger)", "description": "Multiplier for how far outside its box the mob can reach its target (this can be used to simulate a mob with longer arms by making this bigger)",
"title": "Reach Multiplier" "title": "Reach Multiplier"
}, },
"attack_once": { "type": "boolean", "default": false, "description": "If true, this mob will attack only one time.", "title": "Attack Once" }, "attack_once": { "type": "boolean", "default": false, "description": "If true, this mob will attack only one time.", "title": "Attack Once" },
"require_complete_path": { "require_complete_path": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If true, this goal will only trigger if the mob can reach its target.", "description": "If true, this goal will only trigger if the mob can reach its target.",
"title": "Require Complete Path" "title": "Require Complete Path"
}, },
"cooldown_time": { "cooldown_time": {
"type": "number", "type": "number",
"title": "Cooldown Time", "title": "Cooldown Time",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED" "$comment": "UNDOCUMENTED"
}, },
"on_attack": { "on_attack": {
"$ref": "../types/event.json", "$ref": "../types/event.json",
"title": "On Attack", "title": "On Attack",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED" "$comment": "UNDOCUMENTED"
}, },
"on_kill": { "on_kill": {
"$ref": "../types/event.json", "$ref": "../types/event.json",
"title": "On Attack", "title": "On Attack",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED" "$comment": "UNDOCUMENTED"
} }
} }
} }

View File

@@ -1,38 +1,38 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.mingle", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.mingle",
"description": "Allows an entity to go to the village bell and mingle with other entities.", "description": "Allows an entity to go to the village bell and mingle with other entities.",
"type": "object", "type": "object",
"title": "Mingle 1.8.0", "title": "Mingle 1.8.0",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "types/priority.json" }, "priority": { "$ref": "types/priority.json" },
"speed_multiplier": { "$ref": "types/speed_multiplier.json" }, "speed_multiplier": { "$ref": "types/speed_multiplier.json" },
"cooldown_time": { "cooldown_time": {
"type": "number", "type": "number",
"default": 0, "default": 0,
"description": "Time in seconds the mob has to wait before using the goal again", "description": "Time in seconds the mob has to wait before using the goal again",
"title": "Cooldown Time" "title": "Cooldown Time"
}, },
"duration": { "duration": {
"type": "number", "type": "number",
"default": 1, "default": 1,
"description": "Amount of time in seconds that the entity will chat with another entity", "description": "Amount of time in seconds that the entity will chat with another entity",
"title": "Duration" "title": "Duration"
}, },
"mingle_distance": { "mingle_distance": {
"type": "number", "type": "number",
"default": 2.0, "default": 2.0,
"description": "The distance from its partner that this entity will mingle. If the entity type is not the same as the entity, this value needs to be identical on both entities.", "description": "The distance from its partner that this entity will mingle. If the entity type is not the same as the entity, this value needs to be identical on both entities.",
"title": "Mingle Distance" "title": "Mingle Distance"
}, },
"mingle_partner_type": { "mingle_partner_type": {
"description": "The entity type that this entity is allowed to mingle with", "description": "The entity type that this entity is allowed to mingle with",
"title": "Mingle Partner Type", "title": "Mingle Partner Type",
"oneOf": [ "oneOf": [
{ "type": "array", "items": { "description": "The entity type that this entity is allowed to mingle with", "type": "string" } }, { "type": "array", "items": { "description": "The entity type that this entity is allowed to mingle with", "type": "string" } },
{ "type": "string" } { "type": "string" }
] ]
} }
} }
} }

View File

@@ -1,24 +1,24 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.mount_pathing", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.mount_pathing",
"type": "object", "type": "object",
"title": "Mount Pathing 1.8.0", "title": "Mount Pathing 1.8.0",
"description": "Allows the mob to move around on its own while mounted seeking a target to attack.", "description": "Allows the mob to move around on its own while mounted seeking a target to attack.",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" }, "speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
"target_dist": { "target_dist": {
"type": "number", "type": "number",
"default": 0.0, "default": 0.0,
"description": "The distance at which this mob wants to be away from its target", "description": "The distance at which this mob wants to be away from its target",
"title": "Target Dist" "title": "Target Dist"
}, },
"track_target": { "track_target": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If true, this mob will chase after the target as long as it's a valid target", "description": "If true, this mob will chase after the target as long as it's a valid target",
"title": "Track Target" "title": "Track Target"
} }
} }
} }

View File

@@ -1,18 +1,18 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.move_indoors", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.move_indoors",
"description": "Can only be used by Villagers. Allows them to seek shelter indoors.", "description": "Can only be used by Villagers. Allows them to seek shelter indoors.",
"type": "object", "type": "object",
"title": "Move Indoors 1.8.0", "title": "Move Indoors 1.8.0",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" }, "speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
"timeout_cooldown": { "timeout_cooldown": {
"type": "number", "type": "number",
"default": 8, "default": 8,
"description": "The cooldown time in seconds before the goal can be reused after a internal failure or timeout condition", "description": "The cooldown time in seconds before the goal can be reused after a internal failure or timeout condition",
"title": "Timeout Cooldown" "title": "Timeout Cooldown"
} }
} }
} }

View File

@@ -1,18 +1,18 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.move_through_village", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.move_through_village",
"type": "object", "type": "object",
"title": "Move Through Village 1.8.0", "title": "Move Through Village 1.8.0",
"description": "Can only be used by Villagers. Allows the villagers to create paths around the village.", "description": "Can only be used by Villagers. Allows the villagers to create paths around the village.",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" }, "speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
"only_at_night": { "only_at_night": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If true, the mob will only move through the village during night time", "description": "If true, the mob will only move through the village during night time",
"title": "Only At Night" "title": "Only At Night"
} }
} }
} }

View File

@@ -1,82 +1,82 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.move_to_block", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.move_to_block",
"type": "object", "type": "object",
"title": "Move To Block 1.8.0", "title": "Move To Block 1.8.0",
"additionalProperties": false, "additionalProperties": false,
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"tick_interval": { "tick_interval": {
"type": "number", "type": "number",
"title": "Tick Interval", "title": "Tick Interval",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED" "$comment": "UNDOCUMENTED"
}, },
"start_chance": { "start_chance": {
"type": "number", "type": "number",
"title": "Start Chance", "title": "Start Chance",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED" "$comment": "UNDOCUMENTED"
}, },
"search_range": { "search_range": {
"type": "number", "type": "number",
"title": "Search Range", "title": "Search Range",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED" "$comment": "UNDOCUMENTED"
}, },
"search_height": { "search_height": {
"type": "number", "type": "number",
"title": "Search Height", "title": "Search Height",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED" "$comment": "UNDOCUMENTED"
}, },
"goal_radius": { "goal_radius": {
"type": "number", "type": "number",
"title": "Goal Radius", "title": "Goal Radius",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED" "$comment": "UNDOCUMENTED"
}, },
"stay_duration": { "stay_duration": {
"type": "number", "type": "number",
"title": "Stay Duration", "title": "Stay Duration",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED" "$comment": "UNDOCUMENTED"
}, },
"target_selection_method": { "target_selection_method": {
"type": "string", "type": "string",
"title": "Target Selection Method", "title": "Target Selection Method",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED" "$comment": "UNDOCUMENTED"
}, },
"target_offset": { "target_offset": {
"type": "array", "type": "array",
"title": "Target Offset", "title": "Target Offset",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }]
}, },
"target_blocks": { "target_blocks": {
"type": "array", "type": "array",
"title": "Target Blocks", "title": "Target Blocks",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"items": { "type": "string" } "items": { "type": "string" }
}, },
"on_stay_completed": { "on_stay_completed": {
"type": "array", "type": "array",
"title": "On Stay Completed", "title": "On Stay Completed",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"items": { "$ref": "../types/event.json" } "items": { "$ref": "../types/event.json" }
}, },
"on_reach": { "on_reach": {
"type": "array", "type": "array",
"title": "On Reach", "title": "On Reach",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"items": { "$ref": "../types/event.json" } "items": { "$ref": "../types/event.json" }
} }
} }
} }

View File

@@ -1,36 +1,36 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.move_to_land", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.move_to_land",
"description": "Allows the mob to move back onto land when in water.", "description": "Allows the mob to move back onto land when in water.",
"type": "object", "type": "object",
"title": "Move To Land 1.8.0", "title": "Move To Land 1.8.0",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" }, "speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
"goal_radius": { "goal_radius": {
"type": "number", "type": "number",
"default": 0.5, "default": 0.5,
"description": "Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot", "description": "Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot",
"title": "Goal Radius" "title": "Goal Radius"
}, },
"search_count": { "search_count": {
"type": "integer", "type": "integer",
"default": 10, "default": 10,
"description": "The number of blocks each tick that the mob will check within it's search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick", "description": "The number of blocks each tick that the mob will check within it's search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick",
"title": "Search Count" "title": "Search Count"
}, },
"search_height": { "search_height": {
"type": "integer", "type": "integer",
"default": 1, "default": 1,
"description": "Height in blocks the mob will look for land to move towards", "description": "Height in blocks the mob will look for land to move towards",
"title": "Search Height" "title": "Search Height"
}, },
"search_range": { "search_range": {
"type": "integer", "type": "integer",
"default": 0, "default": 0,
"description": "The distance in blocks it will look for land to move towards", "description": "The distance in blocks it will look for land to move towards",
"title": "Search Range" "title": "Search Range"
} }
} }
} }

View File

@@ -1,35 +1,35 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.move_to_lava", "$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.move_to_lava",
"type": "object", "type": "object",
"title": "Move To Lava 1.16.0", "title": "Move To Lava 1.16.0",
"description": "Allows the mob to move back into lava when on land.", "description": "Allows the mob to move back into lava when on land.",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"priority": { "$ref": "types/priority.json" }, "priority": { "$ref": "types/priority.json" },
"speed_multiplier": { "$ref": "types/speed_multiplier.json" }, "speed_multiplier": { "$ref": "types/speed_multiplier.json" },
"goal_radius": { "goal_radius": {
"type": "number", "type": "number",
"default": 0.5, "default": 0.5,
"description": "Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot", "description": "Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot",
"title": "Goal Radius" "title": "Goal Radius"
}, },
"search_count": { "search_count": {
"type": "integer", "type": "integer",
"default": 10, "default": 10,
"description": "The number of blocks each tick that the mob will check within it's search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick", "description": "The number of blocks each tick that the mob will check within it's search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick",
"title": "Search Count" "title": "Search Count"
}, },
"search_height": { "search_height": {
"type": "integer", "type": "integer",
"default": 1, "default": 1,
"description": "Height in blocks the mob will look for lava to move towards", "description": "Height in blocks the mob will look for lava to move towards",
"title": "Search Height" "title": "Search Height"
}, },
"search_range": { "search_range": {
"type": "integer", "type": "integer",
"default": 0, "default": 0,
"description": "The distance in blocks it will look for lava to move towards", "description": "The distance in blocks it will look for lava to move towards",
"title": "Search Range" "title": "Search Range"
} }
} }
} }

View File

@@ -1,36 +1,36 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.move_to_liquid", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.move_to_liquid",
"type": "object", "type": "object",
"title": "Move To Liquid 1.8.0", "title": "Move To Liquid 1.8.0",
"description": "Allows the mob to move back into lava when on land.", "description": "Allows the mob to move back into lava when on land.",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"priority": { "$ref": "types/priority.json" }, "priority": { "$ref": "types/priority.json" },
"speed_multiplier": { "$ref": "types/speed_multiplier.json" }, "speed_multiplier": { "$ref": "types/speed_multiplier.json" },
"goal_radius": { "goal_radius": {
"type": "number", "type": "number",
"default": 0.5, "default": 0.5,
"description": "Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot", "description": "Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot",
"title": "Goal Radius" "title": "Goal Radius"
}, },
"search_count": { "search_count": {
"type": "integer", "type": "integer",
"default": 10, "default": 10,
"description": "The number of blocks each tick that the mob will check within it's search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick", "description": "The number of blocks each tick that the mob will check within it's search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick",
"title": "Search Count" "title": "Search Count"
}, },
"search_height": { "search_height": {
"type": "integer", "type": "integer",
"default": 1, "default": 1,
"description": "Height in blocks the mob will look for lava to move towards", "description": "Height in blocks the mob will look for lava to move towards",
"title": "Search Height" "title": "Search Height"
}, },
"search_range": { "search_range": {
"type": "integer", "type": "integer",
"default": 0, "default": 0,
"description": "The distance in blocks it will look for lava to move towards", "description": "The distance in blocks it will look for lava to move towards",
"title": "Search Range" "title": "Search Range"
}, },
"material_type": { "title": "Material Type", "description": "UNDOCUMENTAED, examples are : Lava", "type": "string" } "material_type": { "title": "Material Type", "description": "UNDOCUMENTAED, examples are : Lava", "type": "string" }
} }
} }

View File

@@ -1,13 +1,13 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.move_to_poi", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.move_to_poi",
"type": "object", "type": "object",
"title": "Move To Poi 1.8.0", "title": "Move To Poi 1.8.0",
"additionalProperties": false, "additionalProperties": false,
"description": "Allows the mob to move to a POI if able to", "description": "Allows the mob to move to a POI if able to",
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" }, "speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
"poi_type": { "type": "string", "description": "Tells the goal what POI type it should be looking for", "title": "Point Of Interest Type" } "poi_type": { "type": "string", "description": "Tells the goal what POI type it should be looking for", "title": "Point Of Interest Type" }
} }
} }

View File

@@ -1,24 +1,24 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.move_to_random_block", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.move_to_random_block",
"type": "object", "type": "object",
"title": "Move To Random Block 1.8.0", "title": "Move To Random Block 1.8.0",
"description": "Allows mob to move towards a random block.", "description": "Allows mob to move towards a random block.",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"speed_multiplier": { "$ref": "types/speed_multiplier.json" }, "speed_multiplier": { "$ref": "types/speed_multiplier.json" },
"block_distance": { "block_distance": {
"type": "number", "type": "number",
"default": 16, "default": 16,
"description": "Defines the distance from the mob, in blocks, that the block to move to will be chosen.", "description": "Defines the distance from the mob, in blocks, that the block to move to will be chosen.",
"title": "Block Distance" "title": "Block Distance"
}, },
"within_radius": { "within_radius": {
"type": "number", "type": "number",
"default": 0, "default": 0,
"description": "Defines the distance in blocks the mob has to be from the block for the movement to be finished.", "description": "Defines the distance in blocks the mob has to be from the block for the movement to be finished.",
"title": "Within Radius" "title": "Within Radius"
} }
} }
} }

View File

@@ -1,30 +1,30 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.move_to_village", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.move_to_village",
"type": "object", "type": "object",
"title": "Move To Village 1.8.0", "title": "Move To Village 1.8.0",
"additionalProperties": false, "additionalProperties": false,
"description": "Allows the mob to move into a random location within a village.", "description": "Allows the mob to move into a random location within a village.",
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" }, "speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
"cooldown_time": { "cooldown_time": {
"type": "number", "type": "number",
"default": 0, "default": 0,
"description": "Time in seconds the mob has to wait before using the goal again", "description": "Time in seconds the mob has to wait before using the goal again",
"title": "Cooldown Time" "title": "Cooldown Time"
}, },
"goal_radius": { "goal_radius": {
"type": "number", "type": "number",
"default": 0.5, "default": 0.5,
"description": "Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot", "description": "Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot",
"title": "Goal Radius" "title": "Goal Radius"
}, },
"search_range": { "search_range": {
"type": "integer", "type": "integer",
"default": 0, "default": 0,
"description": "The distance in blocks to search for villages. If <= 0, find the closest village regardless of distance.", "description": "The distance in blocks to search for villages. If <= 0, find the closest village regardless of distance.",
"title": "Search Range" "title": "Search Range"
} }
} }
} }

View File

@@ -1,36 +1,36 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.move_to_water", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.move_to_water",
"type": "object", "type": "object",
"title": "Move To Water 1.8.0", "title": "Move To Water 1.8.0",
"additionalProperties": false, "additionalProperties": false,
"description": "Allows the mob to move back into water when on land.", "description": "Allows the mob to move back into water when on land.",
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" }, "speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
"search_range": { "search_range": {
"type": "integer", "type": "integer",
"default": 0, "default": 0,
"description": "The distance in blocks it will look for water to move towards", "description": "The distance in blocks it will look for water to move towards",
"title": "Search Range" "title": "Search Range"
}, },
"search_height": { "search_height": {
"type": "integer", "type": "integer",
"default": 1, "default": 1,
"description": "Height in blocks the mob will look for water to move towards", "description": "Height in blocks the mob will look for water to move towards",
"title": "Search Height" "title": "Search Height"
}, },
"search_count": { "search_count": {
"type": "integer", "type": "integer",
"default": 10, "default": 10,
"description": "The number of blocks each tick that the mob will check within it's search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick", "description": "The number of blocks each tick that the mob will check within it's search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick",
"title": "Search Count" "title": "Search Count"
}, },
"goal_radius": { "goal_radius": {
"type": "number", "type": "number",
"default": 0.5, "default": 0.5,
"description": "Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot", "description": "Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot",
"title": "Goal Radius" "title": "Goal Radius"
} }
} }
} }

View File

@@ -1,9 +1,9 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.move_towards_dwelling_restriction", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.move_towards_dwelling_restriction",
"type": "object", "type": "object",
"title": "Move Towards Dwelling Restriction 1.8.0", "title": "Move Towards Dwelling Restriction 1.8.0",
"additionalProperties": false, "additionalProperties": false,
"description": "UNDOCUMENTED, comes from cat", "description": "UNDOCUMENTED, comes from cat",
"required": [], "required": [],
"properties": { "priority": { "$ref": "types/priority.json" }, "speed_multiplier": { "$ref": "types/speed_multiplier.json" } } "properties": { "priority": { "$ref": "types/priority.json" }, "speed_multiplier": { "$ref": "types/speed_multiplier.json" } }
} }

View File

@@ -1,18 +1,18 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.move_towards_restriction", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.move_towards_restriction",
"type": "object", "type": "object",
"title": "Move Towards Restriction 1.8.0", "title": "Move Towards Restriction 1.8.0",
"additionalProperties": false, "additionalProperties": false,
"description": "Allows Guardians, Iron Golems and Villagers to move within their pre-defined area that the mob should be restricted to. Other mobs don't have a restriction defined.", "description": "Allows Guardians, Iron Golems and Villagers to move within their pre-defined area that the mob should be restricted to. Other mobs don't have a restriction defined.",
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" }, "speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
"control_flags": { "control_flags": {
"type": "array", "type": "array",
"items": { "type": "string", "enum": ["move", "look"], "description": "UNDOCUMENTED: control flags", "title": "Control Flags" }, "items": { "type": "string", "enum": ["move", "look"], "description": "UNDOCUMENTED: control flags", "title": "Control Flags" },
"description": "UNDOCUMENTED: control flags", "description": "UNDOCUMENTED: control flags",
"title": "Control Flags" "title": "Control Flags"
} }
} }
} }

View File

@@ -1,18 +1,18 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.guardian_attack", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.guardian_attack",
"type": "object", "type": "object",
"title": "Guardian Attack 1.8.0", "title": "Guardian Attack 1.8.0",
"additionalProperties": false, "additionalProperties": false,
"description": "Allows mob to move towards its current target.", "description": "Allows mob to move towards its current target.",
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" }, "speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
"within_radius": { "within_radius": {
"type": "number", "type": "number",
"default": 0.0, "default": 0.0,
"description": "Defines the radius in blocks that the mob tries to be from the target. A value of 0 means it tries to occupy the same block as the target", "description": "Defines the radius in blocks that the mob tries to be from the target. A value of 0 means it tries to occupy the same block as the target",
"title": "Within Radius" "title": "Within Radius"
} }
} }
} }

View File

@@ -1,47 +1,47 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.nap", "$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.nap",
"type": "object", "type": "object",
"title": "Nap 1.16.0", "title": "Nap 1.16.0",
"description": "Allows the mob to move back into lava when on land.", "description": "Allows the mob to move back into lava when on land.",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"priority": { "$ref": "types/priority.json" }, "priority": { "$ref": "types/priority.json" },
"speed_multiplier": { "$ref": "types/speed_multiplier.json" }, "speed_multiplier": { "$ref": "types/speed_multiplier.json" },
"cooldown_max": { "cooldown_max": {
"type": "number", "type": "number",
"default": 0, "default": 0,
"description": "Maximum time in seconds the mob has to wait before using the goal again", "description": "Maximum time in seconds the mob has to wait before using the goal again",
"title": "Cooldown Max" "title": "Cooldown Max"
}, },
"cooldown_min": { "cooldown_min": {
"type": "number", "type": "number",
"default": 0, "default": 0,
"description": "Minimum time in seconds the mob has to wait before using the goal again", "description": "Minimum time in seconds the mob has to wait before using the goal again",
"title": "Cooldown Min" "title": "Cooldown Min"
}, },
"mob_detect_dist": { "mob_detect_dist": {
"type": "number", "type": "number",
"default": 6, "default": 6,
"description": "The block distance in x and z that will be checked for mobs that this mob detects", "description": "The block distance in x and z that will be checked for mobs that this mob detects",
"title": "Mob Detect Dist" "title": "Mob Detect Dist"
}, },
"mob_detect_height": { "mob_detect_height": {
"type": "number", "type": "number",
"default": 6, "default": 6,
"description": "The block distance in y that will be checked for mobs that this mob detects", "description": "The block distance in y that will be checked for mobs that this mob detects",
"title": "Mob Detect Height" "title": "Mob Detect Height"
}, },
"can_nap_filters": { "can_nap_filters": {
"$ref": "../../filters/filters.json", "$ref": "../../filters/filters.json",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"title": "Can Nap Filters" "title": "Can Nap Filters"
}, },
"wake_mob_exceptions": { "wake_mob_exceptions": {
"$ref": "../../filters/filters.json", "$ref": "../../filters/filters.json",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"title": "Wake Mob Exceptions" "title": "Wake Mob Exceptions"
} }
} }
} }

View File

@@ -1,122 +1,122 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.nearest_attackable_target", "$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.nearest_attackable_target",
"type": "object", "type": "object",
"title": "Nearest Attackable Target 1.16.0", "title": "Nearest Attackable Target 1.16.0",
"description": "Allows the mob to check for and pursue the nearest valid target.", "description": "Allows the mob to check for and pursue the nearest valid target.",
"additionalProperties": false, "additionalProperties": false,
"definitions": { "definitions": {
"entity_type": { "entity_type": {
"type": "object", "type": "object",
"description": "A entity type", "description": "A entity type",
"properties": { "properties": {
"filters": { "$ref": "../../filters/filters.json", "description": "Conditions that make this target a valid type.", "title": "Filters" }, "filters": { "$ref": "../../filters/filters.json", "description": "Conditions that make this target a valid type.", "title": "Filters" },
"max_dist": { "max_dist": {
"type": "number", "type": "number",
"default": 16, "default": 16,
"description": "To be a valid target choice, the target type cannot be farther away from this entity than `max_dist`.", "description": "To be a valid target choice, the target type cannot be farther away from this entity than `max_dist`.",
"title": "Maximum Dist" "title": "Maximum Dist"
}, },
"must_see": { "must_see": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "Determines if target-validity requires this entity to be in range only, or both in range and in sight.", "description": "Determines if target-validity requires this entity to be in range only, or both in range and in sight.",
"title": "Must See" "title": "Must See"
}, },
"must_see_forget_duration": { "must_see_forget_duration": {
"type": "boolean", "type": "boolean",
"default": 3, "default": 3,
"description": "Time (in seconds) the target must not be seen by this entity to become invalid. Used only if `must_see` is true.", "description": "Time (in seconds) the target must not be seen by this entity to become invalid. Used only if `must_see` is true.",
"title": "Must See Forget Duration" "title": "Must See Forget Duration"
} }
} }
} }
}, },
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"entity_types": { "entity_types": {
"description": "Filters which types of targets are valid for this entity.", "description": "Filters which types of targets are valid for this entity.",
"title": "Entity Types", "title": "Entity Types",
"oneOf": [{ "$ref": "#/definitions/entity_type" }, { "type": "array", "items": { "$ref": "#/definitions/entity_type" } }] "oneOf": [{ "$ref": "#/definitions/entity_type" }, { "type": "array", "items": { "$ref": "#/definitions/entity_type" } }]
}, },
"attack_interval": { "attack_interval": {
"type": "integer", "type": "integer",
"default": 0, "default": 0,
"description": "Time range (in seconds) between searching for an attack target, range is in (0, `attack_interval`]. Only used if `attack_interval` is greater than 0, otherwise `scan_interval` is used.", "description": "Time range (in seconds) between searching for an attack target, range is in (0, `attack_interval`]. Only used if `attack_interval` is greater than 0, otherwise `scan_interval` is used.",
"title": "Attack Interval" "title": "Attack Interval"
}, },
"attack_interval_min": { "attack_interval_min": {
"type": "number", "type": "number",
"default": 0, "default": 0,
"description": "Alias for `attack_interval`; provides the same functionality as `attack_interval`.", "description": "Alias for `attack_interval`; provides the same functionality as `attack_interval`.",
"title": "Attack Interval Min" "title": "Attack Interval Min"
}, },
"attack_owner": { "type": "boolean", "default": false, "description": "If true, this entity can attack its owner.", "title": "Attack Owner" }, "attack_owner": { "type": "boolean", "default": false, "description": "If true, this entity can attack its owner.", "title": "Attack Owner" },
"must_reach": { "must_reach": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If true, this entity requires a path to the target.", "description": "If true, this entity requires a path to the target.",
"title": "Must Reach" "title": "Must Reach"
}, },
"must_see": { "must_see": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "Determines if target-validity requires this entity to be in range only, or both in range and in sight.", "description": "Determines if target-validity requires this entity to be in range only, or both in range and in sight.",
"title": "Must See" "title": "Must See"
}, },
"must_see_forget_duration": { "must_see_forget_duration": {
"type": "number", "type": "number",
"default": 3, "default": 3,
"description": "Time (in seconds) the target must not be seen by this entity to become invalid. Used only if `must_see` is true.", "description": "Time (in seconds) the target must not be seen by this entity to become invalid. Used only if `must_see` is true.",
"title": "Must See Forget Duration" "title": "Must See Forget Duration"
}, },
"persist_time": { "persist_time": {
"type": "number", "type": "number",
"default": 0, "default": 0,
"description": "Time (in seconds) this entity can continue attacking the target after the target is no longer valid.", "description": "Time (in seconds) this entity can continue attacking the target after the target is no longer valid.",
"title": "Persist Time" "title": "Persist Time"
}, },
"reselect_targets": { "reselect_targets": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "Allows the attacking entity to update the nearest target, otherwise a target is only reselected after each `scan_interval` or `attack_interval`.", "description": "Allows the attacking entity to update the nearest target, otherwise a target is only reselected after each `scan_interval` or `attack_interval`.",
"title": "Reselect Targets" "title": "Reselect Targets"
}, },
"scan_interval": { "scan_interval": {
"type": "integer", "type": "integer",
"default": 10, "default": 10,
"description": "If `attack_interval` is 0 or isn't declared, then between attacks: scanning for a new target occurs every amount of ticks equal to `scan_interval`, minimum value is 1. Values under 10 can affect performance.", "description": "If `attack_interval` is 0 or isn't declared, then between attacks: scanning for a new target occurs every amount of ticks equal to `scan_interval`, minimum value is 1. Values under 10 can affect performance.",
"title": "Scan Interval" "title": "Scan Interval"
}, },
"set_persistent": { "set_persistent": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "Allows the actor to be set to persist upon targeting a player", "description": "Allows the actor to be set to persist upon targeting a player",
"title": "Set Persistent" "title": "Set Persistent"
}, },
"target_invisible_multiplier": { "target_invisible_multiplier": {
"type": "number", "type": "number",
"default": 0.7, "default": 0.7,
"description": "Multiplied with the target's armor coverage percentage to modify `max_dist` when detecting an invisible target.", "description": "Multiplied with the target's armor coverage percentage to modify `max_dist` when detecting an invisible target.",
"title": "Target Invisible Multiplier" "title": "Target Invisible Multiplier"
}, },
"target_search_height": { "target_search_height": {
"type": "number", "type": "number",
"default": -1, "default": -1,
"description": "Maximum vertical target-search distance, if it's greater than the target type's `max_dist`. A negative value defaults to `entity_types` greatest `max_dist`.", "description": "Maximum vertical target-search distance, if it's greater than the target type's `max_dist`. A negative value defaults to `entity_types` greatest `max_dist`.",
"title": "Target Search Height" "title": "Target Search Height"
}, },
"target_sneak_visibility_multiplier": { "target_sneak_visibility_multiplier": {
"type": "number", "type": "number",
"default": 0.8, "default": 0.8,
"description": "Multiplied with the target type's `max_dist` when trying to detect a sneaking target.", "description": "Multiplied with the target type's `max_dist` when trying to detect a sneaking target.",
"title": "Target Sneak Visibility Multiplier" "title": "Target Sneak Visibility Multiplier"
}, },
"within_radius": { "within_radius": {
"type": "number", "type": "number",
"default": 0, "default": 0,
"description": "Maximum distance this entity can be from the target when following it, otherwise the target becomes invalid. This value is only used if the entity doesn't declare `minecraft:follow_range`.", "description": "Maximum distance this entity can be from the target when following it, otherwise the target becomes invalid. This value is only used if the entity doesn't declare `minecraft:follow_range`.",
"title": "Within Radius" "title": "Within Radius"
} }
} }
} }

View File

@@ -1,71 +1,71 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.nearest_prioritized_attackable_target", "$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.nearest_prioritized_attackable_target",
"type": "object", "type": "object",
"title": "Nearest Prioritized Attackable Target 1.16.0", "title": "Nearest Prioritized Attackable Target 1.16.0",
"description": "Allows the mob to check for and pursue the nearest valid target.", "description": "Allows the mob to check for and pursue the nearest valid target.",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"entity_types": { "entity_types": {
"description": "List of entity types that this mob considers valid targets", "description": "List of entity types that this mob considers valid targets",
"title": "Entity Types", "title": "Entity Types",
"$ref": "../types/entity_types.json" "$ref": "../types/entity_types.json"
}, },
"attack_interval": { "type": "integer", "default": 0, "description": "Time in seconds before selecting a target", "title": "Attack Interval" }, "attack_interval": { "type": "integer", "default": 0, "description": "Time in seconds before selecting a target", "title": "Attack Interval" },
"must_reach": { "must_reach": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If true, only entities that this mob can path to can be selected as targets", "description": "If true, only entities that this mob can path to can be selected as targets",
"title": "Must Reach" "title": "Must Reach"
}, },
"must_see": { "must_see": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If true, only entities in this mob's viewing range can be selected as targets", "description": "If true, only entities in this mob's viewing range can be selected as targets",
"title": "Must See" "title": "Must See"
}, },
"must_see_forget_duration": { "must_see_forget_duration": {
"type": "number", "type": "number",
"default": 3, "default": 3,
"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", "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",
"title": "Must See Forget Duration" "title": "Must See Forget Duration"
}, },
"persist_time": { "persist_time": {
"type": "number", "type": "number",
"default": 0.0, "default": 0.0,
"description": "Time in seconds for a valid target to stay targeted when it becomes and invalid target.", "description": "Time in seconds for a valid target to stay targeted when it becomes and invalid target.",
"title": "Persist Time" "title": "Persist Time"
}, },
"reselect_targets": { "reselect_targets": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If true, the target will change to the current closest entity whenever a different entity is closer", "description": "If true, the target will change to the current closest entity whenever a different entity is closer",
"title": "Reselect Targets" "title": "Reselect Targets"
}, },
"scan_interval": { "scan_interval": {
"type": "integer", "type": "integer",
"default": 10, "default": 10,
"description": "How many ticks to wait between scanning for a target.", "description": "How many ticks to wait between scanning for a target.",
"title": "Scan Interval" "title": "Scan Interval"
}, },
"set_persistent": { "set_persistent": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "Allows the actor to be set to persist upon targeting a player", "description": "Allows the actor to be set to persist upon targeting a player",
"title": "Set Persistent" "title": "Set Persistent"
}, },
"target_search_height": { "target_search_height": {
"type": "number", "type": "number",
"default": -1.0, "default": -1.0,
"description": "Height in blocks to search for a target mob. -1.0f means the height does not matter.", "description": "Height in blocks to search for a target mob. -1.0f means the height does not matter.",
"title": "Target Search Height" "title": "Target Search Height"
}, },
"within_radius": { "within_radius": {
"type": "number", "type": "number",
"default": 0, "default": 0,
"description": "Distance in blocks that the target can be within to launch an attack", "description": "Distance in blocks that the target can be within to launch an attack",
"title": "Within Radius" "title": "Within Radius"
} }
} }
} }

View File

@@ -1,9 +1,9 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.ocelot_sit_on_block", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.ocelot_sit_on_block",
"additionalProperties": false, "additionalProperties": false,
"description": "Allows an entity to sit in place, similar to the ocelot entity animation pose.", "description": "Allows an entity to sit in place, similar to the ocelot entity animation pose.",
"type": "object", "type": "object",
"title": "Ocelot Sit On Block 1.8.0", "title": "Ocelot Sit On Block 1.8.0",
"required": [], "required": [],
"properties": { "priority": { "$ref": "types/priority.json" }, "speed_multiplier": { "$ref": "./types/speed_multiplier.json" } } "properties": { "priority": { "$ref": "types/priority.json" }, "speed_multiplier": { "$ref": "./types/speed_multiplier.json" } }
} }

View File

@@ -1,71 +1,71 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.ocelotattack", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.ocelotattack",
"type": "object", "type": "object",
"title": "Ocelotattack 1.8.0", "title": "Ocelotattack 1.8.0",
"additionalProperties": false, "additionalProperties": false,
"description": "Can only be used by the Ocelot. Allows it to perform the sneak and pounce attack.", "description": "Can only be used by the Ocelot. Allows it to perform the sneak and pounce attack.",
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"walk_speed_multiplier": { "walk_speed_multiplier": {
"type": "number", "type": "number",
"default": 1.0, "default": 1.0,
"description": "Multiplier for the walking speed while using this attack", "description": "Multiplier for the walking speed while using this attack",
"title": "Walk Speed Multiplier" "title": "Walk Speed Multiplier"
}, },
"sprint_speed_multiplier": { "sprint_speed_multiplier": {
"type": "number", "type": "number",
"default": 1.0, "default": 1.0,
"description": "Multiplier for the running speed of this mob while using this attack", "description": "Multiplier for the running speed of this mob while using this attack",
"title": "Sprint Speed Multiplier" "title": "Sprint Speed Multiplier"
}, },
"sneak_speed_multiplier": { "sneak_speed_multiplier": {
"type": "number", "type": "number",
"default": 1.0, "default": 1.0,
"description": "Multiplier for the sneaking speed. 1.0 means the ocelot will move at the speed it normally sneaks", "description": "Multiplier for the sneaking speed. 1.0 means the ocelot will move at the speed it normally sneaks",
"title": "Sneak Speed Multiplier" "title": "Sneak Speed Multiplier"
}, },
"cooldown_time": { "cooldown_time": {
"type": "number", "type": "number",
"title": "Cooldown Time", "title": "Cooldown Time",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED" "$comment": "UNDOCUMENTED"
}, },
"x_max_rotation": { "x_max_rotation": {
"type": "number", "type": "number",
"title": "X Maximum Rotation", "title": "X Maximum Rotation",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED" "$comment": "UNDOCUMENTED"
}, },
"y_max_head_rotation": { "y_max_head_rotation": {
"type": "number", "type": "number",
"title": "Y Maximum Head Rotation", "title": "Y Maximum Head Rotation",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED" "$comment": "UNDOCUMENTED"
}, },
"max_distance": { "max_distance": {
"type": "number", "type": "number",
"title": "Maximum Distance", "title": "Maximum Distance",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED" "$comment": "UNDOCUMENTED"
}, },
"max_sneak_range": { "max_sneak_range": {
"type": "number", "type": "number",
"title": "Maximum Sneak Range", "title": "Maximum Sneak Range",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED" "$comment": "UNDOCUMENTED"
}, },
"max_sprint_range": { "max_sprint_range": {
"type": "number", "type": "number",
"title": "Maximum Sprint Range", "title": "Maximum Sprint Range",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED" "$comment": "UNDOCUMENTED"
}, },
"reach_multiplier": { "reach_multiplier": {
"type": "number", "type": "number",
"title": "Reach Multiplier", "title": "Reach Multiplier",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED" "$comment": "UNDOCUMENTED"
} }
} }
} }

View File

@@ -1,9 +1,9 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.offer_flower", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.offer_flower",
"type": "object", "type": "object",
"title": "Offer Flower 1.8.0", "title": "Offer Flower 1.8.0",
"additionalProperties": false, "additionalProperties": false,
"description": "Allows the mob to offer the player a flower like the Iron Golem does.", "description": "Allows the mob to offer the player a flower like the Iron Golem does.",
"required": [], "required": [],
"properties": { "priority": { "$ref": "./types/priority.json" } } "properties": { "priority": { "$ref": "./types/priority.json" } }
} }

View File

@@ -1,17 +1,17 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.guardian_attack", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.guardian_attack",
"type": "object", "type": "object",
"title": "Guardian Attack 1.8.0", "title": "Guardian Attack 1.8.0",
"additionalProperties": false, "additionalProperties": false,
"description": "Allows the mob to open doors. Requires the mob to be able to path through doors, otherwise the mob won't even want to try opening them.", "description": "Allows the mob to open doors. Requires the mob to be able to path through doors, otherwise the mob won't even want to try opening them.",
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"close_door_after": { "close_door_after": {
"type": "boolean", "type": "boolean",
"default": true, "default": true,
"description": "If true, the mob will close the door after opening it and going through it", "description": "If true, the mob will close the door after opening it and going through it",
"title": "Close Door After" "title": "Close Door After"
} }
} }
} }

View File

@@ -1,16 +1,16 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.owner_hurt_by_target", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.owner_hurt_by_target",
"type": "object", "type": "object",
"title": "Owner Hurt By Target 1.8.0", "title": "Owner Hurt By Target 1.8.0",
"additionalProperties": false, "additionalProperties": false,
"description": "Allows the mob to target another mob that hurts their owner.", "description": "Allows the mob to target another mob that hurts their owner.",
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"entity_types": { "entity_types": {
"$ref": "../types/entity_types.json", "$ref": "../types/entity_types.json",
"description": "List of entity types that this mob can target if they hurt their owner", "description": "List of entity types that this mob can target if they hurt their owner",
"title": "Entity Types" "title": "Entity Types"
} }
} }
} }

View File

@@ -1,16 +1,16 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.owner_hurt_target", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.owner_hurt_target",
"type": "object", "type": "object",
"title": "Owner Hurt Target 1.8.0", "title": "Owner Hurt Target 1.8.0",
"additionalProperties": false, "additionalProperties": false,
"description": "Allows the mob to target a mob that is hurt by their owner.", "description": "Allows the mob to target a mob that is hurt by their owner.",
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"entity_types": { "entity_types": {
"$ref": "../types/entity_types.json", "$ref": "../types/entity_types.json",
"description": "List of entity types that this entity can target if the potential target is hurt by this mob's owner", "description": "List of entity types that this entity can target if the potential target is hurt by this mob's owner",
"title": "Entity TYpes" "title": "Entity TYpes"
} }
} }
} }

View File

@@ -1,59 +1,59 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.panic", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.panic",
"description": "Allows the mob to enter the panic state, which makes it run around and away from the damage source that made it enter this state.", "description": "Allows the mob to enter the panic state, which makes it run around and away from the damage source that made it enter this state.",
"type": "object", "type": "object",
"title": "Panic 1.8.0", "title": "Panic 1.8.0",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "./types/priority.json" }, "priority": { "$ref": "./types/priority.json" },
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" }, "speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
"damage_sources": { "damage_sources": {
"type": "array", "type": "array",
"items": { "$ref": "../../../../general/entity_damage.json" }, "items": { "$ref": "../../../../general/entity_damage.json" },
"default": [["all"]], "default": [["all"]],
"description": "The list of Entity Damage Sources that will cause this mob to panic", "description": "The list of Entity Damage Sources that will cause this mob to panic",
"title": "Damage Sources" "title": "Damage Sources"
}, },
"force": { "force": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If true, this mob will not stop panicking until it can't move anymore or the goal is removed from it", "description": "If true, this mob will not stop panicking until it can't move anymore or the goal is removed from it",
"title": "Force" "title": "Force"
}, },
"ignore_mob_damage": { "ignore_mob_damage": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If true, the mob will not panic in response to damage from other mobs. This overrides the damage types in `damage_sources`", "description": "If true, the mob will not panic in response to damage from other mobs. This overrides the damage types in `damage_sources`",
"title": "Ignore Mob Damage" "title": "Ignore Mob Damage"
}, },
"prefer_water": { "type": "boolean", "default": false, "description": "If true, the mob will prefer water over land", "title": "Prefer Water" }, "prefer_water": { "type": "boolean", "default": false, "description": "If true, the mob will prefer water over land", "title": "Prefer Water" },
"panic_sound": { "panic_sound": {
"type": "string", "type": "string",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"title": "Panic Sound" "title": "Panic Sound"
}, },
"sound_interval": { "sound_interval": {
"type": "object", "type": "object",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"title": "Sound Interval", "title": "Sound Interval",
"properties": { "properties": {
"range_min": { "range_min": {
"type": "number", "type": "number",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"title": "Range Minimum" "title": "Range Minimum"
}, },
"range_max": { "range_max": {
"type": "number", "type": "number",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"title": "Range Maximum" "title": "Range Maximum"
} }
}, },
"additionalProperties": false "additionalProperties": false
} }
} }
} }

View File

@@ -1,9 +1,9 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.peek", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.peek",
"description": "Allows the mob to peek out. This is what the shulker uses to look out of its shell.", "description": "Allows the mob to peek out. This is what the shulker uses to look out of its shell.",
"type": "object", "type": "object",
"title": "Peek 1.8.0", "title": "Peek 1.8.0",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "priority": { "$ref": "./types/priority.json" } } "properties": { "priority": { "$ref": "./types/priority.json" } }
} }

View File

@@ -1,31 +1,31 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.pet_sleep_with_owner", "$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.pet_sleep_with_owner",
"description": "Allows the mob to be tempted by food they like.", "description": "Allows the mob to be tempted by food they like.",
"type": "object", "type": "object",
"title": "Tempt 1.16.0", "title": "Tempt 1.16.0",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"priority": { "$ref": "types/priority.json" }, "priority": { "$ref": "types/priority.json" },
"speed_multiplier": { "$ref": "types/speed_multiplier.json" }, "speed_multiplier": { "$ref": "types/speed_multiplier.json" },
"goal_radius": { "goal_radius": {
"type": "number", "type": "number",
"default": 0.5, "default": 0.5,
"description": "Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot", "description": "Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot",
"title": "Goal Radius" "title": "Goal Radius"
}, },
"search_height": { "search_height": {
"type": "integer", "type": "integer",
"default": 1, "default": 1,
"description": "Height in blocks from the owner the pet can be to sleep with owner.", "description": "Height in blocks from the owner the pet can be to sleep with owner.",
"title": "Search Height" "title": "Search Height"
}, },
"search_range": { "search_range": {
"type": "integer", "type": "integer",
"default": 0, "default": 0,
"description": "The distance in blocks from the owner the pet can be to sleep with owner.", "description": "The distance in blocks from the owner the pet can be to sleep with owner.",
"title": "Search Range" "title": "Search Range"
}, },
"search_radius": { "type": "integer", "default": 0, "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Search Radius" } "search_radius": { "type": "integer", "default": 0, "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Search Radius" }
} }
} }

View File

@@ -1,54 +1,54 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.pickup_items", "$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.pickup_items",
"description": "Allows the mob to pick up items on the ground.", "description": "Allows the mob to pick up items on the ground.",
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
"title": "Pickup Items 1.16.0", "title": "Pickup Items 1.16.0",
"properties": { "properties": {
"priority": { "$ref": "types/priority.json" }, "priority": { "$ref": "types/priority.json" },
"speed_multiplier": { "$ref": "types/speed_multiplier.json" }, "speed_multiplier": { "$ref": "types/speed_multiplier.json" },
"can_pickup_any_item": { "can_pickup_any_item": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If true, the mob can pickup any item", "description": "If true, the mob can pickup any item",
"title": "Can Pickup Any Item" "title": "Can Pickup Any Item"
}, },
"can_pickup_to_hand_or_equipment": { "can_pickup_to_hand_or_equipment": {
"type": "boolean", "type": "boolean",
"default": true, "default": true,
"description": "If true, the mob can pickup items to its hand or armor slots", "description": "If true, the mob can pickup items to its hand or armor slots",
"title": "Can Pickup To Hand Or Equipment" "title": "Can Pickup To Hand Or Equipment"
}, },
"cooldown_after_being_attacked": { "cooldown_after_being_attacked": {
"type": "number", "type": "number",
"default": true, "default": true,
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"title": "Cooldown After Being Attacked" "title": "Cooldown After Being Attacked"
}, },
"goal_radius": { "goal_radius": {
"type": "number", "type": "number",
"default": 0.5, "default": 0.5,
"description": "Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot", "description": "Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot",
"title": "Goal Radius" "title": "Goal Radius"
}, },
"max_dist": { "max_dist": {
"type": "number", "type": "number",
"default": 0, "default": 0,
"description": "Maximum distance this mob will look for items to pick up", "description": "Maximum distance this mob will look for items to pick up",
"title": "Maximum Dist" "title": "Maximum Dist"
}, },
"pickup_based_on_chance": { "pickup_based_on_chance": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If true, depending on the difficulty, there is a random chance that the mob may not be able to pickup items", "description": "If true, depending on the difficulty, there is a random chance that the mob may not be able to pickup items",
"title": "Pickup Based On Chance" "title": "Pickup Based On Chance"
}, },
"track_target": { "track_target": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If true, this mob will chase after the target as long as it's a valid target", "description": "If true, this mob will chase after the target as long as it's a valid target",
"title": "Track Target" "title": "Track Target"
} }
} }
} }

View File

@@ -1,9 +1,9 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.play", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.play",
"description": "Allows the mob to play with other baby villagers. This can only be used by Villagers.", "description": "Allows the mob to play with other baby villagers. This can only be used by Villagers.",
"type": "object", "type": "object",
"title": "Play 1.8.0", "title": "Play 1.8.0",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "priority": { "$ref": "types/priority.json" }, "speed_multiplier": { "$ref": "types/speed_multiplier.json" } } "properties": { "priority": { "$ref": "types/priority.json" }, "speed_multiplier": { "$ref": "types/speed_multiplier.json" } }
} }

View File

@@ -1,58 +1,58 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.play_dead", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.play_dead",
"description": "Allows the mob to play dead when attacked by other entities. When playing dead, other entities will not target this mob.", "description": "Allows the mob to play dead when attacked by other entities. When playing dead, other entities will not target this mob.",
"type": "object", "type": "object",
"title": "Play Dead 1.8.0", "title": "Play Dead 1.8.0",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "types/priority.json" }, "priority": { "$ref": "types/priority.json" },
"duration": { "duration": {
"title": "Duration", "title": "Duration",
"description": "The amount of time in seconds that the mob will remain playing dead.", "description": "The amount of time in seconds that the mob will remain playing dead.",
"type": "number", "type": "number",
"minimum": 0 "minimum": 0
}, },
"force_below_health": { "force_below_health": {
"title": "Force Below Health", "title": "Force Below Health",
"description": "The amount of health at which the mob will start to play dead.", "description": "The amount of health at which the mob will start to play dead.",
"type": "number", "type": "number",
"minimum": 0 "minimum": 0
}, },
"random_start_chance": { "random_start_chance": {
"title": "Random Start Chance", "title": "Random Start Chance",
"description": "The likelihood that the mob will start to play dead upon taking damage.", "description": "The likelihood that the mob will start to play dead upon taking damage.",
"type": "number", "type": "number",
"minimum": 0 "minimum": 0
}, },
"random_damage_range": { "random_damage_range": {
"title": "Random Damage Range", "title": "Random Damage Range",
"description": "The range of damage that may cause the mob to start playing dead. Damage taken below the minimum value will never cause the mob to start playing dead. Damage taken above the maximum value will always cause the mob to start playing dead.", "description": "The range of damage that may cause the mob to start playing dead. Damage taken below the minimum value will never cause the mob to start playing dead. Damage taken above the maximum value will always cause the mob to start playing dead.",
"type": "array", "type": "array",
"items": [ "items": [
{ "title": "Minimum", "description": "Minimum", "type": "integer", "minimum": 0 }, { "title": "Minimum", "description": "Minimum", "type": "integer", "minimum": 0 },
{ "title": "Maximum", "description": "Maximum", "type": "integer", "minimum": 0 } { "title": "Maximum", "description": "Maximum", "type": "integer", "minimum": 0 }
] ]
}, },
"damage_sources": { "damage_sources": {
"title": "Damage Sources", "title": "Damage Sources",
"description": "The list of Entity Damage Sources that will cause this mob to start playing dead.", "description": "The list of Entity Damage Sources that will cause this mob to start playing dead.",
"oneOf": [ "oneOf": [
{ "type": "string", "$ref": "../../../../general/entity_damage.json" }, { "type": "string", "$ref": "../../../../general/entity_damage.json" },
{ {
"type": "array", "type": "array",
"items": { "items": {
"title": "Damage Source", "title": "Damage Source",
"$ref": "../../../../general/entity_damage.json" "$ref": "../../../../general/entity_damage.json"
} }
} }
] ]
}, },
"apply_regeneration": { "apply_regeneration": {
"title": "Apply Regeneration", "title": "Apply Regeneration",
"description": "Whether the mob will receive the effect of CombatRegeneration while playing dead.", "description": "Whether the mob will receive the effect of CombatRegeneration while playing dead.",
"type": "boolean" "type": "boolean"
}, },
"filters": { "$ref": "../../filters/filters.json" } "filters": { "$ref": "../../filters/filters.json" }
} }
} }

View File

@@ -1,9 +1,9 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.player_ride_tamed", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.player_ride_tamed",
"description": "Allows the mob to be ridden by the player after being tamed.", "description": "Allows the mob to be ridden by the player after being tamed.",
"type": "object", "type": "object",
"title": "Player Ride Tamed 1.8.0", "title": "Player Ride Tamed 1.8.0",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "priority": { "$ref": "./types/priority.json" } } "properties": { "priority": { "$ref": "./types/priority.json" } }
} }

View File

@@ -1,51 +1,51 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.raid_garden", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.raid_garden",
"description": "Allows the mob to eat/raid crops out of farms until they are full.", "description": "Allows the mob to eat/raid crops out of farms until they are full.",
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
"title": "Raid Garden 1.8.0", "title": "Raid Garden 1.8.0",
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "types/priority.json" }, "priority": { "$ref": "types/priority.json" },
"speed_multiplier": { "$ref": "types/speed_multiplier.json" }, "speed_multiplier": { "$ref": "types/speed_multiplier.json" },
"blocks": { "blocks": {
"type": "array", "type": "array",
"description": "Blocks that the mob is looking for to eat", "description": "Blocks that the mob is looking for to eat",
"items": { "type": "string", "title": "Block Id", "description": "A block identifier", "$ref": "../../../../general/block/identifier.json" }, "items": { "type": "string", "title": "Block Id", "description": "A block identifier", "$ref": "../../../../general/block/identifier.json" },
"title": "Blocks" "title": "Blocks"
}, },
"eat_delay": { "type": "integer", "default": 2, "description": "Time in seconds between each time it eats", "title": "Eat Delay" }, "eat_delay": { "type": "integer", "default": 2, "description": "Time in seconds between each time it eats", "title": "Eat Delay" },
"full_delay": { "full_delay": {
"type": "integer", "type": "integer",
"default": 100, "default": 100,
"description": "Amount of time in seconds before this mob wants to eat again", "description": "Amount of time in seconds before this mob wants to eat again",
"title": "Full Delay" "title": "Full Delay"
}, },
"initial_eat_delay": { "initial_eat_delay": {
"type": "integer", "type": "integer",
"default": 0, "default": 0,
"description": "Time in seconds before starting to eat/raid once it arrives at it", "description": "Time in seconds before starting to eat/raid once it arrives at it",
"title": "Initial Eat Delay" "title": "Initial Eat Delay"
}, },
"goal_radius": { "goal_radius": {
"type": "number", "type": "number",
"default": 0.5, "default": 0.5,
"description": "Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot", "description": "Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot",
"title": "Goal Radius" "title": "Goal Radius"
}, },
"max_to_eat": { "type": "integer", "default": 6, "description": "Maximum number of things this entity wants to eat", "title": "Maximum To Eat" }, "max_to_eat": { "type": "integer", "default": 6, "description": "Maximum number of things this entity wants to eat", "title": "Maximum To Eat" },
"search_range": { "search_range": {
"type": "integer", "type": "integer",
"default": 0, "default": 0,
"description": "Distance in blocks the mob will look for crops to eat", "description": "Distance in blocks the mob will look for crops to eat",
"title": "Search Range" "title": "Search Range"
}, },
"search_height": { "search_height": {
"type": "integer", "type": "integer",
"default": 0, "default": 0,
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"title": "Search Height" "title": "Search Height"
} }
} }
} }

View File

@@ -1,84 +1,84 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.ram_attack", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.ram_attack",
"description": "Allows the mob to search for a random target and, if a direct path exists between the mob and the target, it will perform a charge. If the attack hits, the target will be knocked back based on the mob's speed.", "description": "Allows the mob to search for a random target and, if a direct path exists between the mob and the target, it will perform a charge. If the attack hits, the target will be knocked back based on the mob's speed.",
"type": "object", "type": "object",
"title": "Ram Attack 1.8.0", "title": "Ram Attack 1.8.0",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "types/priority.json" }, "priority": { "$ref": "types/priority.json" },
"baby_knockback_modifier": { "baby_knockback_modifier": {
"type": "integer", "type": "integer",
"default": 4, "default": 4,
"description": "The modifier to knockback for baby mobs.", "description": "The modifier to knockback for baby mobs.",
"title": "Baby Knockback Modifier" "title": "Baby Knockback Modifier"
}, },
"cooldown_range": { "cooldown_range": {
"type": "array", "type": "array",
"default": [10.0, 20.0], "default": [10.0, 20.0],
"description": "The minimum and maximum cooldown time-range in seconds between each attempted ram attack.", "description": "The minimum and maximum cooldown time-range in seconds between each attempted ram attack.",
"title": "Cooldown Range", "title": "Cooldown Range",
"items": [ "items": [
{ "title": "Minimum", "description": "Minimum", "type": "number", "minimum": 0 }, { "title": "Minimum", "description": "Minimum", "type": "number", "minimum": 0 },
{ "title": "Maximum", "description": "Maximum", "type": "number", "minimum": 0 } { "title": "Maximum", "description": "Maximum", "type": "number", "minimum": 0 }
] ]
}, },
"knockback_force": { "knockback_force": {
"type": "number", "type": "number",
"default": 5, "default": 5,
"description": "The force of the knockback of the ram's attack.", "description": "The force of the knockback of the ram's attack.",
"title": "Knockback Force" "title": "Knockback Force"
}, },
"knockback_height": { "knockback_height": {
"type": "number", "type": "number",
"default": 0.1, "default": 0.1,
"description": "The height in blocks of the knockback of the ram attack.", "description": "The height in blocks of the knockback of the ram attack.",
"title": "Knockback Height" "title": "Knockback Height"
}, },
"min_ram_distance": { "min_ram_distance": {
"type": "integer", "type": "integer",
"default": 4, "default": 4,
"description": "The minimum distance in blocks at which the mob can start a ram attack.", "description": "The minimum distance in blocks at which the mob can start a ram attack.",
"title": "Min Ram Distance" "title": "Min Ram Distance"
}, },
"pre_ram_sound": { "pre_ram_sound": {
"type": "string", "type": "string",
"description": "The sound to play when the mob is about to perform a ram attack.", "description": "The sound to play when the mob is about to perform a ram attack.",
"title": "Pre Ram Sound" "title": "Pre Ram Sound"
}, },
"ram_distance": { "ram_distance": {
"type": "integer", "type": "integer",
"default": 7, "default": 7,
"description": "The distance in blocks at which the mob will start to ram its target.", "description": "The distance in blocks at which the mob will start to ram its target.",
"title": "Ram Distance" "title": "Ram Distance"
}, },
"ram_impact_sound": { "ram_impact_sound": {
"type": "string", "type": "string",
"description": "The sound to play when the mob hits the target with a ram attack .", "description": "The sound to play when the mob hits the target with a ram attack .",
"title": "Ram Impact Sound" "title": "Ram Impact Sound"
}, },
"ram_speed": { "ram_speed": {
"type": "number", "type": "number",
"default": 2, "default": 2,
"description": "Sets the mob's speed when performing a ram attack toward the target.", "description": "Sets the mob's speed when performing a ram attack toward the target.",
"title": "Ram Speed" "title": "Ram Speed"
}, },
"run_speed": { "run_speed": {
"type": "number", "type": "number",
"default": 1, "default": 1,
"description": "Sets the mob's speed when running toward the target.", "description": "Sets the mob's speed when running toward the target.",
"title": "Run Speed" "title": "Run Speed"
}, },
"trigger": { "trigger": {
"description": "The event to trigger when attacking.", "description": "The event to trigger when attacking.",
"title": "Trigger", "title": "Trigger",
"$ref": "../types/trigger.json" "$ref": "../types/trigger.json"
}, },
"on_start": { "on_start": {
"title": "On Start", "title": "On Start",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"oneOf": [{ "$ref": "../types/event.json" }, { "type": "array", "items": { "$ref": "../types/event.json" } }] "oneOf": [{ "$ref": "../types/event.json" }, { "type": "array", "items": { "$ref": "../types/event.json" } }]
} }
} }
} }

View File

@@ -1,36 +1,36 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.player_ride_tamed", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.player_ride_tamed",
"description": "Allows the mob to randomly break surface of the water.", "description": "Allows the mob to randomly break surface of the water.",
"type": "object", "type": "object",
"title": "Player Ride Tamed 1.8.0", "title": "Player Ride Tamed 1.8.0",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"priority": { "$ref": "types/priority.json" }, "priority": { "$ref": "types/priority.json" },
"speed_multiplier": { "$ref": "types/speed_multiplier.json" }, "speed_multiplier": { "$ref": "types/speed_multiplier.json" },
"cooldown_time": { "cooldown_time": {
"type": "number", "type": "number",
"default": 0, "default": 0,
"description": "Time in seconds the mob has to wait before using the goal again", "description": "Time in seconds the mob has to wait before using the goal again",
"title": "Cooldown Time" "title": "Cooldown Time"
}, },
"interval": { "interval": {
"type": "integer", "type": "integer",
"default": 120, "default": 120,
"description": "A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal", "description": "A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal",
"title": "Interval" "title": "Interval"
}, },
"xz_dist": { "xz_dist": {
"type": "integer", "type": "integer",
"default": 10, "default": 10,
"description": "Distance in blocks on ground that the mob will look for a new spot to move to. Must be at least 1", "description": "Distance in blocks on ground that the mob will look for a new spot to move to. Must be at least 1",
"title": "XZ Distance" "title": "XZ Distance"
}, },
"y_dist": { "y_dist": {
"type": "integer", "type": "integer",
"default": 7, "default": 7,
"description": "Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1", "description": "Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1",
"title": "Y Distance" "title": "Y Distance"
} }
} }
} }

View File

@@ -1,32 +1,32 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.random_fly", "$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.random_fly",
"description": "Allows a mob to randomly fly around", "description": "Allows a mob to randomly fly around",
"type": "object", "type": "object",
"title": "Random Fly 1.16.0", "title": "Random Fly 1.16.0",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"priority": { "$ref": "types/priority.json" }, "priority": { "$ref": "types/priority.json" },
"speed_multiplier": { "$ref": "types/speed_multiplier.json" }, "speed_multiplier": { "$ref": "types/speed_multiplier.json" },
"avoid_damage_blocks": { "type": "boolean", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Avoid Damage Blocks" }, "avoid_damage_blocks": { "type": "boolean", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Avoid Damage Blocks" },
"can_land_on_trees": { "can_land_on_trees": {
"type": "boolean", "type": "boolean",
"default": true, "default": true,
"description": "If true, the mob can stop flying and land on a tree instead of the ground", "description": "If true, the mob can stop flying and land on a tree instead of the ground",
"title": "Can Land On Trees" "title": "Can Land On Trees"
}, },
"xz_dist": { "xz_dist": {
"type": "integer", "type": "integer",
"default": 10, "default": 10,
"description": "Distance in blocks on ground that the mob will look for a new spot to move to. Must be at least 1", "description": "Distance in blocks on ground that the mob will look for a new spot to move to. Must be at least 1",
"title": "Xz Dist" "title": "Xz Dist"
}, },
"y_dist": { "y_dist": {
"type": "integer", "type": "integer",
"default": 7, "default": 7,
"description": "Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1", "description": "Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1",
"title": "Y Dist" "title": "Y Dist"
}, },
"y_offset": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Y Offset" } "y_offset": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Y Offset" }
} }
} }

View File

@@ -1,38 +1,38 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.random_hover", "$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.random_hover",
"description": "Allows the mob to hover around randomly, close to the surface", "description": "Allows the mob to hover around randomly, close to the surface",
"type": "object", "type": "object",
"title": "Random Hover 1.16.0", "title": "Random Hover 1.16.0",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"priority": { "$ref": "types/priority.json" }, "priority": { "$ref": "types/priority.json" },
"speed_multiplier": { "$ref": "types/speed_multiplier.json" }, "speed_multiplier": { "$ref": "types/speed_multiplier.json" },
"hover_height": { "hover_height": {
"type": "array", "type": "array",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"title": "Hover Height", "title": "Hover Height",
"items": [{ "type": "number" }, { "type": "number" }] "items": [{ "type": "number" }, { "type": "number" }]
}, },
"interval": { "interval": {
"type": "integer", "type": "integer",
"default": 120, "default": 120,
"description": "A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal", "description": "A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal",
"title": "Interval" "title": "Interval"
}, },
"xz_dist": { "xz_dist": {
"type": "integer", "type": "integer",
"default": 10, "default": 10,
"description": "Distance in blocks on ground that the mob will look for a new spot to move to. Must be at least 1", "description": "Distance in blocks on ground that the mob will look for a new spot to move to. Must be at least 1",
"title": "Xz Dist" "title": "Xz Dist"
}, },
"y_dist": { "y_dist": {
"type": "integer", "type": "integer",
"default": 7, "default": 7,
"description": "Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1", "description": "Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1",
"title": "Y Dist" "title": "Y Dist"
}, },
"y_offset": { "type": "number", "default": 0, "description": "Height in blocks to add to the selected target position", "title": "Y Offset" } "y_offset": { "type": "number", "default": 0, "description": "Height in blocks to add to the selected target position", "title": "Y Offset" }
} }
} }

Some files were not shown because too many files have changed in this diff Show More