Added base examples
This commit is contained in:
@@ -5,7 +5,9 @@
|
|||||||
"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": "",
|
||||||
@@ -32,13 +34,37 @@
|
|||||||
{
|
{
|
||||||
"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": "object", "additionalProperties": false, "properties": { "range_min": { "type": "number" }, "range_max": { "type": "number" } } }
|
"type": "number"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"range_min": {
|
||||||
|
"type": "number"
|
||||||
|
},
|
||||||
|
"range_max": {
|
||||||
|
"type": "number"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"admire_item_sound": ""
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,9 @@
|
|||||||
"$comment": "UNDOCUMENTED",
|
"$comment": "UNDOCUMENTED",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"properties": {
|
"properties": {
|
||||||
"priority": { "$ref": "types/priority.json" },
|
"priority": {
|
||||||
|
"$ref": "types/priority.json"
|
||||||
|
},
|
||||||
"tick_interval": {
|
"tick_interval": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"title": "Tick Interval",
|
"title": "Tick Interval",
|
||||||
@@ -42,7 +44,12 @@
|
|||||||
"title": "Target Blocks",
|
"title": "Target Blocks",
|
||||||
"description": "UNDOCUMENTED",
|
"description": "UNDOCUMENTED",
|
||||||
"$comment": "UNDOCUMENTED",
|
"$comment": "UNDOCUMENTED",
|
||||||
"items": { "type": "string", "title": "Block ID", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }
|
"items": {
|
||||||
|
"type": "string",
|
||||||
|
"title": "Block ID",
|
||||||
|
"description": "UNDOCUMENTED",
|
||||||
|
"$comment": "UNDOCUMENTED"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"avoid_block_sound": {
|
"avoid_block_sound": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -61,7 +68,9 @@
|
|||||||
"title": "Walk Speed Modifier",
|
"title": "Walk Speed Modifier",
|
||||||
"description": "UNDOCUMENTED",
|
"description": "UNDOCUMENTED",
|
||||||
"$comment": "UNDOCUMENTED",
|
"$comment": "UNDOCUMENTED",
|
||||||
"items": { "$ref": "../types/event.json" }
|
"items": {
|
||||||
|
"$ref": "../types/event.json"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"sound_interval": {
|
"sound_interval": {
|
||||||
"default": 0,
|
"default": 0,
|
||||||
@@ -71,13 +80,45 @@
|
|||||||
{
|
{
|
||||||
"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": "object", "additionalProperties": false, "properties": { "range_min": { "type": "number" }, "range_max": { "type": "number" } } }
|
"type": "number"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"range_min": {
|
||||||
|
"type": "number"
|
||||||
|
},
|
||||||
|
"range_max": {
|
||||||
|
"type": "number"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"tick_interval": 0,
|
||||||
|
"search_range": 0,
|
||||||
|
"search_height": 0,
|
||||||
|
"sprint_speed_modifier": 0.0,
|
||||||
|
"target_selection_method": "example",
|
||||||
|
"target_blocks": [],
|
||||||
|
"avoid_block_sound": "example",
|
||||||
|
"walk_speed_modifier": 0.0,
|
||||||
|
"on_escape": []
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -6,8 +6,15 @@
|
|||||||
"title": "Avoid Mob Type",
|
"title": "Avoid Mob Type",
|
||||||
"required": [],
|
"required": [],
|
||||||
"properties": {
|
"properties": {
|
||||||
"priority": { "$ref": "./types/priority.json" },
|
"priority": {
|
||||||
"max_dist": { "type": "number", "default": 0, "description": "Maximum distance to look for an entity", "title": "Maximum Dist" },
|
"$ref": "./types/priority.json"
|
||||||
|
},
|
||||||
|
"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,
|
||||||
@@ -38,7 +45,11 @@
|
|||||||
"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",
|
||||||
@@ -66,13 +77,44 @@
|
|||||||
{
|
{
|
||||||
"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": "object", "additionalProperties": false, "properties": { "range_min": { "type": "number" }, "range_max": { "type": "number" } } }
|
"type": "number"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"range_min": {
|
||||||
|
"type": "number"
|
||||||
|
},
|
||||||
|
"range_max": {
|
||||||
|
"type": "number"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"max_dist": 0,
|
||||||
|
"max_flee": 0.5,
|
||||||
|
"walk_speed_multiplier": 1.0,
|
||||||
|
"sprint_speed_multiplier": 1.0,
|
||||||
|
"probability_per_strength": 1.0,
|
||||||
|
"ignore_visibility": false,
|
||||||
|
"avoid_mob_sound": "example",
|
||||||
|
"remove_target": true
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -4,5 +4,9 @@
|
|||||||
"title": "Barter",
|
"title": "Barter",
|
||||||
"description": "Enables the mob to barter for items that have been configured as barter currency. Must be used in combination with the barter component",
|
"description": "Enables the mob to barter for items that have been configured as barter currency. Must be used in combination with the barter component",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"properties": { "priority": { "$ref": "types/priority.json" } }
|
"properties": {
|
||||||
|
"priority": {
|
||||||
|
"$ref": "types/priority.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,9 @@
|
|||||||
"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",
|
||||||
@@ -18,12 +20,26 @@
|
|||||||
},
|
},
|
||||||
"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"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"items": [],
|
||||||
|
"look_distance": 8
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -4,6 +4,13 @@
|
|||||||
"title": "Break Door",
|
"title": "Break Door",
|
||||||
"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
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,5 +5,12 @@
|
|||||||
"title": "Breed",
|
"title": "Breed",
|
||||||
"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"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,9 +5,21 @@
|
|||||||
"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": {
|
||||||
"celebration_sound": { "type": "string", "default": "", "description": "The sound to occasionally play.", "title": "Celebration Sound" },
|
"$ref": "types/priority.json"
|
||||||
"duration": { "type": "number", "default": 1, "description": "The duration of the celebration (in seconds).", "title": "Duration" },
|
},
|
||||||
|
"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"
|
||||||
|
},
|
||||||
"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.",
|
||||||
@@ -16,12 +28,31 @@
|
|||||||
{
|
{
|
||||||
"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": "object", "additionalProperties": false, "properties": { "range_min": { "type": "number" }, "range_max": { "type": "number" } } }
|
"type": "number"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"range_min": {
|
||||||
|
"type": "number"
|
||||||
|
},
|
||||||
|
"range_max": {
|
||||||
|
"type": "number"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"on_celebration_end_event": {
|
"on_celebration_end_event": {
|
||||||
@@ -37,13 +68,38 @@
|
|||||||
{
|
{
|
||||||
"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": "object", "additionalProperties": false, "properties": { "range_min": { "type": "number" }, "range_max": { "type": "number" } } }
|
"type": "number"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"range_min": {
|
||||||
|
"type": "number"
|
||||||
|
},
|
||||||
|
"range_max": {
|
||||||
|
"type": "number"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"celebration_sound": "",
|
||||||
|
"duration": 1
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -5,5 +5,12 @@
|
|||||||
"title": "Charge Attack",
|
"title": "Charge Attack",
|
||||||
"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"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,12 +6,23 @@
|
|||||||
"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"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"items": []
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -6,7 +6,9 @@
|
|||||||
"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,
|
||||||
@@ -15,7 +17,10 @@
|
|||||||
},
|
},
|
||||||
"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"
|
||||||
},
|
},
|
||||||
@@ -27,13 +32,19 @@
|
|||||||
},
|
},
|
||||||
"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"
|
||||||
},
|
},
|
||||||
@@ -73,5 +84,17 @@
|
|||||||
"description": "UNDOCUMENTED",
|
"description": "UNDOCUMENTED",
|
||||||
"$comment": "UNDOCUMENTED"
|
"$comment": "UNDOCUMENTED"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"speed_multiplier": 1.0,
|
||||||
|
"radius_change_chance": 250,
|
||||||
|
"height_change_chance": 350,
|
||||||
|
"goal_radius": 0.5,
|
||||||
|
"radius_change": 0.0,
|
||||||
|
"radius_adjustment_chance": 0.0,
|
||||||
|
"height_adjustment_chance": 0.0,
|
||||||
|
"angle_change": 0.0
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -5,12 +5,19 @@
|
|||||||
"title": "Controlled By Player",
|
"title": "Controlled By Player",
|
||||||
"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"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"mount_speed_multiplier": 1
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -5,9 +5,21 @@
|
|||||||
"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": {
|
||||||
"aggro_sound": { "type": "string", "default": "", "description": "Sound to occasionally play while defending.", "title": "Aggro Sound" },
|
"$ref": "types/priority.json"
|
||||||
"attack_interval": { "type": "integer", "default": 0, "description": "Time in seconds between attacks", "title": "Attack Interval" },
|
},
|
||||||
|
"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"
|
||||||
|
},
|
||||||
"must_see": {
|
"must_see": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
@@ -38,6 +50,22 @@
|
|||||||
"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"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"aggro_sound": "",
|
||||||
|
"attack_interval": 0,
|
||||||
|
"must_see": false,
|
||||||
|
"must_see_forget_duration": 3,
|
||||||
|
"within_radius": 0,
|
||||||
|
"entity_types": {},
|
||||||
|
"sound_chance": 0.0
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -5,18 +5,31 @@
|
|||||||
"title": "Defend Village Target",
|
"title": "Defend Village Target",
|
||||||
"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"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"must_reach": true,
|
||||||
|
"attack_chance": 0.0
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -5,16 +5,30 @@
|
|||||||
"title": "Delayed Attack",
|
"title": "Delayed Attack",
|
||||||
"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": {
|
||||||
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
|
"$ref": "./types/priority.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": {
|
||||||
"attack_types": { "type": "string", "default": "", "description": "Defines the entity types this mob will attack", "title": "Attack Types" },
|
"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"
|
||||||
|
},
|
||||||
"hit_delay_pct": {
|
"hit_delay_pct": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"default": 1,
|
"default": 1,
|
||||||
@@ -33,13 +47,35 @@
|
|||||||
"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": {
|
||||||
"sound_event": { "type": "string", "description": "The sound event to play when the attack starts", "title": "Sound Event" },
|
"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"
|
||||||
|
},
|
||||||
"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"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"attack_duration": 1,
|
||||||
|
"attack_once": false,
|
||||||
|
"attack_types": "",
|
||||||
|
"hit_delay_pct": 1,
|
||||||
|
"random_stop_interval": 0,
|
||||||
|
"reach_multiplier": 2,
|
||||||
|
"require_complete_path": true,
|
||||||
|
"sound_event": "example",
|
||||||
|
"track_target": false
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -4,5 +4,9 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"title": "Door Interact",
|
"title": "Door Interact",
|
||||||
"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"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,5 +4,9 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"title": "Dragonchargeplayer",
|
"title": "Dragonchargeplayer",
|
||||||
"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"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,5 +4,9 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"title": "Dragondeath",
|
"title": "Dragondeath",
|
||||||
"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"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,5 +4,9 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"title": "Dragonflaming",
|
"title": "Dragonflaming",
|
||||||
"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"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,5 +4,9 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"title": "Dragonholdingpattern",
|
"title": "Dragonholdingpattern",
|
||||||
"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"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,5 +4,9 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"title": "Dragonlanding",
|
"title": "Dragonlanding",
|
||||||
"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"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,5 +4,9 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"title": "Dragonscanning",
|
"title": "Dragonscanning",
|
||||||
"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"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,5 +4,9 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"title": "Dragonstrafeplayer",
|
"title": "Dragonstrafeplayer",
|
||||||
"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"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,5 +4,9 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"title": "Dragontakeoff",
|
"title": "Dragontakeoff",
|
||||||
"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"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,23 +4,39 @@
|
|||||||
"title": "Beg",
|
"title": "Beg",
|
||||||
"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": {
|
||||||
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
|
"$ref": "./types/priority.json"
|
||||||
"speed_modifier": { "default": 0.0, "description": "Movement speed modifier of the mob when using this AI Goal", "title": "Speed Modifier" },
|
},
|
||||||
|
"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"
|
||||||
|
},
|
||||||
"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,
|
||||||
@@ -36,5 +52,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"potions": []
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -5,12 +5,23 @@
|
|||||||
"title": "Drop Item For",
|
"title": "Drop Item For",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"priority": { "$ref": "types/priority.json" },
|
"priority": {
|
||||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
"$ref": "types/priority.json"
|
||||||
"cooldown": { "title": "Cooldown", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" },
|
},
|
||||||
|
"speed_multiplier": {
|
||||||
|
"$ref": "types/speed_multiplier.json"
|
||||||
|
},
|
||||||
|
"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"
|
||||||
},
|
},
|
||||||
@@ -25,7 +36,12 @@
|
|||||||
"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,
|
||||||
@@ -46,7 +62,9 @@
|
|||||||
},
|
},
|
||||||
"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"
|
||||||
},
|
},
|
||||||
@@ -55,9 +73,25 @@
|
|||||||
"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": {
|
||||||
"search_count": { "type": "integer", "default": 1, "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Search Height" },
|
"title": "Seconds Before Pickup",
|
||||||
"search_height": { "type": "integer", "default": 1, "description": "Height in blocks from the target the mob can be.", "title": "Search Height" },
|
"description": "UNDOCUMENTED",
|
||||||
|
"$comment": "UNDOCUMENTED",
|
||||||
|
"type": "number"
|
||||||
|
},
|
||||||
|
"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_range": {
|
"search_range": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"default": 0,
|
"default": 0,
|
||||||
@@ -69,24 +103,74 @@
|
|||||||
"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
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"cooldown": 0.0,
|
||||||
|
"drop_item_chance": 0.0,
|
||||||
|
"goal_radius": 0.5,
|
||||||
|
"loot_table": "example",
|
||||||
|
"max_dist": 0,
|
||||||
|
"minimum_teleport_distance": 0.0,
|
||||||
|
"max_head_look_at_height": 0.0,
|
||||||
|
"offering_distance": 0.0,
|
||||||
|
"seconds_before_pickup": 0.0,
|
||||||
|
"search_count": 1,
|
||||||
|
"search_height": 1,
|
||||||
|
"search_range": 0,
|
||||||
|
"target_range": [],
|
||||||
|
"teleport_offset": [],
|
||||||
|
"time_of_day_range": []
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -7,7 +7,9 @@
|
|||||||
"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",
|
||||||
@@ -54,5 +56,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"time_until_eat": 0.0,
|
||||||
|
"eat_and_replace_block_pairs": []
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -5,11 +5,18 @@
|
|||||||
"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"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"delay_before_eating": 0.0
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -5,5 +5,9 @@
|
|||||||
"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"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,5 +5,9 @@
|
|||||||
"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"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,5 +4,9 @@
|
|||||||
"title": "Equip Item",
|
"title": "Equip Item",
|
||||||
"description": "Allows the entity to equip desired equipment.",
|
"description": "Allows the entity to equip desired equipment.",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"properties": { "priority": { "$ref": "types/priority.json" } }
|
"properties": {
|
||||||
|
"priority": {
|
||||||
|
"$ref": "types/priority.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,34 +6,112 @@
|
|||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": [],
|
"required": [],
|
||||||
"properties": {
|
"properties": {
|
||||||
"priority": { "$ref": "types/priority.json" },
|
"priority": {
|
||||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
"$ref": "types/priority.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",
|
||||||
"next_xz": { "title": "Next XZ", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "integer" },
|
"default": 0,
|
||||||
"next_y": { "title": "Next Y", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "integer" },
|
"description": "The time the mob will stand around `searching` for POIs",
|
||||||
"min_wait_time": { "title": "Minimum Wait Time", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" },
|
"title": "Wait Time"
|
||||||
"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" },
|
"next_xz": {
|
||||||
"min_perimeter": { "title": "Minimum Perimeter", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" },
|
"title": "Next XZ",
|
||||||
"min_dist_from_target": { "title": "Minimum Distance From Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" },
|
"description": "UNDOCUMENTED",
|
||||||
"timer_ratio": { "title": "Timer Ratio", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" },
|
"$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"
|
||||||
|
},
|
||||||
|
"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"
|
||||||
|
},
|
||||||
|
"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"
|
||||||
|
},
|
||||||
|
"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": "Y", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" },
|
"title": "X",
|
||||||
{ "title": "Z", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" }
|
"description": "UNDOCUMENTED",
|
||||||
|
"$comment": "UNDOCUMENTED",
|
||||||
|
"type": "number"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "Y",
|
||||||
|
"description": "UNDOCUMENTED",
|
||||||
|
"$comment": "UNDOCUMENTED",
|
||||||
|
"type": "number"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "Z",
|
||||||
|
"description": "UNDOCUMENTED",
|
||||||
|
"$comment": "UNDOCUMENTED",
|
||||||
|
"type": "number"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"explore_dist": 5,
|
||||||
|
"wait_time": 0,
|
||||||
|
"next_xz": 0,
|
||||||
|
"next_y": 0,
|
||||||
|
"min_wait_time": 0.0,
|
||||||
|
"max_wait_time": 0.0,
|
||||||
|
"max_travel_time": 0.0,
|
||||||
|
"min_perimeter": 0.0,
|
||||||
|
"min_dist_from_target": 0.0,
|
||||||
|
"timer_ratio": 0.0,
|
||||||
|
"dist_from_boundary": []
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -5,13 +5,22 @@
|
|||||||
"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": {
|
||||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
"$ref": "types/priority.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"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"cooldown_time": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -5,13 +5,22 @@
|
|||||||
"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": {
|
||||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
"$ref": "types/priority.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"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"cooldown_time": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -5,7 +5,9 @@
|
|||||||
"title": "Find Mount",
|
"title": "Find Mount",
|
||||||
"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,
|
||||||
@@ -42,5 +44,15 @@
|
|||||||
"$comment": "UNDOCUMENTED",
|
"$comment": "UNDOCUMENTED",
|
||||||
"title": "Maximum Failed Attempts"
|
"title": "Maximum Failed Attempts"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"avoid_water": false,
|
||||||
|
"mount_distance": -1,
|
||||||
|
"start_delay": 0,
|
||||||
|
"target_needed": false,
|
||||||
|
"within_radius": 0,
|
||||||
|
"max_failed_attempts": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -6,14 +6,29 @@
|
|||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": [],
|
"required": [],
|
||||||
"properties": {
|
"properties": {
|
||||||
"priority": { "$ref": "./types/priority.json" },
|
"priority": {
|
||||||
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
|
"$ref": "./types/priority.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"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"search_range": 0,
|
||||||
|
"stop_distance": 2.0
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -5,5 +5,12 @@
|
|||||||
"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"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,5 +5,9 @@
|
|||||||
"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"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,9 @@
|
|||||||
"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,
|
||||||
@@ -19,7 +21,12 @@
|
|||||||
"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,
|
||||||
@@ -34,9 +41,21 @@
|
|||||||
},
|
},
|
||||||
"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"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"xz_dist": 10,
|
||||||
|
"y_dist": 7,
|
||||||
|
"y_offset": 0.0,
|
||||||
|
"must_reach": false,
|
||||||
|
"random_reselect": false
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -6,13 +6,27 @@
|
|||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": [],
|
"required": [],
|
||||||
"properties": {
|
"properties": {
|
||||||
"priority": { "$ref": "./types/priority.json" },
|
"priority": {
|
||||||
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
|
"$ref": "./types/priority.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"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"entity_count": 1
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -6,8 +6,12 @@
|
|||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": [],
|
"required": [],
|
||||||
"properties": {
|
"properties": {
|
||||||
"priority": { "$ref": "types/priority.json" },
|
"priority": {
|
||||||
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
|
"$ref": "types/priority.json"
|
||||||
|
},
|
||||||
|
"speed_multiplier": {
|
||||||
|
"$ref": "./types/speed_multiplier.json"
|
||||||
|
},
|
||||||
"search_range": {
|
"search_range": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"default": 0,
|
"default": 0,
|
||||||
@@ -20,5 +24,11 @@
|
|||||||
"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"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"search_range": 0,
|
||||||
|
"stop_distance": 2
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -6,8 +6,12 @@
|
|||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": [],
|
"required": [],
|
||||||
"properties": {
|
"properties": {
|
||||||
"priority": { "$ref": "types/priority.json" },
|
"priority": {
|
||||||
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
|
"$ref": "types/priority.json"
|
||||||
|
},
|
||||||
|
"speed_multiplier": {
|
||||||
|
"$ref": "./types/speed_multiplier.json"
|
||||||
|
},
|
||||||
"start_distance": {
|
"start_distance": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"default": 10,
|
"default": 10,
|
||||||
@@ -20,5 +24,11 @@
|
|||||||
"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"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"start_distance": 10,
|
||||||
|
"stop_distance": 2
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -5,5 +5,12 @@
|
|||||||
"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"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,8 +6,12 @@
|
|||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": [],
|
"required": [],
|
||||||
"properties": {
|
"properties": {
|
||||||
"priority": { "$ref": "types/priority.json" },
|
"priority": {
|
||||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
"$ref": "types/priority.json"
|
||||||
|
},
|
||||||
|
"speed_multiplier": {
|
||||||
|
"$ref": "types/speed_multiplier.json"
|
||||||
|
},
|
||||||
"follow_distance": {
|
"follow_distance": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"default": 0,
|
"default": 0,
|
||||||
@@ -20,5 +24,11 @@
|
|||||||
"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"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"follow_distance": 0,
|
||||||
|
"within_radius": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -5,8 +5,12 @@
|
|||||||
"title": "Go Home",
|
"title": "Go Home",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"priority": { "$ref": "types/priority.json" },
|
"priority": {
|
||||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
"$ref": "types/priority.json"
|
||||||
|
},
|
||||||
|
"speed_multiplier": {
|
||||||
|
"$ref": "types/speed_multiplier.json"
|
||||||
|
},
|
||||||
"goal_radius": {
|
"goal_radius": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"default": 0.5,
|
"default": 0.5,
|
||||||
@@ -22,7 +26,17 @@
|
|||||||
"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",
|
||||||
@@ -30,5 +44,11 @@
|
|||||||
"description": "UNDOCUMENTED",
|
"description": "UNDOCUMENTED",
|
||||||
"$comment": "UNDOCUMENTED"
|
"$comment": "UNDOCUMENTED"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"goal_radius": 0.5,
|
||||||
|
"interval": 120
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -5,5 +5,9 @@
|
|||||||
"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"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,8 +6,12 @@
|
|||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": [],
|
"required": [],
|
||||||
"properties": {
|
"properties": {
|
||||||
"priority": { "$ref": "types/priority.json" },
|
"priority": {
|
||||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
"$ref": "types/priority.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",
|
||||||
@@ -20,6 +24,18 @@
|
|||||||
"$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"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"max_seconds_before_search": 0.0,
|
||||||
|
"search_cooldown_max_seconds": 0.0,
|
||||||
|
"seconds_until_new_task": 0.0
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -6,15 +6,26 @@
|
|||||||
"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": {
|
||||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
"$ref": "types/priority.json"
|
||||||
"duration": { "type": "number", "default": 1, "description": "Amount of time in seconds that the mob reacts.", "title": "Duration" },
|
},
|
||||||
|
"speed_multiplier": {
|
||||||
|
"$ref": "types/speed_multiplier.json"
|
||||||
|
},
|
||||||
|
"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",
|
||||||
@@ -22,5 +33,12 @@
|
|||||||
"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"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"duration": 1,
|
||||||
|
"poi_type": "",
|
||||||
|
"timeout_cooldown": 8
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -5,14 +5,21 @@
|
|||||||
"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,
|
||||||
@@ -24,5 +31,12 @@
|
|||||||
"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"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"broadcast": false,
|
||||||
|
"broadcast_range": 0.0,
|
||||||
|
"min_radius": 10.0
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -6,7 +6,9 @@
|
|||||||
"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",
|
||||||
@@ -24,5 +26,11 @@
|
|||||||
"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"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"alert_same_type": false,
|
||||||
|
"hurt_owner": false
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -6,8 +6,12 @@
|
|||||||
"description": "Allows the mob to inspect bookshelves.",
|
"description": "Allows the mob to inspect bookshelves.",
|
||||||
"required": [],
|
"required": [],
|
||||||
"properties": {
|
"properties": {
|
||||||
"priority": { "$ref": "types/priority.json" },
|
"priority": {
|
||||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
"$ref": "types/priority.json"
|
||||||
|
},
|
||||||
|
"speed_multiplier": {
|
||||||
|
"$ref": "types/speed_multiplier.json"
|
||||||
|
},
|
||||||
"goal_radius": {
|
"goal_radius": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"default": 0.5,
|
"default": 0.5,
|
||||||
@@ -32,5 +36,13 @@
|
|||||||
"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"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"goal_radius": 0.5,
|
||||||
|
"search_count": 10,
|
||||||
|
"search_height": 1,
|
||||||
|
"search_range": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -6,7 +6,9 @@
|
|||||||
"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",
|
||||||
@@ -42,9 +44,29 @@
|
|||||||
"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": "Maximum", "description": "Maximum", "type": "integer", "minimum": 0 }
|
"title": "Minimum",
|
||||||
|
"description": "Minimum",
|
||||||
|
"type": "integer",
|
||||||
|
"minimum": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "Maximum",
|
||||||
|
"description": "Maximum",
|
||||||
|
"type": "integer",
|
||||||
|
"minimum": 0
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"search_width": 8,
|
||||||
|
"search_height": 10,
|
||||||
|
"minimum_path_length": 5,
|
||||||
|
"minimum_distance": 5,
|
||||||
|
"scale_factor": 0.7,
|
||||||
|
"cooldown_range": []
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -4,9 +4,10 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"title": "Knockback Roar",
|
"title": "Knockback Roar",
|
||||||
"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,
|
||||||
@@ -55,7 +56,12 @@
|
|||||||
"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.",
|
||||||
@@ -71,5 +77,18 @@
|
|||||||
"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"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"attack_time": 0.5,
|
||||||
|
"cooldown_time": 0,
|
||||||
|
"duration": 1,
|
||||||
|
"knockback_damage": 6,
|
||||||
|
"knockback_horizontal_strength": 4,
|
||||||
|
"knockback_range": 4,
|
||||||
|
"knockback_vertical_strength": 4,
|
||||||
|
"track_target": false,
|
||||||
|
"knockback_strength": 4
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -6,7 +6,9 @@
|
|||||||
"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,
|
||||||
@@ -19,5 +21,11 @@
|
|||||||
"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"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"interval": 120,
|
||||||
|
"random_stop_interval": 120
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -6,15 +6,23 @@
|
|||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": [],
|
"required": [],
|
||||||
"properties": {
|
"properties": {
|
||||||
"priority": { "$ref": "types/priority.json" },
|
"priority": {
|
||||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
"$ref": "types/priority.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,
|
||||||
@@ -27,5 +35,12 @@
|
|||||||
"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"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"goal_radius": 0.5,
|
||||||
|
"search_height": 1,
|
||||||
|
"search_range": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -4,9 +4,10 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"title": "Leap At Target",
|
"title": "Leap At Target",
|
||||||
"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,
|
||||||
@@ -19,7 +20,26 @@
|
|||||||
"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": {
|
||||||
"target_dist": { "type": "number", "default": 0, "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Target Dist" }
|
"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"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"must_be_on_ground": true,
|
||||||
|
"set_persistent": false,
|
||||||
|
"yd": 0,
|
||||||
|
"target_dist": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -6,7 +6,9 @@
|
|||||||
"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,
|
||||||
@@ -21,7 +23,10 @@
|
|||||||
},
|
},
|
||||||
"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"
|
||||||
},
|
},
|
||||||
@@ -41,5 +46,13 @@
|
|||||||
"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"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"look_distance": 8.0,
|
||||||
|
"probability": 0.02,
|
||||||
|
"angle_of_view_vertical": 360,
|
||||||
|
"angle_of_view_horizontal": 360
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -4,9 +4,10 @@
|
|||||||
"title": "Look At Player",
|
"title": "Look At Player",
|
||||||
"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,
|
||||||
@@ -34,11 +35,36 @@
|
|||||||
},
|
},
|
||||||
"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"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"angle_of_view_vertical": 360,
|
||||||
|
"angle_of_view_horizontal": 360,
|
||||||
|
"look_distance": 8.0,
|
||||||
|
"probability": 0.02,
|
||||||
|
"look_time": [],
|
||||||
|
"target_distance": 0.0
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -6,7 +6,9 @@
|
|||||||
"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,
|
||||||
@@ -21,7 +23,10 @@
|
|||||||
},
|
},
|
||||||
"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"
|
||||||
},
|
},
|
||||||
@@ -37,5 +42,13 @@
|
|||||||
"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"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"look_distance": 8.0,
|
||||||
|
"probability": 0.02,
|
||||||
|
"angle_of_view_vertical": 360,
|
||||||
|
"angle_of_view_horizontal": 360
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -6,7 +6,9 @@
|
|||||||
"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,
|
||||||
@@ -21,7 +23,10 @@
|
|||||||
},
|
},
|
||||||
"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"
|
||||||
},
|
},
|
||||||
@@ -37,5 +42,13 @@
|
|||||||
"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"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"look_distance": 8.0,
|
||||||
|
"probability": 0.02,
|
||||||
|
"angle_of_view_vertical": 360,
|
||||||
|
"angle_of_view_horizontal": 360
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -5,5 +5,9 @@
|
|||||||
"title": "Make Love",
|
"title": "Make Love",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": [],
|
"required": [],
|
||||||
"properties": { "priority": { "$ref": "./types/priority.json" } }
|
"properties": {
|
||||||
|
"priority": {
|
||||||
|
"$ref": "./types/priority.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,8 +6,12 @@
|
|||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": [],
|
"required": [],
|
||||||
"properties": {
|
"properties": {
|
||||||
"priority": { "$ref": "./types/priority.json" },
|
"priority": {
|
||||||
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
|
"$ref": "./types/priority.json"
|
||||||
|
},
|
||||||
|
"speed_multiplier": {
|
||||||
|
"$ref": "./types/speed_multiplier.json"
|
||||||
|
},
|
||||||
"melee_fov": {
|
"melee_fov": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"default": 90.0,
|
"default": 90.0,
|
||||||
@@ -20,7 +24,11 @@
|
|||||||
"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,
|
||||||
@@ -33,7 +41,12 @@
|
|||||||
"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,
|
||||||
@@ -58,5 +71,17 @@
|
|||||||
"description": "UNDOCUMENTED",
|
"description": "UNDOCUMENTED",
|
||||||
"$comment": "UNDOCUMENTED"
|
"$comment": "UNDOCUMENTED"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"melee_fov": 90.0,
|
||||||
|
"track_target": false,
|
||||||
|
"attack_types": "example",
|
||||||
|
"random_stop_interval": 0,
|
||||||
|
"reach_multiplier": 2.0,
|
||||||
|
"attack_once": false,
|
||||||
|
"require_complete_path": false,
|
||||||
|
"cooldown_time": 0.0
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -6,8 +6,12 @@
|
|||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": [],
|
"required": [],
|
||||||
"properties": {
|
"properties": {
|
||||||
"priority": { "$ref": "types/priority.json" },
|
"priority": {
|
||||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
"$ref": "types/priority.json"
|
||||||
|
},
|
||||||
|
"speed_multiplier": {
|
||||||
|
"$ref": "types/speed_multiplier.json"
|
||||||
|
},
|
||||||
"cooldown_time": {
|
"cooldown_time": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"default": 0,
|
"default": 0,
|
||||||
@@ -30,9 +34,24 @@
|
|||||||
"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": "string" }
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"description": "The entity type that this entity is allowed to mingle with",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"cooldown_time": 0,
|
||||||
|
"duration": 1,
|
||||||
|
"mingle_distance": 2.0
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -6,8 +6,12 @@
|
|||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": [],
|
"required": [],
|
||||||
"properties": {
|
"properties": {
|
||||||
"priority": { "$ref": "./types/priority.json" },
|
"priority": {
|
||||||
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
|
"$ref": "./types/priority.json"
|
||||||
|
},
|
||||||
|
"speed_multiplier": {
|
||||||
|
"$ref": "./types/speed_multiplier.json"
|
||||||
|
},
|
||||||
"target_dist": {
|
"target_dist": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"default": 0.0,
|
"default": 0.0,
|
||||||
@@ -20,5 +24,11 @@
|
|||||||
"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"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"target_dist": 0.0,
|
||||||
|
"track_target": false
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -6,13 +6,22 @@
|
|||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": [],
|
"required": [],
|
||||||
"properties": {
|
"properties": {
|
||||||
"priority": { "$ref": "./types/priority.json" },
|
"priority": {
|
||||||
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
|
"$ref": "./types/priority.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"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"timeout_cooldown": 8
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -6,13 +6,22 @@
|
|||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": [],
|
"required": [],
|
||||||
"properties": {
|
"properties": {
|
||||||
"priority": { "$ref": "./types/priority.json" },
|
"priority": {
|
||||||
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
|
"$ref": "./types/priority.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"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"only_at_night": false
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -7,7 +7,9 @@
|
|||||||
"$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",
|
||||||
@@ -55,28 +57,59 @@
|
|||||||
"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"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"tick_interval": 0.0,
|
||||||
|
"start_chance": 0.0,
|
||||||
|
"search_range": 0.0,
|
||||||
|
"search_height": 0.0,
|
||||||
|
"goal_radius": 0.0,
|
||||||
|
"stay_duration": 0.0,
|
||||||
|
"target_selection_method": "example",
|
||||||
|
"target_offset": [],
|
||||||
|
"target_blocks": [],
|
||||||
|
"on_stay_completed": [],
|
||||||
|
"on_reach": []
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -6,8 +6,12 @@
|
|||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": [],
|
"required": [],
|
||||||
"properties": {
|
"properties": {
|
||||||
"priority": { "$ref": "./types/priority.json" },
|
"priority": {
|
||||||
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
|
"$ref": "./types/priority.json"
|
||||||
|
},
|
||||||
|
"speed_multiplier": {
|
||||||
|
"$ref": "./types/speed_multiplier.json"
|
||||||
|
},
|
||||||
"goal_radius": {
|
"goal_radius": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"default": 0.5,
|
"default": 0.5,
|
||||||
@@ -32,5 +36,13 @@
|
|||||||
"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"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"goal_radius": 0.5,
|
||||||
|
"search_count": 10,
|
||||||
|
"search_height": 1,
|
||||||
|
"search_range": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -5,8 +5,12 @@
|
|||||||
"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": {
|
||||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
"$ref": "types/priority.json"
|
||||||
|
},
|
||||||
|
"speed_multiplier": {
|
||||||
|
"$ref": "types/speed_multiplier.json"
|
||||||
|
},
|
||||||
"goal_radius": {
|
"goal_radius": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"default": 0.5,
|
"default": 0.5,
|
||||||
@@ -31,5 +35,13 @@
|
|||||||
"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"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"goal_radius": 0.5,
|
||||||
|
"search_count": 10,
|
||||||
|
"search_height": 1,
|
||||||
|
"search_range": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -5,8 +5,12 @@
|
|||||||
"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": {
|
||||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
"$ref": "types/priority.json"
|
||||||
|
},
|
||||||
|
"speed_multiplier": {
|
||||||
|
"$ref": "types/speed_multiplier.json"
|
||||||
|
},
|
||||||
"goal_radius": {
|
"goal_radius": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"default": 0.5,
|
"default": 0.5,
|
||||||
@@ -31,6 +35,19 @@
|
|||||||
"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"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"goal_radius": 0.5,
|
||||||
|
"search_count": 10,
|
||||||
|
"search_height": 1,
|
||||||
|
"search_range": 0,
|
||||||
|
"material_type": "example"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -6,8 +6,21 @@
|
|||||||
"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": {
|
||||||
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
|
"$ref": "./types/priority.json"
|
||||||
"poi_type": { "type": "string", "description": "Tells the goal what POI type it should be looking for", "title": "Point Of Interest Type" }
|
},
|
||||||
}
|
"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"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"poi_type": "example"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -6,8 +6,12 @@
|
|||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": [],
|
"required": [],
|
||||||
"properties": {
|
"properties": {
|
||||||
"priority": { "$ref": "./types/priority.json" },
|
"priority": {
|
||||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
"$ref": "./types/priority.json"
|
||||||
|
},
|
||||||
|
"speed_multiplier": {
|
||||||
|
"$ref": "types/speed_multiplier.json"
|
||||||
|
},
|
||||||
"block_distance": {
|
"block_distance": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"default": 16,
|
"default": 16,
|
||||||
@@ -20,5 +24,11 @@
|
|||||||
"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"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"block_distance": 16,
|
||||||
|
"within_radius": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -6,8 +6,12 @@
|
|||||||
"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": {
|
||||||
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
|
"$ref": "./types/priority.json"
|
||||||
|
},
|
||||||
|
"speed_multiplier": {
|
||||||
|
"$ref": "./types/speed_multiplier.json"
|
||||||
|
},
|
||||||
"cooldown_time": {
|
"cooldown_time": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"default": 0,
|
"default": 0,
|
||||||
@@ -26,5 +30,12 @@
|
|||||||
"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"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"cooldown_time": 0,
|
||||||
|
"goal_radius": 0.5,
|
||||||
|
"search_range": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -6,8 +6,12 @@
|
|||||||
"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": {
|
||||||
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
|
"$ref": "./types/priority.json"
|
||||||
|
},
|
||||||
|
"speed_multiplier": {
|
||||||
|
"$ref": "./types/speed_multiplier.json"
|
||||||
|
},
|
||||||
"search_range": {
|
"search_range": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"default": 0,
|
"default": 0,
|
||||||
@@ -32,5 +36,13 @@
|
|||||||
"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"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"search_range": 0,
|
||||||
|
"search_height": 1,
|
||||||
|
"search_count": 10,
|
||||||
|
"goal_radius": 0.5
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -5,5 +5,12 @@
|
|||||||
"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"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,5 +5,12 @@
|
|||||||
"description": "UNDOCUMENTED",
|
"description": "UNDOCUMENTED",
|
||||||
"$comment": "UNDOCUMENTED",
|
"$comment": "UNDOCUMENTED",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"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"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,13 +6,30 @@
|
|||||||
"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": {
|
||||||
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
|
"$ref": "./types/priority.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"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"control_flags": []
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -6,13 +6,22 @@
|
|||||||
"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": {
|
||||||
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
|
"$ref": "./types/priority.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"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"within_radius": 0.0
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -5,8 +5,12 @@
|
|||||||
"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": {
|
||||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
"$ref": "types/priority.json"
|
||||||
|
},
|
||||||
|
"speed_multiplier": {
|
||||||
|
"$ref": "types/speed_multiplier.json"
|
||||||
|
},
|
||||||
"cooldown_max": {
|
"cooldown_max": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"default": 0,
|
"default": 0,
|
||||||
@@ -43,5 +47,13 @@
|
|||||||
"$comment": "UNDOCUMENTED",
|
"$comment": "UNDOCUMENTED",
|
||||||
"title": "Wake Mob Exceptions"
|
"title": "Wake Mob Exceptions"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"cooldown_max": 0,
|
||||||
|
"cooldown_min": 0,
|
||||||
|
"mob_detect_dist": 6,
|
||||||
|
"mob_detect_height": 6
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -4,13 +4,16 @@
|
|||||||
"title": "Nearest Attackable Target",
|
"title": "Nearest Attackable Target",
|
||||||
"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,
|
||||||
@@ -33,11 +36,23 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"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",
|
||||||
@@ -51,7 +66,12 @@
|
|||||||
"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,
|
||||||
@@ -118,5 +138,23 @@
|
|||||||
"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"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"attack_interval": 0,
|
||||||
|
"attack_interval_min": 0,
|
||||||
|
"attack_owner": false,
|
||||||
|
"must_reach": false,
|
||||||
|
"must_see": false,
|
||||||
|
"must_see_forget_duration": 3,
|
||||||
|
"persist_time": 0,
|
||||||
|
"reselect_targets": false,
|
||||||
|
"scan_interval": 10,
|
||||||
|
"set_persistent": false,
|
||||||
|
"target_invisible_multiplier": 0.7,
|
||||||
|
"target_search_height": -1,
|
||||||
|
"target_sneak_visibility_multiplier": 0.8,
|
||||||
|
"within_radius": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -4,15 +4,21 @@
|
|||||||
"title": "Nearest Prioritized Attackable Target",
|
"title": "Nearest Prioritized Attackable Target",
|
||||||
"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,
|
||||||
@@ -67,5 +73,19 @@
|
|||||||
"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"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"attack_interval": 0,
|
||||||
|
"must_reach": false,
|
||||||
|
"must_see": false,
|
||||||
|
"must_see_forget_duration": 3,
|
||||||
|
"persist_time": 0.0,
|
||||||
|
"reselect_targets": false,
|
||||||
|
"scan_interval": 10,
|
||||||
|
"set_persistent": false,
|
||||||
|
"target_search_height": -1.0,
|
||||||
|
"within_radius": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -5,5 +5,12 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"title": "Ocelot Sit On Block",
|
"title": "Ocelot Sit On Block",
|
||||||
"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"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,9 @@
|
|||||||
"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,
|
||||||
@@ -67,5 +69,19 @@
|
|||||||
"description": "UNDOCUMENTED",
|
"description": "UNDOCUMENTED",
|
||||||
"$comment": "UNDOCUMENTED"
|
"$comment": "UNDOCUMENTED"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"walk_speed_multiplier": 1.0,
|
||||||
|
"sprint_speed_multiplier": 1.0,
|
||||||
|
"sneak_speed_multiplier": 1.0,
|
||||||
|
"cooldown_time": 0.0,
|
||||||
|
"x_max_rotation": 0.0,
|
||||||
|
"y_max_head_rotation": 0.0,
|
||||||
|
"max_distance": 0.0,
|
||||||
|
"max_sneak_range": 0.0,
|
||||||
|
"max_sprint_range": 0.0,
|
||||||
|
"reach_multiplier": 0.0
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -5,5 +5,9 @@
|
|||||||
"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"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,12 +6,19 @@
|
|||||||
"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"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"close_door_after": true
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -6,7 +6,9 @@
|
|||||||
"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",
|
||||||
|
|||||||
@@ -6,7 +6,9 @@
|
|||||||
"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",
|
||||||
|
|||||||
@@ -6,12 +6,22 @@
|
|||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": [],
|
"required": [],
|
||||||
"properties": {
|
"properties": {
|
||||||
"priority": { "$ref": "./types/priority.json" },
|
"priority": {
|
||||||
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
|
"$ref": "./types/priority.json"
|
||||||
|
},
|
||||||
|
"speed_multiplier": {
|
||||||
|
"$ref": "./types/speed_multiplier.json"
|
||||||
|
},
|
||||||
"damage_sources": {
|
"damage_sources": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": { "$ref": "../../../../general/entity/damage_source.json" },
|
"items": {
|
||||||
"default": [["all"]],
|
"$ref": "../../../../general/entity/damage_source.json"
|
||||||
|
},
|
||||||
|
"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"
|
||||||
},
|
},
|
||||||
@@ -27,7 +37,12 @@
|
|||||||
"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",
|
||||||
@@ -55,5 +70,15 @@
|
|||||||
},
|
},
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"damage_sources": [],
|
||||||
|
"force": false,
|
||||||
|
"ignore_mob_damage": false,
|
||||||
|
"prefer_water": false,
|
||||||
|
"panic_sound": "example",
|
||||||
|
"sound_interval": {}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -5,5 +5,9 @@
|
|||||||
"title": "Peek",
|
"title": "Peek",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": [],
|
"required": [],
|
||||||
"properties": { "priority": { "$ref": "./types/priority.json" } }
|
"properties": {
|
||||||
|
"priority": {
|
||||||
|
"$ref": "./types/priority.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,10 +4,13 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"title": "Tempt",
|
"title": "Tempt",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
|
|
||||||
"properties": {
|
"properties": {
|
||||||
"priority": { "$ref": "types/priority.json" },
|
"priority": {
|
||||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
"$ref": "types/priority.json"
|
||||||
|
},
|
||||||
|
"speed_multiplier": {
|
||||||
|
"$ref": "types/speed_multiplier.json"
|
||||||
|
},
|
||||||
"goal_radius": {
|
"goal_radius": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"default": 0.5,
|
"default": 0.5,
|
||||||
@@ -26,6 +29,20 @@
|
|||||||
"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"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"goal_radius": 0.5,
|
||||||
|
"search_height": 1,
|
||||||
|
"search_range": 0,
|
||||||
|
"search_radius": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -5,8 +5,12 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"title": "Pickup Items",
|
"title": "Pickup Items",
|
||||||
"properties": {
|
"properties": {
|
||||||
"priority": { "$ref": "types/priority.json" },
|
"priority": {
|
||||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
"$ref": "types/priority.json"
|
||||||
|
},
|
||||||
|
"speed_multiplier": {
|
||||||
|
"$ref": "types/speed_multiplier.json"
|
||||||
|
},
|
||||||
"can_pickup_any_item": {
|
"can_pickup_any_item": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
@@ -50,5 +54,16 @@
|
|||||||
"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"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"can_pickup_any_item": false,
|
||||||
|
"can_pickup_to_hand_or_equipment": true,
|
||||||
|
"cooldown_after_being_attacked": true,
|
||||||
|
"goal_radius": 0.5,
|
||||||
|
"max_dist": 0,
|
||||||
|
"pickup_based_on_chance": false,
|
||||||
|
"track_target": false
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -5,5 +5,12 @@
|
|||||||
"title": "Play",
|
"title": "Play",
|
||||||
"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"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,9 @@
|
|||||||
"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.",
|
||||||
@@ -30,15 +32,28 @@
|
|||||||
"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": "Maximum", "description": "Maximum", "type": "integer", "minimum": 0 }
|
"title": "Minimum",
|
||||||
|
"description": "Minimum",
|
||||||
|
"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_source.json" },
|
{
|
||||||
|
"type": "string",
|
||||||
|
"$ref": "../../../../general/entity/damage_source.json"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
@@ -53,6 +68,17 @@
|
|||||||
"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"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"duration": 0.0,
|
||||||
|
"force_below_health": 0.0,
|
||||||
|
"random_start_chance": 0.0,
|
||||||
|
"random_damage_range": [],
|
||||||
|
"apply_regeneration": true
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -5,5 +5,9 @@
|
|||||||
"title": "Player Ride Tamed",
|
"title": "Player Ride Tamed",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": [],
|
"required": [],
|
||||||
"properties": { "priority": { "$ref": "./types/priority.json" } }
|
"properties": {
|
||||||
|
"priority": {
|
||||||
|
"$ref": "./types/priority.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,15 +6,29 @@
|
|||||||
"title": "Raid Garden",
|
"title": "Raid Garden",
|
||||||
"required": [],
|
"required": [],
|
||||||
"properties": {
|
"properties": {
|
||||||
"priority": { "$ref": "types/priority.json" },
|
"priority": {
|
||||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
"$ref": "types/priority.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,
|
||||||
@@ -33,7 +47,12 @@
|
|||||||
"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,
|
||||||
@@ -47,5 +66,17 @@
|
|||||||
"$comment": "UNDOCUMENTED",
|
"$comment": "UNDOCUMENTED",
|
||||||
"title": "Search Height"
|
"title": "Search Height"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"blocks": [],
|
||||||
|
"eat_delay": 2,
|
||||||
|
"full_delay": 100,
|
||||||
|
"initial_eat_delay": 0,
|
||||||
|
"goal_radius": 0.5,
|
||||||
|
"max_to_eat": 6,
|
||||||
|
"search_range": 0,
|
||||||
|
"search_height": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -6,7 +6,9 @@
|
|||||||
"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,
|
||||||
@@ -15,12 +17,25 @@
|
|||||||
},
|
},
|
||||||
"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": "Maximum", "description": "Maximum", "type": "number", "minimum": 0 }
|
"title": "Minimum",
|
||||||
|
"description": "Minimum",
|
||||||
|
"type": "number",
|
||||||
|
"minimum": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "Maximum",
|
||||||
|
"description": "Maximum",
|
||||||
|
"type": "number",
|
||||||
|
"minimum": 0
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"knockback_force": {
|
"knockback_force": {
|
||||||
@@ -78,7 +93,31 @@
|
|||||||
"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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"baby_knockback_modifier": 4,
|
||||||
|
"cooldown_range": [],
|
||||||
|
"knockback_force": 5,
|
||||||
|
"knockback_height": 0.1,
|
||||||
|
"min_ram_distance": 4,
|
||||||
|
"pre_ram_sound": "example",
|
||||||
|
"ram_distance": 7,
|
||||||
|
"ram_impact_sound": "example",
|
||||||
|
"ram_speed": 2,
|
||||||
|
"run_speed": 1
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -6,8 +6,12 @@
|
|||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": [],
|
"required": [],
|
||||||
"properties": {
|
"properties": {
|
||||||
"priority": { "$ref": "types/priority.json" },
|
"priority": {
|
||||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
"$ref": "types/priority.json"
|
||||||
|
},
|
||||||
|
"speed_multiplier": {
|
||||||
|
"$ref": "types/speed_multiplier.json"
|
||||||
|
},
|
||||||
"cooldown_time": {
|
"cooldown_time": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"default": 0,
|
"default": 0,
|
||||||
@@ -32,5 +36,13 @@
|
|||||||
"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"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"cooldown_time": 0,
|
||||||
|
"interval": 120,
|
||||||
|
"xz_dist": 10,
|
||||||
|
"y_dist": 7
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -4,11 +4,19 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"title": "Random Fly",
|
"title": "Random Fly",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
|
|
||||||
"properties": {
|
"properties": {
|
||||||
"priority": { "$ref": "types/priority.json" },
|
"priority": {
|
||||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
"$ref": "types/priority.json"
|
||||||
"avoid_damage_blocks": { "type": "boolean", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Avoid Damage Blocks" },
|
},
|
||||||
|
"speed_multiplier": {
|
||||||
|
"$ref": "types/speed_multiplier.json"
|
||||||
|
},
|
||||||
|
"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,
|
||||||
@@ -27,6 +35,20 @@
|
|||||||
"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"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"avoid_damage_blocks": true,
|
||||||
|
"can_land_on_trees": true,
|
||||||
|
"xz_dist": 10,
|
||||||
|
"y_dist": 7,
|
||||||
|
"y_offset": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -4,16 +4,26 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"title": "Random Hover",
|
"title": "Random Hover",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
|
|
||||||
"properties": {
|
"properties": {
|
||||||
"priority": { "$ref": "types/priority.json" },
|
"priority": {
|
||||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
"$ref": "types/priority.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",
|
||||||
@@ -33,6 +43,20 @@
|
|||||||
"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"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"hover_height": [],
|
||||||
|
"interval": 120,
|
||||||
|
"xz_dist": 10,
|
||||||
|
"y_dist": 7,
|
||||||
|
"y_offset": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -6,17 +6,29 @@
|
|||||||
"title": "Random Look Around",
|
"title": "Random Look Around",
|
||||||
"required": [],
|
"required": [],
|
||||||
"properties": {
|
"properties": {
|
||||||
"priority": { "$ref": "./types/priority.json" },
|
"priority": {
|
||||||
|
"$ref": "./types/priority.json"
|
||||||
|
},
|
||||||
"look_time": {
|
"look_time": {
|
||||||
"title": "Look Time",
|
"title": "Look Time",
|
||||||
"description": "The range of time in seconds the mob will stay looking in a random direction before looking elsewhere",
|
"description": "The range of time in seconds the mob will stay looking in a random direction before looking elsewhere",
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
{ "type": "number" },
|
{
|
||||||
|
"type": "number"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": [
|
"items": [
|
||||||
{ "type": "number", "title": "Minimum", "description": "Minimum" },
|
{
|
||||||
{ "type": "number", "title": "Maximum", "description": "Maximum" }
|
"type": "number",
|
||||||
|
"title": "Minimum",
|
||||||
|
"description": "Minimum"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "number",
|
||||||
|
"title": "Maximum",
|
||||||
|
"description": "Maximum"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -27,5 +39,10 @@
|
|||||||
"title": "Look Distance",
|
"title": "Look Distance",
|
||||||
"type": "number"
|
"type": "number"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"look_distance": 0.0
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user