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.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"priority": { "$ref": "types/priority.json" },
|
||||
"priority": {
|
||||
"$ref": "types/priority.json"
|
||||
},
|
||||
"admire_item_sound": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
@@ -32,13 +34,37 @@
|
||||
{
|
||||
"type": "array",
|
||||
"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",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"priority": { "$ref": "types/priority.json" },
|
||||
"priority": {
|
||||
"$ref": "types/priority.json"
|
||||
},
|
||||
"tick_interval": {
|
||||
"type": "integer",
|
||||
"title": "Tick Interval",
|
||||
@@ -42,7 +44,12 @@
|
||||
"title": "Target Blocks",
|
||||
"description": "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": {
|
||||
"type": "string",
|
||||
@@ -61,7 +68,9 @@
|
||||
"title": "Walk Speed Modifier",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"items": { "$ref": "../types/event.json" }
|
||||
"items": {
|
||||
"$ref": "../types/event.json"
|
||||
}
|
||||
},
|
||||
"sound_interval": {
|
||||
"default": 0,
|
||||
@@ -71,13 +80,45 @@
|
||||
{
|
||||
"type": "array",
|
||||
"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",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"max_dist": { "type": "number", "default": 0, "description": "Maximum distance to look for an entity", "title": "Maximum Dist" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"max_dist": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Maximum distance to look for an entity",
|
||||
"title": "Maximum Dist"
|
||||
},
|
||||
"max_flee": {
|
||||
"type": "number",
|
||||
"default": 0.5,
|
||||
@@ -38,7 +45,11 @@
|
||||
"description": "If true, visbility between this entity and the mob type will not be checked.",
|
||||
"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": {
|
||||
"title": "Avoid Mob Sound",
|
||||
"description": "UNDOCUMENTED",
|
||||
@@ -66,13 +77,44 @@
|
||||
{
|
||||
"type": "array",
|
||||
"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",
|
||||
"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,
|
||||
"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.",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"items": {
|
||||
"type": "array",
|
||||
"description": "List of items that this mob likes",
|
||||
@@ -18,12 +20,26 @@
|
||||
},
|
||||
"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": {
|
||||
"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",
|
||||
"default": [2, 4],
|
||||
"default": [
|
||||
2,
|
||||
4
|
||||
],
|
||||
"title": "Look Time"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"items": [],
|
||||
"look_distance": 8
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -4,6 +4,13 @@
|
||||
"title": "Break Door",
|
||||
"description": "Allows this mob to break doors.",
|
||||
"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
|
||||
}
|
||||
|
||||
@@ -5,5 +5,12 @@
|
||||
"title": "Breed",
|
||||
"description": "Allows this mob to breed with other mobs.",
|
||||
"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.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"priority": { "$ref": "types/priority.json" },
|
||||
"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" },
|
||||
"priority": {
|
||||
"$ref": "types/priority.json"
|
||||
},
|
||||
"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": {
|
||||
"default": 0,
|
||||
"description": "The range of time in seconds to randomly wait before jumping again.",
|
||||
@@ -16,12 +28,31 @@
|
||||
{
|
||||
"type": "array",
|
||||
"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": {
|
||||
@@ -37,13 +68,38 @@
|
||||
{
|
||||
"type": "array",
|
||||
"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",
|
||||
"description": "Allows the mob to attack its target by running at it.",
|
||||
"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,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"items": {
|
||||
"type": "array",
|
||||
"title": "Items",
|
||||
"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.",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"type": "number",
|
||||
"default": 1.0,
|
||||
@@ -15,7 +17,10 @@
|
||||
},
|
||||
"radius_range": {
|
||||
"$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.",
|
||||
"title": "Radius Range"
|
||||
},
|
||||
@@ -27,13 +32,19 @@
|
||||
},
|
||||
"height_above_target_range": {
|
||||
"$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.",
|
||||
"title": "Height Above Target Range"
|
||||
},
|
||||
"height_offset_range": {
|
||||
"$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.",
|
||||
"title": "Height Offset Range"
|
||||
},
|
||||
@@ -73,5 +84,17 @@
|
||||
"description": "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",
|
||||
"description": "Allows the mob to be controlled by the player.",
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"mount_speed_multiplier": {
|
||||
"type": "number",
|
||||
"default": 1,
|
||||
"description": "Speed multiplier of mount when controlled by player, defaults to 1.0f",
|
||||
"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.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"priority": { "$ref": "types/priority.json" },
|
||||
"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" },
|
||||
"priority": {
|
||||
"$ref": "types/priority.json"
|
||||
},
|
||||
"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": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
@@ -38,6 +50,22 @@
|
||||
"title": "Entity Types",
|
||||
"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",
|
||||
"description": "Allows the mob to stay in the village and fight mobs hostile to the villagers.",
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"entity_types": {
|
||||
"$ref": "../types/entity_types.json",
|
||||
"description": "List of entity types this mob considers a threat to the village",
|
||||
"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": {
|
||||
"title": "Attack Chance",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"must_reach": true,
|
||||
"attack_chance": 0.0
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -5,16 +5,30 @@
|
||||
"title": "Delayed Attack",
|
||||
"description": "Allows the mob to drink potions based on specified environment conditions.",
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "./types/speed_multiplier.json"
|
||||
},
|
||||
"attack_duration": {
|
||||
"type": "number",
|
||||
"default": 1,
|
||||
"description": "The duration of the attack animation in seconds",
|
||||
"title": "Attack Duration"
|
||||
},
|
||||
"attack_once": { "type": "boolean", "default": false, "description": "If true, this mob will attack only one time.", "title": "Attack Once" },
|
||||
"attack_types": { "type": "string", "default": "", "description": "Defines the entity types this mob will attack", "title": "Attack Types" },
|
||||
"attack_once": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, this mob will attack only one time.",
|
||||
"title": "Attack Once"
|
||||
},
|
||||
"attack_types": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "Defines the entity types this mob will attack",
|
||||
"title": "Attack Types"
|
||||
},
|
||||
"hit_delay_pct": {
|
||||
"type": "number",
|
||||
"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)",
|
||||
"title": "Reach Multiplier"
|
||||
},
|
||||
"require_complete_path": { "type": "boolean", "title": "Require Complet Path", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
|
||||
"sound_event": { "type": "string", "description": "The sound event to play when the attack starts", "title": "Sound Event" },
|
||||
"require_complete_path": {
|
||||
"type": "boolean",
|
||||
"title": "Require Complet Path",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED"
|
||||
},
|
||||
"sound_event": {
|
||||
"type": "string",
|
||||
"description": "The sound event to play when the attack starts",
|
||||
"title": "Sound Event"
|
||||
},
|
||||
"track_target": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, this mob will chase after the target as long as it's a valid 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",
|
||||
"title": "Door Interact",
|
||||
"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",
|
||||
"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.",
|
||||
"properties": { "priority": { "$ref": "./types/priority.json" } }
|
||||
"properties": {
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,5 +4,9 @@
|
||||
"type": "object",
|
||||
"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.",
|
||||
"properties": { "priority": { "$ref": "./types/priority.json" } }
|
||||
"properties": {
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,5 +4,9 @@
|
||||
"type": "object",
|
||||
"title": "Dragonflaming",
|
||||
"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",
|
||||
"title": "Dragonholdingpattern",
|
||||
"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",
|
||||
"title": "Dragonlanding",
|
||||
"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",
|
||||
"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.",
|
||||
"properties": { "priority": { "$ref": "./types/priority.json" } }
|
||||
"properties": {
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,5 +4,9 @@
|
||||
"type": "object",
|
||||
"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.",
|
||||
"properties": { "priority": { "$ref": "./types/priority.json" } }
|
||||
"properties": {
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,5 +4,9 @@
|
||||
"type": "object",
|
||||
"title": "Dragontakeoff",
|
||||
"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",
|
||||
"description": "Allows the mob to drink potions based on specified environment conditions.",
|
||||
"additionalProperties": false,
|
||||
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
|
||||
"speed_modifier": { "default": 0.0, "description": "Movement speed modifier of the mob when using this AI Goal", "title": "Speed Modifier" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "./types/speed_multiplier.json"
|
||||
},
|
||||
"speed_modifier": {
|
||||
"default": 0.0,
|
||||
"description": "Movement speed modifier of the mob when using this AI Goal",
|
||||
"title": "Speed Modifier"
|
||||
},
|
||||
"potions": {
|
||||
"type": "array",
|
||||
"description": "A list of potions that this entity can drink.",
|
||||
"title": "Potions",
|
||||
"items": {
|
||||
"required": ["id", "chance", "filters"],
|
||||
"required": [
|
||||
"id",
|
||||
"chance",
|
||||
"filters"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"description": "A potions that this entity can drink.",
|
||||
"title": "Potions",
|
||||
"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": {
|
||||
"type": "number",
|
||||
"default": 1.0,
|
||||
@@ -36,5 +52,10 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"potions": []
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -5,12 +5,23 @@
|
||||
"title": "Drop Item For",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"priority": { "$ref": "types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
||||
"cooldown": { "title": "Cooldown", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" },
|
||||
"priority": {
|
||||
"$ref": "types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "types/speed_multiplier.json"
|
||||
},
|
||||
"cooldown": {
|
||||
"title": "Cooldown",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"type": "number"
|
||||
},
|
||||
"drop_item_chance": {
|
||||
"type": "number",
|
||||
"default": [1.0],
|
||||
"default": [
|
||||
1.0
|
||||
],
|
||||
"description": "The probability that the mob will drop an item.",
|
||||
"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",
|
||||
"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": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
@@ -46,7 +62,9 @@
|
||||
},
|
||||
"offering_distance": {
|
||||
"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.",
|
||||
"title": "Offering Distance"
|
||||
},
|
||||
@@ -55,9 +73,25 @@
|
||||
"description": "Event to run when this mob attempts to drop an item.",
|
||||
"title": "On Drop Attempt"
|
||||
},
|
||||
"seconds_before_pickup": { "title": "Seconds Before Pickup", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" },
|
||||
"search_count": { "type": "integer", "default": 1, "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Search Height" },
|
||||
"search_height": { "type": "integer", "default": 1, "description": "Height in blocks from the target the mob can be.", "title": "Search Height" },
|
||||
"seconds_before_pickup": {
|
||||
"title": "Seconds Before Pickup",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"type": "number"
|
||||
},
|
||||
"search_count": {
|
||||
"type": "integer",
|
||||
"default": 1,
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Search Height"
|
||||
},
|
||||
"search_height": {
|
||||
"type": "integer",
|
||||
"default": 1,
|
||||
"description": "Height in blocks from the target the mob can be.",
|
||||
"title": "Search Height"
|
||||
},
|
||||
"search_range": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
@@ -69,24 +103,74 @@
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"type": "array",
|
||||
"items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }]
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"teleport_offset": {
|
||||
"title": "Teleport Offset",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"type": "array",
|
||||
"items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }]
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"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.",
|
||||
"title": "Time Of Day Range",
|
||||
"type": "array",
|
||||
"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,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"on_eat": {
|
||||
"$ref": "../types/trigger.json",
|
||||
"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.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"priority": { "$ref": "types/priority.json" },
|
||||
"priority": {
|
||||
"$ref": "types/priority.json"
|
||||
},
|
||||
"delay_before_eating": {
|
||||
"type": "number",
|
||||
"description": "Time in seconds the mob should wait before eating the item.",
|
||||
"title": "Delay Before Eating"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"delay_before_eating": 0.0
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -5,5 +5,9 @@
|
||||
"additionalProperties": false,
|
||||
"description": "Allows the enderman to drop a block they are carrying. Can only be used by Endermen.",
|
||||
"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.",
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": { "priority": { "$ref": "./types/priority.json" } }
|
||||
"properties": {
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,5 +4,9 @@
|
||||
"title": "Equip Item",
|
||||
"description": "Allows the entity to equip desired equipment.",
|
||||
"additionalProperties": false,
|
||||
"properties": { "priority": { "$ref": "types/priority.json" } }
|
||||
"properties": {
|
||||
"priority": {
|
||||
"$ref": "types/priority.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,34 +6,112 @@
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
||||
"priority": {
|
||||
"$ref": "types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "types/speed_multiplier.json"
|
||||
},
|
||||
"explore_dist": {
|
||||
"type": "number",
|
||||
"default": 5,
|
||||
"description": "The distance in which the mob will proceed past the village bounds",
|
||||
"title": "Explore Dist"
|
||||
},
|
||||
"wait_time": { "type": "integer", "default": 0, "description": "The time the mob will stand around `searching` for POIs", "title": "Wait Time" },
|
||||
|
||||
"next_xz": { "title": "Next XZ", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "integer" },
|
||||
"next_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" },
|
||||
"wait_time": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "The time the mob will stand around `searching` for POIs",
|
||||
"title": "Wait Time"
|
||||
},
|
||||
"next_xz": {
|
||||
"title": "Next XZ",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"type": "integer"
|
||||
},
|
||||
"next_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": {
|
||||
"title": "Distance From Boundary",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"type": "array",
|
||||
"items": [
|
||||
{ "title": "X", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" },
|
||||
{ "title": "Y", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" },
|
||||
{ "title": "Z", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" }
|
||||
{
|
||||
"title": "X",
|
||||
"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.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"priority": { "$ref": "types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
||||
"priority": {
|
||||
"$ref": "types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "types/speed_multiplier.json"
|
||||
},
|
||||
"cooldown_time": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Time in seconds the mob has to wait before using the goal again",
|
||||
"title": "Cooldown Time"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"cooldown_time": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -5,13 +5,22 @@
|
||||
"description": "Allows the mob to seek shade.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"priority": { "$ref": "types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
||||
"priority": {
|
||||
"$ref": "types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "types/speed_multiplier.json"
|
||||
},
|
||||
"cooldown_time": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Time in seconds the mob has to wait before using the goal again",
|
||||
"title": "Cooldown Time"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"cooldown_time": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -5,7 +5,9 @@
|
||||
"title": "Find Mount",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"priority": { "$ref": "types/priority.json" },
|
||||
"priority": {
|
||||
"$ref": "types/priority.json"
|
||||
},
|
||||
"avoid_water": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
@@ -42,5 +44,15 @@
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"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,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "./types/speed_multiplier.json"
|
||||
},
|
||||
"search_range": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "The range that the mob will search for a treasure chest within a ruin or shipwreck to move towards.",
|
||||
"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.",
|
||||
"additionalProperties": false,
|
||||
"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.",
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": { "priority": { "$ref": "./types/priority.json" } }
|
||||
"properties": {
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,9 @@
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"xz_dist": {
|
||||
"type": "integer",
|
||||
"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",
|
||||
"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": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
@@ -34,9 +41,21 @@
|
||||
},
|
||||
"float_duration": {
|
||||
"$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",
|
||||
"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,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "./types/speed_multiplier.json"
|
||||
},
|
||||
"entity_types": {
|
||||
"$ref": "../types/entity_types.json",
|
||||
"description": "List of entity types that this mob can follow in a caravan",
|
||||
"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,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
|
||||
"priority": {
|
||||
"$ref": "types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "./types/speed_multiplier.json"
|
||||
},
|
||||
"search_range": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
@@ -20,5 +24,11 @@
|
||||
"description": "The distance in blocks this mob stops from the mob it is following",
|
||||
"title": "Stop Distance"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"search_range": 0,
|
||||
"stop_distance": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -6,8 +6,12 @@
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
|
||||
"priority": {
|
||||
"$ref": "types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "./types/speed_multiplier.json"
|
||||
},
|
||||
"start_distance": {
|
||||
"type": "number",
|
||||
"default": 10,
|
||||
@@ -20,5 +24,11 @@
|
||||
"description": "The distance in blocks this mob will stop from its owner while following it",
|
||||
"title": "Stop Distance"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"start_distance": 10,
|
||||
"stop_distance": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -5,5 +5,12 @@
|
||||
"description": "Allows the mob to follow their parent around.",
|
||||
"additionalProperties": false,
|
||||
"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,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
||||
"priority": {
|
||||
"$ref": "types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "types/speed_multiplier.json"
|
||||
},
|
||||
"follow_distance": {
|
||||
"type": "number",
|
||||
"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.",
|
||||
"title": "Within Radius"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"follow_distance": 0,
|
||||
"within_radius": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -5,8 +5,12 @@
|
||||
"title": "Go Home",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"priority": { "$ref": "types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
||||
"priority": {
|
||||
"$ref": "types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "types/speed_multiplier.json"
|
||||
},
|
||||
"goal_radius": {
|
||||
"type": "number",
|
||||
"default": 0.5,
|
||||
@@ -22,7 +26,17 @@
|
||||
"on_home": {
|
||||
"description": "Event to run when this mob gets 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": {
|
||||
"$ref": "../types/event.json",
|
||||
@@ -30,5 +44,11 @@
|
||||
"description": "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.",
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": { "priority": { "$ref": "./types/priority.json" } }
|
||||
"properties": {
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,8 +6,12 @@
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
||||
"priority": {
|
||||
"$ref": "types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "types/speed_multiplier.json"
|
||||
},
|
||||
"max_seconds_before_search": {
|
||||
"title": "Maximum Seconds Before Search",
|
||||
"description": "UNDOCUMENTED",
|
||||
@@ -20,6 +24,18 @@
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"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.",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
||||
"duration": { "type": "number", "default": 1, "description": "Amount of time in seconds that the mob reacts.", "title": "Duration" },
|
||||
"priority": {
|
||||
"$ref": "types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "types/speed_multiplier.json"
|
||||
},
|
||||
"duration": {
|
||||
"type": "number",
|
||||
"default": 1,
|
||||
"description": "Amount of time in seconds that the mob reacts.",
|
||||
"title": "Duration"
|
||||
},
|
||||
"poi_type": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "Defines what POI type to hide at.",
|
||||
"title": "Point Of Interest Type",
|
||||
"examples": ["bed"]
|
||||
"examples": [
|
||||
"bed"
|
||||
]
|
||||
},
|
||||
"timeout_cooldown": {
|
||||
"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.",
|
||||
"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.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"priority": { "$ref": "types/priority.json" },
|
||||
"priority": {
|
||||
"$ref": "types/priority.json"
|
||||
},
|
||||
"broadcast": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Whether to broadcast out the mob's target to other mobs of the same type.",
|
||||
"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": {
|
||||
"type": "number",
|
||||
"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.",
|
||||
"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.",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"entity_types": {
|
||||
"$ref": "../types/entity_types.json",
|
||||
"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",
|
||||
"title": "Hurt Owner"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"alert_same_type": false,
|
||||
"hurt_owner": false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -6,8 +6,12 @@
|
||||
"description": "Allows the mob to inspect bookshelves.",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
||||
"priority": {
|
||||
"$ref": "types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "types/speed_multiplier.json"
|
||||
},
|
||||
"goal_radius": {
|
||||
"type": "number",
|
||||
"default": 0.5,
|
||||
@@ -32,5 +36,13 @@
|
||||
"description": "Distance in blocks the mob will look for books to inspect",
|
||||
"title": "Search Range"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"goal_radius": 0.5,
|
||||
"search_count": 10,
|
||||
"search_height": 1,
|
||||
"search_range": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -6,7 +6,9 @@
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"search_width": {
|
||||
"type": "integer",
|
||||
"title": "Search Width",
|
||||
@@ -42,9 +44,29 @@
|
||||
"description": "The minimum and maximum cooldown time-range in seconds between each attempted jump.",
|
||||
"type": "array",
|
||||
"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",
|
||||
"title": "Knockback Roar",
|
||||
"additionalProperties": false,
|
||||
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"attack_time": {
|
||||
"type": "number",
|
||||
"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",
|
||||
"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": {
|
||||
"$ref": "../../filters/filters.json",
|
||||
"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.",
|
||||
"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,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"interval": {
|
||||
"type": "integer",
|
||||
"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",
|
||||
"title": "Random Stop Interval"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"interval": 120,
|
||||
"random_stop_interval": 120
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -6,15 +6,23 @@
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
||||
"priority": {
|
||||
"$ref": "types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "types/speed_multiplier.json"
|
||||
},
|
||||
"goal_radius": {
|
||||
"type": "number",
|
||||
"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",
|
||||
"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": {
|
||||
"type": "integer",
|
||||
"default": 1,
|
||||
@@ -27,5 +35,12 @@
|
||||
"description": "The distance in blocks it will look for a sand block to move towards",
|
||||
"title": "Search Range"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"goal_radius": 0.5,
|
||||
"search_height": 1,
|
||||
"search_range": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -4,9 +4,10 @@
|
||||
"type": "object",
|
||||
"title": "Leap At Target",
|
||||
"additionalProperties": false,
|
||||
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"must_be_on_ground": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
@@ -19,7 +20,26 @@
|
||||
"description": "Allows the actor to be set to persist upon targeting a player",
|
||||
"title": "Set Persistent"
|
||||
},
|
||||
"yd": { "type": "number", "default": 0, "description": "The height in blocks the mob jumps when leaping at its target", "title": "Yd" },
|
||||
"target_dist": { "type": "number", "default": 0, "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Target Dist" }
|
||||
}
|
||||
}
|
||||
"yd": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "The height in blocks the mob jumps when leaping at its target",
|
||||
"title": "Yd"
|
||||
},
|
||||
"target_dist": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Target Dist"
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"must_be_on_ground": true,
|
||||
"set_persistent": false,
|
||||
"yd": 0,
|
||||
"target_dist": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -6,7 +6,9 @@
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"look_distance": {
|
||||
"type": "number",
|
||||
"default": 8.0,
|
||||
@@ -21,7 +23,10 @@
|
||||
},
|
||||
"look_time": {
|
||||
"$ref": "../types/range_number_type.json",
|
||||
"default": [2, 4],
|
||||
"default": [
|
||||
2,
|
||||
4
|
||||
],
|
||||
"description": "Time range to look at the entity",
|
||||
"title": "Look Time"
|
||||
},
|
||||
@@ -41,5 +46,13 @@
|
||||
"description": "Filter to determine the conditions for this mob to look at the entity",
|
||||
"$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",
|
||||
"description": "Allows the mob to look at the player when the player is nearby.",
|
||||
"additionalProperties": false,
|
||||
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"angle_of_view_vertical": {
|
||||
"type": "integer",
|
||||
"default": 360,
|
||||
@@ -34,11 +35,36 @@
|
||||
},
|
||||
"look_time": {
|
||||
"type": "array",
|
||||
"default": [2, 4],
|
||||
"default": [
|
||||
2,
|
||||
4
|
||||
],
|
||||
"description": "Time range to look at the entity",
|
||||
"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,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"look_distance": {
|
||||
"type": "number",
|
||||
"default": 8.0,
|
||||
@@ -21,7 +23,10 @@
|
||||
},
|
||||
"look_time": {
|
||||
"$ref": "../types/range_number_type.json",
|
||||
"default": [2, 4],
|
||||
"default": [
|
||||
2,
|
||||
4
|
||||
],
|
||||
"description": "Time range to look at the entity",
|
||||
"title": "Look Time"
|
||||
},
|
||||
@@ -37,5 +42,13 @@
|
||||
"description": "The angle in degrees that the mob can see in the Y-axis (up-down)",
|
||||
"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.",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"look_distance": {
|
||||
"type": "number",
|
||||
"default": 8.0,
|
||||
@@ -21,7 +23,10 @@
|
||||
},
|
||||
"look_time": {
|
||||
"$ref": "../types/range_number_type.json",
|
||||
"default": [2, 4],
|
||||
"default": [
|
||||
2,
|
||||
4
|
||||
],
|
||||
"description": "Time range to look at the entity",
|
||||
"title": "Look Time"
|
||||
},
|
||||
@@ -37,5 +42,13 @@
|
||||
"description": "The angle in degrees that the mob can see in the Y-axis (up-down)",
|
||||
"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",
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": { "priority": { "$ref": "./types/priority.json" } }
|
||||
"properties": {
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,8 +6,12 @@
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "./types/speed_multiplier.json"
|
||||
},
|
||||
"melee_fov": {
|
||||
"type": "number",
|
||||
"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",
|
||||
"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": {
|
||||
"type": "integer",
|
||||
"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)",
|
||||
"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": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
@@ -58,5 +71,17 @@
|
||||
"description": "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,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
||||
"priority": {
|
||||
"$ref": "types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "types/speed_multiplier.json"
|
||||
},
|
||||
"cooldown_time": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
@@ -30,9 +34,24 @@
|
||||
"description": "The entity type that this entity is allowed to mingle with",
|
||||
"title": "Mingle Partner Type",
|
||||
"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,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "./types/speed_multiplier.json"
|
||||
},
|
||||
"target_dist": {
|
||||
"type": "number",
|
||||
"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",
|
||||
"title": "Track Target"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"target_dist": 0.0,
|
||||
"track_target": false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -6,13 +6,22 @@
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "./types/speed_multiplier.json"
|
||||
},
|
||||
"timeout_cooldown": {
|
||||
"type": "number",
|
||||
"default": 8,
|
||||
"description": "The cooldown time in seconds before the goal can be reused after a internal failure or timeout condition",
|
||||
"title": "Timeout Cooldown"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"timeout_cooldown": 8
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -6,13 +6,22 @@
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "./types/speed_multiplier.json"
|
||||
},
|
||||
"only_at_night": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, the mob will only move through the village during night time",
|
||||
"title": "Only At Night"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"only_at_night": false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -7,7 +7,9 @@
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"tick_interval": {
|
||||
"type": "number",
|
||||
"title": "Tick Interval",
|
||||
@@ -55,28 +57,59 @@
|
||||
"title": "Target Offset",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }]
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"target_blocks": {
|
||||
"type": "array",
|
||||
"title": "Target Blocks",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"items": { "type": "string" }
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"on_stay_completed": {
|
||||
"type": "array",
|
||||
"title": "On Stay Completed",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"items": { "$ref": "../types/event.json" }
|
||||
"items": {
|
||||
"$ref": "../types/event.json"
|
||||
}
|
||||
},
|
||||
"on_reach": {
|
||||
"type": "array",
|
||||
"title": "On Reach",
|
||||
"description": "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,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "./types/speed_multiplier.json"
|
||||
},
|
||||
"goal_radius": {
|
||||
"type": "number",
|
||||
"default": 0.5,
|
||||
@@ -32,5 +36,13 @@
|
||||
"description": "The distance in blocks it will look for land to move towards",
|
||||
"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.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"priority": { "$ref": "types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
||||
"priority": {
|
||||
"$ref": "types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "types/speed_multiplier.json"
|
||||
},
|
||||
"goal_radius": {
|
||||
"type": "number",
|
||||
"default": 0.5,
|
||||
@@ -31,5 +35,13 @@
|
||||
"description": "The distance in blocks it will look for lava to move towards",
|
||||
"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.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"priority": { "$ref": "types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
||||
"priority": {
|
||||
"$ref": "types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "types/speed_multiplier.json"
|
||||
},
|
||||
"goal_radius": {
|
||||
"type": "number",
|
||||
"default": 0.5,
|
||||
@@ -31,6 +35,19 @@
|
||||
"description": "The distance in blocks it will look for lava to move towards",
|
||||
"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",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
|
||||
"poi_type": { "type": "string", "description": "Tells the goal what POI type it should be looking for", "title": "Point Of Interest Type" }
|
||||
}
|
||||
}
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "./types/speed_multiplier.json"
|
||||
},
|
||||
"poi_type": {
|
||||
"type": "string",
|
||||
"description": "Tells the goal what POI type it should be looking for",
|
||||
"title": "Point Of Interest Type"
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"poi_type": "example"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -6,8 +6,12 @@
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "types/speed_multiplier.json"
|
||||
},
|
||||
"block_distance": {
|
||||
"type": "number",
|
||||
"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.",
|
||||
"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.",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "./types/speed_multiplier.json"
|
||||
},
|
||||
"cooldown_time": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
@@ -26,5 +30,12 @@
|
||||
"description": "The distance in blocks to search for villages. If <= 0, find the closest village regardless of distance.",
|
||||
"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.",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "./types/speed_multiplier.json"
|
||||
},
|
||||
"search_range": {
|
||||
"type": "integer",
|
||||
"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",
|
||||
"title": "Goal Radius"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"search_range": 0,
|
||||
"search_height": 1,
|
||||
"search_count": 10,
|
||||
"goal_radius": 0.5
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -5,5 +5,12 @@
|
||||
"additionalProperties": false,
|
||||
"description": "UNDOCUMENTED, comes from cat",
|
||||
"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",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"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.",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "./types/speed_multiplier.json"
|
||||
},
|
||||
"control_flags": {
|
||||
"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",
|
||||
"title": "Control Flags"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"control_flags": []
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -6,13 +6,22 @@
|
||||
"description": "Allows mob to move towards its current target.",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "./types/speed_multiplier.json"
|
||||
},
|
||||
"within_radius": {
|
||||
"type": "number",
|
||||
"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",
|
||||
"title": "Within Radius"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"within_radius": 0.0
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -5,8 +5,12 @@
|
||||
"description": "Allows the mob to move back into lava when on land.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"priority": { "$ref": "types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
||||
"priority": {
|
||||
"$ref": "types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "types/speed_multiplier.json"
|
||||
},
|
||||
"cooldown_max": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
@@ -43,5 +47,13 @@
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"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",
|
||||
"description": "Allows the mob to check for and pursue the nearest valid target.",
|
||||
"additionalProperties": false,
|
||||
|
||||
"definitions": {
|
||||
"entity_type": {
|
||||
"type": "object",
|
||||
"description": "A entity type",
|
||||
"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": {
|
||||
"type": "number",
|
||||
"default": 16,
|
||||
@@ -33,11 +36,23 @@
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"entity_types": {
|
||||
"description": "Filters which types of targets are valid for this entity.",
|
||||
"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": {
|
||||
"type": "integer",
|
||||
@@ -51,7 +66,12 @@
|
||||
"description": "Alias for `attack_interval`; provides the same functionality as `attack_interval`.",
|
||||
"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": {
|
||||
"type": "boolean",
|
||||
"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`.",
|
||||
"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",
|
||||
"description": "Allows the mob to check for and pursue the nearest valid target.",
|
||||
"additionalProperties": false,
|
||||
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"entity_types": {
|
||||
"description": "List of entity types that this mob considers valid targets",
|
||||
"title": "Entity Types",
|
||||
"$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": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
@@ -67,5 +73,19 @@
|
||||
"description": "Distance in blocks that the target can be within to launch an attack",
|
||||
"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",
|
||||
"title": "Ocelot Sit On Block",
|
||||
"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.",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"walk_speed_multiplier": {
|
||||
"type": "number",
|
||||
"default": 1.0,
|
||||
@@ -67,5 +69,19 @@
|
||||
"description": "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,
|
||||
"description": "Allows the mob to offer the player a flower like the Iron Golem does.",
|
||||
"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.",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"close_door_after": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "If true, the mob will close the door after opening it and going through it",
|
||||
"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.",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"entity_types": {
|
||||
"$ref": "../types/entity_types.json",
|
||||
"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.",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"entity_types": {
|
||||
"$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",
|
||||
|
||||
@@ -6,12 +6,22 @@
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "./types/speed_multiplier.json"
|
||||
},
|
||||
"damage_sources": {
|
||||
"type": "array",
|
||||
"items": { "$ref": "../../../../general/entity/damage_source.json" },
|
||||
"default": [["all"]],
|
||||
"items": {
|
||||
"$ref": "../../../../general/entity/damage_source.json"
|
||||
},
|
||||
"default": [
|
||||
[
|
||||
"all"
|
||||
]
|
||||
],
|
||||
"description": "The list of Entity Damage Sources that will cause this mob to panic",
|
||||
"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`",
|
||||
"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": {
|
||||
"type": "string",
|
||||
"description": "UNDOCUMENTED",
|
||||
@@ -55,5 +70,15 @@
|
||||
},
|
||||
"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",
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": { "priority": { "$ref": "./types/priority.json" } }
|
||||
"properties": {
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,10 +4,13 @@
|
||||
"type": "object",
|
||||
"title": "Tempt",
|
||||
"additionalProperties": false,
|
||||
|
||||
"properties": {
|
||||
"priority": { "$ref": "types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
||||
"priority": {
|
||||
"$ref": "types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "types/speed_multiplier.json"
|
||||
},
|
||||
"goal_radius": {
|
||||
"type": "number",
|
||||
"default": 0.5,
|
||||
@@ -26,6 +29,20 @@
|
||||
"description": "The distance in blocks from the owner the pet can be to sleep with owner.",
|
||||
"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",
|
||||
"title": "Pickup Items",
|
||||
"properties": {
|
||||
"priority": { "$ref": "types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
||||
"priority": {
|
||||
"$ref": "types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "types/speed_multiplier.json"
|
||||
},
|
||||
"can_pickup_any_item": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
@@ -50,5 +54,16 @@
|
||||
"description": "If true, this mob will chase after the target as long as it's a valid 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",
|
||||
"additionalProperties": false,
|
||||
"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,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "types/priority.json" },
|
||||
"priority": {
|
||||
"$ref": "types/priority.json"
|
||||
},
|
||||
"duration": {
|
||||
"title": "Duration",
|
||||
"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.",
|
||||
"type": "array",
|
||||
"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": {
|
||||
"title": "Damage Sources",
|
||||
"description": "The list of Entity Damage Sources that will cause this mob to start playing dead.",
|
||||
"oneOf": [
|
||||
{ "type": "string", "$ref": "../../../../general/entity/damage_source.json" },
|
||||
{
|
||||
"type": "string",
|
||||
"$ref": "../../../../general/entity/damage_source.json"
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
@@ -53,6 +68,17 @@
|
||||
"description": "Whether the mob will receive the effect of CombatRegeneration while playing dead.",
|
||||
"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",
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": { "priority": { "$ref": "./types/priority.json" } }
|
||||
"properties": {
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,15 +6,29 @@
|
||||
"title": "Raid Garden",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
||||
"priority": {
|
||||
"$ref": "types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "types/speed_multiplier.json"
|
||||
},
|
||||
"blocks": {
|
||||
"type": "array",
|
||||
"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"
|
||||
},
|
||||
"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": {
|
||||
"type": "integer",
|
||||
"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",
|
||||
"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": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
@@ -47,5 +66,17 @@
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"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,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "types/priority.json" },
|
||||
"priority": {
|
||||
"$ref": "types/priority.json"
|
||||
},
|
||||
"baby_knockback_modifier": {
|
||||
"type": "integer",
|
||||
"default": 4,
|
||||
@@ -15,12 +17,25 @@
|
||||
},
|
||||
"cooldown_range": {
|
||||
"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.",
|
||||
"title": "Cooldown Range",
|
||||
"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": {
|
||||
@@ -78,7 +93,31 @@
|
||||
"title": "On Start",
|
||||
"description": "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,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
||||
"priority": {
|
||||
"$ref": "types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "types/speed_multiplier.json"
|
||||
},
|
||||
"cooldown_time": {
|
||||
"type": "number",
|
||||
"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",
|
||||
"title": "Y Distance"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"cooldown_time": 0,
|
||||
"interval": 120,
|
||||
"xz_dist": 10,
|
||||
"y_dist": 7
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -4,11 +4,19 @@
|
||||
"type": "object",
|
||||
"title": "Random Fly",
|
||||
"additionalProperties": false,
|
||||
|
||||
"properties": {
|
||||
"priority": { "$ref": "types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
||||
"avoid_damage_blocks": { "type": "boolean", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Avoid Damage Blocks" },
|
||||
"priority": {
|
||||
"$ref": "types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "types/speed_multiplier.json"
|
||||
},
|
||||
"avoid_damage_blocks": {
|
||||
"type": "boolean",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Avoid Damage Blocks"
|
||||
},
|
||||
"can_land_on_trees": {
|
||||
"type": "boolean",
|
||||
"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",
|
||||
"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",
|
||||
"title": "Random Hover",
|
||||
"additionalProperties": false,
|
||||
|
||||
"properties": {
|
||||
"priority": { "$ref": "types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
||||
"priority": {
|
||||
"$ref": "types/priority.json"
|
||||
},
|
||||
"speed_multiplier": {
|
||||
"$ref": "types/speed_multiplier.json"
|
||||
},
|
||||
"hover_height": {
|
||||
"type": "array",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Hover Height",
|
||||
"items": [{ "type": "number" }, { "type": "number" }]
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"interval": {
|
||||
"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",
|
||||
"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",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"look_time": {
|
||||
"title": "Look Time",
|
||||
"description": "The range of time in seconds the mob will stay looking in a random direction before looking elsewhere",
|
||||
"oneOf": [
|
||||
{ "type": "number" },
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"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",
|
||||
"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