auto: Formatted documents

This commit is contained in:
DaanV2
2021-05-18 23:32:44 +02:00
parent 6963d4eaab
commit 5b784a9cfc
400 changed files with 6276 additions and 1125 deletions

View File

@@ -6,7 +6,12 @@
"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": {
"admire_item_sound": { "type": "string", "default": "", "description": "The sound event to play when admiring the item", "title": "Admire Item Sound" },
"admire_item_sound": {
"type": "string",
"default": "",
"description": "The sound event to play when admiring the item",
"title": "Admire Item Sound"
},
"sound_interval": {
"type": "array",
"default": 0,

View File

@@ -9,7 +9,12 @@
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"max_dist": { "type": "number", "default": 0, "description": "Maximum distance to look for an entity", "title": "Max Dist" },
"max_flee": { "type": "number", "default": 0.5, "description": "Distance in blocks within the mob considers it should stop fleeing.", "title": "Max Flee" },
"max_flee": {
"type": "number",
"default": 0.5,
"description": "Distance in blocks within the mob considers it should stop fleeing.",
"title": "Max Flee"
},
"walk_speed_multiplier": {
"type": "number",
"default": 1.0,

View File

@@ -25,7 +25,11 @@
{ "type": "number" }
]
},
"on_celebration_end_event": { "$ref": "../types/trigger.json", "description": "The event to trigger when the goal's duration expires.", "title": "On Celebration End Event" },
"on_celebration_end_event": {
"$ref": "../types/trigger.json",
"description": "The event to trigger when the goal's duration expires.",
"title": "On Celebration End Event"
},
"sound_interval": {
"type": "array",
"default": 0,

View File

@@ -8,7 +8,12 @@
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"speed_multiplier": { "type": "number", "default": 1.0, "description": "Movement speed multiplier of the mob when using this AI Goal", "title": "Speed Multiplier" },
"speed_multiplier": {
"type": "number",
"default": 1.0,
"description": "Movement speed multiplier of the mob when using this AI Goal",
"title": "Speed Multiplier"
},
"radius_range": {
"$ref": "../types/range_number_type.json",
"default": [5.0, 15.0],

View File

@@ -9,7 +9,12 @@
"priority": { "$ref": "types/base_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, "description": "If true, only entities in this mob's viewing range can be selected as targets", "title": "Must See" },
"must_see": {
"type": "boolean",
"default": false,
"description": "If true, only entities in this mob's viewing range can be selected as targets",
"title": "Must See"
},
"must_see_forget_duration": {
"type": "number",
"default": 3,
@@ -17,7 +22,17 @@
"title": "Must See Forget Duration"
},
"on_defend_start": { "$ref": "../types/event.json", "title": "On Defend Start", "description": "UNDOCUMENTATED" },
"within_radius": { "type": "number", "default": 0, "description": "Distance in blocks that the target can be within to launch an attack", "title": "Within Radius" },
"entity_types": { "type": "object", "description": "List of entity types that this mob considers valid targets", "title": "Entity Types", "additionalProperties": false }
"within_radius": {
"type": "number",
"default": 0,
"description": "Distance in blocks that the target can be within to launch an attack",
"title": "Within Radius"
},
"entity_types": {
"type": "object",
"description": "List of entity types that this mob considers valid targets",
"title": "Entity Types",
"additionalProperties": false
}
}
}

View File

@@ -7,7 +7,11 @@
"description": "Allows the mob to stay in the village and fight mobs hostile to the villagers.",
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"entity_types": { "$ref": "../types/entity_types.json", "description": "List of entity types this mob considers a threat to the village", "title": "TODO Title" },
"entity_types": {
"$ref": "../types/entity_types.json",
"description": "List of entity types this mob considers a threat to the village",
"title": "TODO Title"
},
"must_reach": { "title": "Must Reach", "description": "UNDOCUMENTATED", "type": "boolean" },
"attack_chance": { "title": "Attack Chance", "description": "UNDOCUMENTATED", "type": "number" }
}

View File

@@ -11,7 +11,12 @@
"attack_duration": { "type": "number", "default": 1, "description": "The duration of the attack animation in seconds", "title": "TODO Title" },
"attack_once": { "type": "boolean", "default": false, "description": "If true, this mob will attack only one time.", "title": "TODO Title" },
"attack_types": { "type": "string", "default": "", "description": "Defines the entity types this mob will attack", "title": "TODO Title" },
"hit_delay_pct": { "type": "number", "default": 1, "description": "The percentage of the attack_duration that must pass before the hit is made", "title": "TODO Title" },
"hit_delay_pct": {
"type": "number",
"default": 1,
"description": "The percentage of the attack_duration that must pass before the hit is made",
"title": "TODO Title"
},
"random_stop_interval": {
"type": "integer",
"default": 0,
@@ -26,6 +31,11 @@
},
"require_complete_path": { "type": "boolean", "title": "Require Complet Path", "description": "UNDOCUMENATED" },
"sound_event": { "type": "string", "description": "The sound event to play when the attack starts", "title": "TODO Title" },
"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": "TODO Title" }
"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": "TODO Title"
}
}
}

View File

@@ -26,7 +26,11 @@
"description": "The percent chance (from 0.0 to 1.0) of this potion being selected when searching for a potion to use.",
"title": "Chance"
},
"filters": { "description": "The filters to use when determining if this potion can be selected.", "$ref": "../filters.json", "title": "Filters" }
"filters": {
"description": "The filters to use when determining if this potion can be selected.",
"$ref": "../filters.json",
"title": "Filters"
}
},
"description": "TODO description: potions",
"title": "Potions"

View File

@@ -17,16 +17,29 @@
"title": "TODO Title"
},
"loot_table": { "type": "string", "description": "Loot table to select items from.", "title": "TODO Title" },
"max_dist": { "type": "number", "description": "Maximum distance in blocks this mob will look for entities to drop an item for.", "title": "TODO Title" },
"max_dist": {
"type": "number",
"description": "Maximum distance in blocks this mob will look for entities to drop an item for.",
"title": "TODO Title"
},
"offering_distance": {
"type": "number",
"default": 1.0,
"description": "The distance in blocks the mob will try to be away from the entity when it drops the item.",
"title": "TODO Title"
},
"on_drop_attempt": { "$ref": "../types/event.json", "description": "Event to run when this mob attempts to drop an item.", "title": "TODO Title" },
"on_drop_attempt": {
"$ref": "../types/event.json",
"description": "Event to run when this mob attempts to drop an item.",
"title": "TODO Title"
},
"search_height": { "type": "integer", "default": 1, "description": "Height in blocks from the target the mob can be.", "title": "TODO Title" },
"search_range": { "type": "integer", "default": 0, "description": "The distance in blocks from the target the mob can be.", "title": "TODO Title" },
"search_range": {
"type": "integer",
"default": 0,
"description": "The distance in blocks from the target the mob can be.",
"title": "TODO Title"
},
"time_of_day_range": {
"$ref": "../types/range_number_type.json",
"default": [0.0, 1.0],

View File

@@ -9,7 +9,11 @@
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"on_eat": { "$ref": "../types/trigger.json", "description": "UNDOCUMENTATED", "title": "On Eat" },
"success_chance": { "title": "Succes Chance", "description": "UNDOCUMENTATED", "oneOf": [{ "type": "number" }, { "type": "string", "title": "Molang" }] },
"success_chance": {
"title": "Succes Chance",
"description": "UNDOCUMENTATED",
"oneOf": [{ "type": "number" }, { "type": "string", "title": "Molang" }]
},
"time_until_eat": { "title": "Time Until Eat", "description": "UNDOCUMENTATED", "type": "number" },
"eat_and_replace_block_pairs": {
"type": "array",

View File

@@ -7,6 +7,10 @@
"additionalProperties": false,
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"delay_before_eating": { "type": "number", "description": "Time in seconds the mob should wait before eating the item.", "title": "Delay Before Eating" }
"delay_before_eating": {
"type": "number",
"description": "Time in seconds the mob should wait before eating the item.",
"title": "Delay Before Eating"
}
}
}

View File

@@ -9,7 +9,12 @@
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_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" },
"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": "UNDOCUMENTATED", "description": "UNDOCUMENATED", "type": "integer" },
"next_y": { "title": "UNDOCUMENTATED", "description": "UNDOCUMENATED", "type": "integer" },

View File

@@ -8,6 +8,11 @@
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_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" }
"cooldown_time": {
"type": "number",
"default": 0,
"description": "Time in seconds the mob has to wait before using the goal again",
"title": "Cooldown Time"
}
}
}

View File

@@ -8,15 +8,35 @@
"required": [],
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"avoid_water": { "type": "boolean", "default": false, "description": "If true, the mob will not go into water blocks when going towards a mount", "title": "TODO Title" },
"avoid_water": {
"type": "boolean",
"default": false,
"description": "If true, the mob will not go into water blocks when going towards a mount",
"title": "TODO Title"
},
"mount_distance": {
"type": "number",
"default": -1,
"description": "This is the distance the mob needs to be, in blocks, from the desired mount to mount it. If the value is below 0, the mob will use its default attack distance",
"title": "TODO Title"
},
"start_delay": { "type": "integer", "default": 0, "description": "Time the mob will wait before starting to move towards the mount", "title": "TODO Title" },
"target_needed": { "type": "boolean", "default": false, "description": "If true, the mob will only look for a mount if it has a target", "title": "TODO Title" },
"within_radius": { "type": "number", "default": 0, "description": "Distance in blocks within which the mob will look for a mount", "title": "TODO Title" }
"start_delay": {
"type": "integer",
"default": 0,
"description": "Time the mob will wait before starting to move towards the mount",
"title": "TODO Title"
},
"target_needed": {
"type": "boolean",
"default": false,
"description": "If true, the mob will only look for a mount if it has a target",
"title": "TODO Title"
},
"within_radius": {
"type": "number",
"default": 0,
"description": "Distance in blocks within which the mob will look for a mount",
"title": "TODO Title"
}
}
}

View File

@@ -21,7 +21,12 @@
"title": "Y Dist"
},
"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, "description": "If true, the point has to be reachable to be a valid target", "title": "Must Reach" },
"must_reach": {
"type": "boolean",
"default": false,
"description": "If true, the point has to be reachable to be a valid target",
"title": "Must Reach"
},
"random_reselect": {
"type": "boolean",
"default": false,

View File

@@ -9,7 +9,11 @@
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" },
"entity_types": { "$ref": "../types/entity_types.json", "description": "List of entity types that this mob can follow in a caravan", "title": "TODO Title" },
"entity_types": {
"$ref": "../types/entity_types.json",
"description": "List of entity types that this mob can follow in a caravan",
"title": "TODO Title"
},
"entity_count": { "type": "integer", "description": "Number of entities that can be in the caravan", "default": 1, "title": "TODO Title" }
}
}

View File

@@ -9,7 +9,17 @@
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" },
"search_range": { "type": "integer", "default": 0, "description": "The distance in blocks it will look for a mob to follow", "title": "TODO Title" },
"stop_distance": { "type": "number", "default": 2, "description": "The distance in blocks this mob stops from the mob it is following", "title": "TODO Title" }
"search_range": {
"type": "integer",
"default": 0,
"description": "The distance in blocks it will look for a mob to follow",
"title": "TODO Title"
},
"stop_distance": {
"type": "number",
"default": 2,
"description": "The distance in blocks this mob stops from the mob it is following",
"title": "TODO Title"
}
}
}

View File

@@ -15,6 +15,11 @@
"description": "The distance in blocks that the owner can be away from this mob before it starts following it",
"title": "TODO Title"
},
"stop_distance": { "type": "number", "default": 2, "description": "The distance in blocks this mob will stop from its owner while following it", "title": "TODO Title" }
"stop_distance": {
"type": "number",
"default": 2,
"description": "The distance in blocks this mob will stop from its owner while following it",
"title": "TODO Title"
}
}
}

View File

@@ -7,9 +7,19 @@
"additionalProperties": false,
"properties": {
"priority": { "$ref": "types/base_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": {
"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" },
"min_radius": { "type": "number", "default": 10.0, "description": "Minimum distance the target must be for the mob to run this goal.", "title": "Min Radius" },
"min_radius": {
"type": "number",
"default": 10.0,
"description": "Minimum distance the target must be for the mob to run this goal.",
"title": "Min Radius"
},
"within_radius_event": {
"$ref": "../types/event.json",
"description": "Event to run when target is within the radius. This event is broadcasted if broadcast is true.",

View File

@@ -9,7 +9,17 @@
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"entity_types": { "$ref": "../types/entity_types.json", "description": "TODO description: entity types", "title": "Entity Types" },
"alert_same_type": { "type": "boolean", "default": false, "description": "If true, nearby mobs of the same type will be alerted about the damage", "title": "Alert Same Type" },
"hurt_owner": { "type": "boolean", "default": false, "description": "If true, the mob will hurt its owner and other mobs with the same owner as itself", "title": "Hurt Owner" }
"alert_same_type": {
"type": "boolean",
"default": false,
"description": "If true, nearby mobs of the same type will be alerted about the damage",
"title": "Alert Same Type"
},
"hurt_owner": {
"type": "boolean",
"default": false,
"description": "If true, the mob will hurt its owner and other mobs with the same owner as itself",
"title": "Hurt Owner"
}
}
}

View File

@@ -22,6 +22,11 @@
"title": "TODO Title"
},
"search_height": { "type": "integer", "default": 1, "description": "The height that the mob will search for bookshelves", "title": "TODO Title" },
"search_range": { "type": "integer", "default": 0, "description": "Distance in blocks the mob will look for books to inspect", "title": "TODO Title" }
"search_range": {
"type": "integer",
"default": 0,
"description": "Distance in blocks the mob will look for books to inspect",
"title": "TODO Title"
}
}
}

View File

@@ -8,8 +8,18 @@
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"attack_time": { "type": "number", "default": 0.5, "description": "The delay after which the knockback occurs (in seconds).", "title": "TODO Title" },
"cooldown_time": { "type": "number", "default": 0, "description": "Time in seconds the mob has to wait before using the goal again", "title": "TODO Title" },
"attack_time": {
"type": "number",
"default": 0.5,
"description": "The delay after which the knockback occurs (in seconds).",
"title": "TODO Title"
},
"cooldown_time": {
"type": "number",
"default": 0,
"description": "Time in seconds the mob has to wait before using the goal again",
"title": "TODO Title"
},
"duration": { "type": "number", "default": 1, "description": "The duration of the roar (in seconds).", "title": "TODO Title" },
"knockback_damage": { "type": "integer", "default": 6, "description": "The damage dealt by the knockback roar.", "title": "TODO Title" },
"knockback_range": { "type": "integer", "default": 4, "description": "The radius (in blocks) of the knockback effect.", "title": "TODO Title" },

View File

@@ -16,7 +16,17 @@
"title": "TODO Title"
},
"on_lay": { "$ref": "../types/event.json", "description": "Event to run when this mob lays the egg.", "title": "TODO Title" },
"search_height": { "type": "integer", "default": 1, "description": "Height in blocks the mob will look for sand block to move towards", "title": "TODO Title" },
"search_range": { "type": "integer", "default": 0, "description": "The distance in blocks it will look for a sand block to move towards", "title": "TODO Title" }
"search_height": {
"type": "integer",
"default": 1,
"description": "Height in blocks the mob will look for sand block to move towards",
"title": "TODO Title"
},
"search_range": {
"type": "integer",
"default": 0,
"description": "The distance in blocks it will look for a sand block to move towards",
"title": "TODO Title"
}
}
}

View File

@@ -14,7 +14,12 @@
"description": "If true, the mob will only jump at its target if its on the ground. Setting it to false will allow it to jump even if its already in the air",
"title": "TODO Title"
},
"set_persistent": { "type": "boolean", "default": false, "description": "Allows the actor to be set to persist upon targeting a player", "title": "TODO Title" },
"set_persistent": {
"type": "boolean",
"default": false,
"description": "Allows the actor to be set to persist upon targeting a player",
"title": "TODO Title"
},
"yd": { "type": "number", "default": 0, "description": "The height in blocks the mob jumps when leaping at its target", "title": "TODO Title" }
}
}

View File

@@ -8,9 +8,24 @@
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"look_distance": { "type": "number", "default": 8.0, "description": "The distance in blocks from which the entity will look at", "title": "Look Distance" },
"probability": { "type": "number", "default": 0.02, "description": "The probability of looking at the target. A value of 1.00 is 100%", "title": "Probability" },
"look_time": { "$ref": "../types/range_number_type.json", "default": [2, 4], "description": "Time range to look at the entity", "title": "Look Time" },
"look_distance": {
"type": "number",
"default": 8.0,
"description": "The distance in blocks from which the entity will look at",
"title": "Look Distance"
},
"probability": {
"type": "number",
"default": 0.02,
"description": "The probability of looking at the target. A value of 1.00 is 100%",
"title": "Probability"
},
"look_time": {
"$ref": "../types/range_number_type.json",
"default": [2, 4],
"description": "Time range to look at the entity",
"title": "Look Time"
},
"angle_of_view_vertical": {
"type": "integer",
"default": 360,
@@ -23,6 +38,10 @@
"description": "The angle in degrees that the mob can see in the Y-axis (up-down)",
"title": "Angle Of View Horizontal"
},
"filters": { "description": "Filter to determine the conditions for this mob to look at the entity", "$ref": "../filters.json", "title": "Filters" }
"filters": {
"description": "Filter to determine the conditions for this mob to look at the entity",
"$ref": "../filters.json",
"title": "Filters"
}
}
}

View File

@@ -20,8 +20,19 @@
"description": "The angle in degrees that the mob can see in the Y-axis (up-down)",
"title": "Angle Of View Horizontal"
},
"look_distance": { "type": "number", "default": 8.0, "description": "The distance in blocks from which the entity will look at", "title": "Look Distance" },
"probability": { "type": "number", "default": 0.02, "minimum": 0, "description": "The probability of looking at the target. A value of 1.00 is 100%", "title": "Probability" },
"look_distance": {
"type": "number",
"default": 8.0,
"description": "The distance in blocks from which the entity will look at",
"title": "Look Distance"
},
"probability": {
"type": "number",
"default": 0.02,
"minimum": 0,
"description": "The probability of looking at the target. A value of 1.00 is 100%",
"title": "Probability"
},
"look_time": {
"type": "array",
"default": [2, 4],

View File

@@ -8,9 +8,24 @@
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"look_distance": { "type": "number", "default": 8.0, "description": "The distance in blocks from which the entity will look at", "title": "Look Distance" },
"probability": { "type": "number", "default": 0.02, "description": "The probability of looking at the target. A value of 1.00 is 100%", "title": "Probability" },
"look_time": { "$ref": "../types/range_number_type.json", "default": [2, 4], "description": "Time range to look at the entity", "title": "Look Time" },
"look_distance": {
"type": "number",
"default": 8.0,
"description": "The distance in blocks from which the entity will look at",
"title": "Look Distance"
},
"probability": {
"type": "number",
"default": 0.02,
"description": "The probability of looking at the target. A value of 1.00 is 100%",
"title": "Probability"
},
"look_time": {
"$ref": "../types/range_number_type.json",
"default": [2, 4],
"description": "Time range to look at the entity",
"title": "Look Time"
},
"angle_of_view_vertical": {
"type": "integer",
"default": 360,

View File

@@ -8,9 +8,24 @@
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"look_distance": { "type": "number", "default": 8.0, "description": "The distance in blocks from which the entity will look at", "title": "Look Distance" },
"probability": { "type": "number", "default": 0.02, "description": "The probability of looking at the target. A value of 1.00 is 100%", "title": "Probability" },
"look_time": { "$ref": "../types/range_number_type.json", "default": [2, 4], "description": "Time range to look at the entity", "title": "Look Time" },
"look_distance": {
"type": "number",
"default": 8.0,
"description": "The distance in blocks from which the entity will look at",
"title": "Look Distance"
},
"probability": {
"type": "number",
"default": 0.02,
"description": "The probability of looking at the target. A value of 1.00 is 100%",
"title": "Probability"
},
"look_time": {
"$ref": "../types/range_number_type.json",
"default": [2, 4],
"description": "Time range to look at the entity",
"title": "Look Time"
},
"angle_of_view_vertical": {
"type": "integer",
"default": 360,

View File

@@ -16,7 +16,12 @@
"description": "The allowable FOV the actor will use to determine if it can make a valid melee attack",
"title": "Melee Fov"
},
"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" },
"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"
},
"attack_types": { "type": "string", "description": "Defines the entity types this mob will attack", "title": "Attack Types" },
"random_stop_interval": {
"type": "integer",

View File

@@ -9,8 +9,18 @@
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_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" },
"duration": { "type": "number", "default": 1, "description": "Amount of time in seconds that the entity will chat with another entity", "title": "Duration" },
"cooldown_time": {
"type": "number",
"default": 0,
"description": "Time in seconds the mob has to wait before using the goal again",
"title": "Cooldown Time"
},
"duration": {
"type": "number",
"default": 1,
"description": "Amount of time in seconds that the entity will chat with another entity",
"title": "Duration"
},
"mingle_distance": {
"type": "number",
"default": 2.0,
@@ -20,7 +30,10 @@
"mingle_partner_type": {
"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" }]
"oneOf": [
{ "type": "array", "items": { "description": "The entity type that this entity is allowed to mingle with", "type": "string" } },
{ "type": "string" }
]
}
}
}

View File

@@ -9,7 +9,17 @@
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" },
"target_dist": { "type": "number", "default": 0.0, "description": "The distance at which this mob wants to be away from its target", "title": "Target Dist" },
"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" }
"target_dist": {
"type": "number",
"default": 0.0,
"description": "The distance at which this mob wants to be away from its target",
"title": "Target Dist"
},
"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"
}
}
}

View File

@@ -9,6 +9,11 @@
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"speed_multiplier": { "$ref": "./types/base_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" }
"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"
}
}
}

View File

@@ -15,9 +15,19 @@
"goal_radius": { "type": "number", "title": "Goal Radius", "description": "UNDOCUMENTATED" },
"stay_duration": { "type": "number", "title": "Stay Duration", "description": "UNDOCUMENTATED" },
"target_selection_method": { "type": "string", "title": "Target Selection Method", "description": "UNDOCUMENTATED" },
"target_offset": { "type": "array", "title": "Target Offset", "description": "UNDOCUMENTATED", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
"target_offset": {
"type": "array",
"title": "Target Offset",
"description": "UNDOCUMENTATED",
"items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }]
},
"target_blocks": { "type": "array", "title": "Target Blocks", "description": "UNDOCUMENTATED", "items": { "type": "string" } },
"on_stay_completed": { "type": "array", "title": "On Stay Completed", "description": "UNDOCUMENTATED", "items": { "$ref": "../types/event.json" } },
"on_stay_completed": {
"type": "array",
"title": "On Stay Completed",
"description": "UNDOCUMENTATED",
"items": { "$ref": "../types/event.json" }
},
"on_reach": { "type": "array", "title": "On Reach", "description": "UNDOCUMENTATED", "items": { "$ref": "../types/event.json" } }
}
}

View File

@@ -21,7 +21,17 @@
"description": "The number of blocks each tick that the mob will check within it's search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick",
"title": "TODO Title"
},
"search_height": { "type": "integer", "default": 1, "description": "Height in blocks the mob will look for land to move towards", "title": "TODO Title" },
"search_range": { "type": "integer", "default": 0, "description": "The distance in blocks it will look for land to move towards", "title": "TODO Title" }
"search_height": {
"type": "integer",
"default": 1,
"description": "Height in blocks the mob will look for land to move towards",
"title": "TODO Title"
},
"search_range": {
"type": "integer",
"default": 0,
"description": "The distance in blocks it will look for land to move towards",
"title": "TODO Title"
}
}
}

View File

@@ -20,7 +20,17 @@
"description": "The number of blocks each tick that the mob will check within it's search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick",
"title": "Search Count"
},
"search_height": { "type": "integer", "default": 1, "description": "Height in blocks the mob will look for lava to move towards", "title": "Search Height" },
"search_range": { "type": "integer", "default": 0, "description": "The distance in blocks it will look for lava to move towards", "title": "Search Range" }
"search_height": {
"type": "integer",
"default": 1,
"description": "Height in blocks the mob will look for lava to move towards",
"title": "Search Height"
},
"search_range": {
"type": "integer",
"default": 0,
"description": "The distance in blocks it will look for lava to move towards",
"title": "Search Range"
}
}
}

View File

@@ -20,8 +20,18 @@
"description": "The number of blocks each tick that the mob will check within it's search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick",
"title": "Search Count"
},
"search_height": { "type": "integer", "default": 1, "description": "Height in blocks the mob will look for lava to move towards", "title": "Search Height" },
"search_range": { "type": "integer", "default": 0, "description": "The distance in blocks it will look for lava to move towards", "title": "Search Range" },
"search_height": {
"type": "integer",
"default": 1,
"description": "Height in blocks the mob will look for lava to move towards",
"title": "Search Height"
},
"search_range": {
"type": "integer",
"default": 0,
"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" }
}
}

View File

@@ -9,7 +9,12 @@
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" },
"cooldown_time": { "type": "number", "default": 0, "description": "Time in seconds the mob has to wait before using the goal again", "title": "TODO Title" },
"cooldown_time": {
"type": "number",
"default": 0,
"description": "Time in seconds the mob has to wait before using the goal again",
"title": "TODO Title"
},
"goal_radius": {
"type": "number",
"default": 0.5,

View File

@@ -9,8 +9,18 @@
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" },
"search_range": { "type": "integer", "default": 0, "description": "The distance in blocks it will look for water to move towards", "title": "Search Range" },
"search_height": { "type": "integer", "default": 1, "description": "Height in blocks the mob will look for water to move towards", "title": "Search Height" },
"search_range": {
"type": "integer",
"default": 0,
"description": "The distance in blocks it will look for water to move towards",
"title": "Search Range"
},
"search_height": {
"type": "integer",
"default": 1,
"description": "Height in blocks the mob will look for water to move towards",
"title": "Search Height"
},
"search_count": {
"type": "integer",
"default": 10,

View File

@@ -8,8 +8,18 @@
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" },
"cooldown_max": { "type": "number", "default": 0, "description": "Maximum time in seconds the mob has to wait before using the goal again", "title": "Cooldown Max" },
"cooldown_min": { "type": "number", "default": 0, "description": "Minimum time in seconds the mob has to wait before using the goal again", "title": "Cooldown Min" },
"cooldown_max": {
"type": "number",
"default": 0,
"description": "Maximum time in seconds the mob has to wait before using the goal again",
"title": "Cooldown Max"
},
"cooldown_min": {
"type": "number",
"default": 0,
"description": "Minimum time in seconds the mob has to wait before using the goal again",
"title": "Cooldown Min"
},
"mob_detect_dist": {
"type": "number",
"default": 6,

View File

@@ -8,10 +8,24 @@
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"entity_types": { "description": "List of entity types that this mob considers valid targets", "$ref": "../types/entity_types.json", "title": "TODO Title" },
"entity_types": {
"description": "List of entity types that this mob considers valid targets",
"$ref": "../types/entity_types.json",
"title": "TODO Title"
},
"attack_interval": { "type": "integer", "default": 0, "description": "Time in seconds between attacks", "title": "TODO Title" },
"must_reach": { "type": "boolean", "default": false, "description": "If true, only entities that this mob can path to can be selected as targets", "title": "TODO Title" },
"must_see": { "type": "boolean", "default": false, "description": "If true, only entities in this mob's viewing range can be selected as targets", "title": "TODO Title" },
"must_reach": {
"type": "boolean",
"default": false,
"description": "If true, only entities that this mob can path to can be selected as targets",
"title": "TODO Title"
},
"must_see": {
"type": "boolean",
"default": false,
"description": "If true, only entities in this mob's viewing range can be selected as targets",
"title": "TODO Title"
},
"must_see_forget_duration": {
"type": "number",
"default": 3,
@@ -30,13 +44,23 @@
"description": "If true, the target will change to the current closest entity whenever a different entity is closer",
"title": "TODO Title"
},
"scan_interval": { "type": "integer", "default": 10, "description": "How many ticks to wait between scanning for a target.", "title": "TODO Title" },
"scan_interval": {
"type": "integer",
"default": 10,
"description": "How many ticks to wait between scanning for a target.",
"title": "TODO Title"
},
"target_search_height": {
"type": "number",
"default": -1.0,
"description": "Height in blocks to search for a target mob. -1.0f means the height does not matter.",
"title": "TODO Title"
},
"within_radius": { "type": "number", "default": 0, "description": "Distance in blocks that the target can be within to launch an attack", "title": "TODO Title" }
"within_radius": {
"type": "number",
"default": 0,
"description": "Distance in blocks that the target can be within to launch an attack",
"title": "TODO Title"
}
}
}

View File

@@ -8,10 +8,24 @@
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"entity_types": { "description": "List of entity types that this mob considers valid targets", "title": "Entity Types", "$ref": "../types/entity_types.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" },
"must_reach": { "type": "boolean", "default": false, "description": "If true, only entities that this mob can path to can be selected as targets", "title": "Must Reach" },
"must_see": { "type": "boolean", "default": false, "description": "If true, only entities in this mob's viewing range can be selected as targets", "title": "Must See" },
"must_reach": {
"type": "boolean",
"default": false,
"description": "If true, only entities that this mob can path to can be selected as targets",
"title": "Must Reach"
},
"must_see": {
"type": "boolean",
"default": false,
"description": "If true, only entities in this mob's viewing range can be selected as targets",
"title": "Must See"
},
"must_see_forget_duration": {
"type": "number",
"default": 3,
@@ -30,14 +44,29 @@
"description": "If true, the target will change to the current closest entity whenever a different entity is closer",
"title": "Reselect Targets"
},
"scan_interval": { "type": "integer", "default": 10, "description": "How many ticks to wait between scanning for a target.", "title": "Scan Interval" },
"set_persistent": { "type": "boolean", "default": false, "description": "Allows the actor to be set to persist upon targeting a player", "title": "Set Persistent" },
"scan_interval": {
"type": "integer",
"default": 10,
"description": "How many ticks to wait between scanning for a target.",
"title": "Scan Interval"
},
"set_persistent": {
"type": "boolean",
"default": false,
"description": "Allows the actor to be set to persist upon targeting a player",
"title": "Set Persistent"
},
"target_search_height": {
"type": "number",
"default": -1.0,
"description": "Height in blocks to search for a target mob. -1.0f means the height does not matter.",
"title": "Target Search Height"
},
"within_radius": { "type": "number", "default": 0, "description": "Distance in blocks that the target can be within to launch an attack", "title": "Within Radius" }
"within_radius": {
"type": "number",
"default": 0,
"description": "Distance in blocks that the target can be within to launch an attack",
"title": "Within Radius"
}
}
}

View File

@@ -8,7 +8,12 @@
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"walk_speed_multiplier": { "type": "number", "default": 1.0, "description": "Multiplier for the walking speed while using this attack", "title": "Walk Speed Multiplier" },
"walk_speed_multiplier": {
"type": "number",
"default": 1.0,
"description": "Multiplier for the walking speed while using this attack",
"title": "Walk Speed Multiplier"
},
"sprint_speed_multiplier": {
"type": "number",
"default": 1.0,

View File

@@ -8,6 +8,10 @@
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"entity_types": { "$ref": "../types/entity_types.json", "description": "List of entity types that this mob can target if they hurt their owner", "title": "TODO Title" }
"entity_types": {
"$ref": "../types/entity_types.json",
"description": "List of entity types that this mob can target if they hurt their owner",
"title": "TODO Title"
}
}
}

View File

@@ -15,7 +15,17 @@
"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": "TODO Title"
},
"search_height": { "type": "integer", "default": 1, "description": "Height in blocks from the owner the pet can be to sleep with owner.", "title": "TODO Title" },
"search_range": { "type": "integer", "default": 0, "description": "The distance in blocks from the owner the pet can be to sleep with owner.", "title": "TODO Title" }
"search_height": {
"type": "integer",
"default": 1,
"description": "Height in blocks from the owner the pet can be to sleep with owner.",
"title": "TODO Title"
},
"search_range": {
"type": "integer",
"default": 0,
"description": "The distance in blocks from the owner the pet can be to sleep with owner.",
"title": "TODO Title"
}
}
}

View File

@@ -16,6 +16,11 @@
"title": "TODO Title"
},
"max_dist": { "type": "number", "default": 0, "description": "Maximum distance this mob will look for items to pick up", "title": "TODO Title" },
"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": "TODO Title" }
"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": "TODO Title"
}
}
}

View File

@@ -16,8 +16,18 @@
"title": "TODO Title"
},
"eat_delay": { "type": "integer", "default": 2, "description": "Time in seconds between each time it eats", "title": "TODO Title" },
"full_delay": { "type": "integer", "default": 100, "description": "Amount of time in seconds before this mob wants to eat again", "title": "TODO Title" },
"initial_eat_delay": { "type": "integer", "default": 0, "description": "Time in seconds before starting to eat/raid once it arrives at it", "title": "Initial Eat Delay" },
"full_delay": {
"type": "integer",
"default": 100,
"description": "Amount of time in seconds before this mob wants to eat again",
"title": "TODO Title"
},
"initial_eat_delay": {
"type": "integer",
"default": 0,
"description": "Time in seconds before starting to eat/raid once it arrives at it",
"title": "Initial Eat Delay"
},
"goal_radius": {
"type": "number",
"default": 0.5,
@@ -25,7 +35,12 @@
"title": "TODO Title"
},
"max_to_eat": { "type": "integer", "default": 6, "description": "Maximum number of things this entity wants to eat", "title": "TODO Title" },
"search_range": { "type": "integer", "default": 0, "description": "Distance in blocks the mob will look for crops to eat", "title": "TODO Title" },
"search_range": {
"type": "integer",
"default": 0,
"description": "Distance in blocks the mob will look for crops to eat",
"title": "TODO Title"
},
"search_height": { "type": "integer", "default": 0, "description": "UNDOCUMENTATED", "title": "TODO Title" }
}
}

View File

@@ -9,7 +9,12 @@
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" },
"cooldown_time": { "type": "number", "default": 0, "description": "Time in seconds the mob has to wait before using the goal again", "title": "TODO Title" },
"cooldown_time": {
"type": "number",
"default": 0,
"description": "Time in seconds the mob has to wait before using the goal again",
"title": "TODO Title"
},
"interval": {
"type": "integer",
"default": 120,

View File

@@ -8,7 +8,12 @@
"required": [],
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"can_land_on_trees": { "type": "boolean", "default": true, "description": "If true, the mob can stop flying and land on a tree instead of the ground", "title": "TODO Title" },
"can_land_on_trees": {
"type": "boolean",
"default": true,
"description": "If true, the mob can stop flying and land on a tree instead of the ground",
"title": "TODO Title"
},
"xz_dist": {
"type": "integer",
"default": 10,

View File

@@ -9,7 +9,12 @@
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" },
"hover_height": { "type": "array", "description": "UNDOCUMENTATED", "title": "Hover Height", "items": [{ "type": "number" }, { "type": "number" }] },
"hover_height": {
"type": "array",
"description": "UNDOCUMENTATED",
"title": "Hover Height",
"items": [{ "type": "number" }, { "type": "number" }]
},
"interval": {
"type": "integer",
"default": 120,

View File

@@ -8,14 +8,24 @@
"required": [],
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"max_look_count": { "type": "integer", "default": 2, "description": "The max amount of unique looks a mob will have while looking around.", "title": "Max Look Count" },
"max_look_count": {
"type": "integer",
"default": 2,
"description": "The max amount of unique looks a mob will have while looking around.",
"title": "Max Look Count"
},
"max_look_time": {
"type": "integer",
"default": 40,
"description": "The max amount of time (in ticks) a mob will stay looking at a direction while looking around.",
"title": "Max Look Time"
},
"min_look_count": { "type": "integer", "default": 1, "description": "The min amount of unique looks a mob will have while looking around.", "title": "Min Look Count" },
"min_look_count": {
"type": "integer",
"default": 1,
"description": "The min amount of unique looks a mob will have while looking around.",
"title": "Min Look Count"
},
"min_look_time": {
"type": "integer",
"default": 20,

View File

@@ -9,10 +9,35 @@
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" },
"cooldown": { "type": "number", "default": 0, "description": "Time in seconds the mob has to wait before using the goal again", "title": "Cooldown" },
"cooldown_time": { "type": "number", "default": 0, "description": "Time in seconds the mob has to wait before using the goal again", "title": "Cooldown Time" },
"min_sit_time": { "type": "number", "default": 10, "description": "The minimum amount of time in seconds before the mob can stand back up", "title": "Min Sit Time" },
"start_chance": { "type": "number", "default": 0.1, "description": "This is the chance that the mob will start this goal, from 0 to 1", "title": "Start Chance" },
"stop_chance": { "type": "number", "default": 0.3, "description": "This is the chance that the mob will stop this goal, from 0 to 1", "title": "Stop Chance" }
"cooldown": {
"type": "number",
"default": 0,
"description": "Time in seconds the mob has to wait before using the goal again",
"title": "Cooldown"
},
"cooldown_time": {
"type": "number",
"default": 0,
"description": "Time in seconds the mob has to wait before using the goal again",
"title": "Cooldown Time"
},
"min_sit_time": {
"type": "number",
"default": 10,
"description": "The minimum amount of time in seconds before the mob can stand back up",
"title": "Min Sit Time"
},
"start_chance": {
"type": "number",
"default": 0.1,
"description": "This is the chance that the mob will start this goal, from 0 to 1",
"title": "Start Chance"
},
"stop_chance": {
"type": "number",
"default": 0.3,
"description": "This is the chance that the mob will stop this goal, from 0 to 1",
"title": "Stop Chance"
}
}
}

View File

@@ -8,7 +8,12 @@
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" },
"avoid_surface": { "type": "boolean", "default": true, "description": "If true, the mob will avoid surface water blocks by swimming below them", "title": "TODO Title" },
"avoid_surface": {
"type": "boolean",
"default": true,
"description": "If true, the mob will avoid surface water blocks by swimming below them",
"title": "TODO Title"
},
"interval": {
"type": "integer",
"default": 120,

View File

@@ -34,7 +34,12 @@
"description": "Amount of time in seconds between each individual shot when firing multiple shots per attack",
"title": "TODO Title"
},
"burst_shots": { "type": "integer", "default": 1, "description": "Number of shots fired every time the mob uses a charged attack", "title": "TODO Title" },
"burst_shots": {
"type": "integer",
"default": 1,
"description": "Number of shots fired every time the mob uses a charged attack",
"title": "TODO Title"
},
"charge_charged_trigger": {
"type": "number",
"default": 0,

View File

@@ -16,6 +16,11 @@
"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": "TODO Title"
},
"max_dist": { "type": "number", "default": 0, "description": "Maximum distance in blocks this mob will look for entities to share items with", "title": "TODO Title" }
"max_dist": {
"type": "number",
"default": 0,
"description": "Maximum distance in blocks this mob will look for entities to share items with",
"title": "TODO Title"
}
}
}

View File

@@ -14,6 +14,11 @@
"description": "Amount of time in seconds the trap exists. After this amount of time is elapsed, the trap is removed from the world if it hasn't been activated",
"title": "TODO Title"
},
"within_radius": { "type": "number", "default": 0, "description": "Distance in blocks that the player has to be within to trigger the horse trap", "title": "TODO Title" }
"within_radius": {
"type": "number",
"default": 0,
"description": "Distance in blocks that the player has to be within to trigger the horse trap",
"title": "TODO Title"
}
}
}

View File

@@ -9,11 +9,31 @@
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_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" },
"cooldown_time": {
"type": "number",
"default": 0,
"description": "Time in seconds the mob has to wait before using the goal again",
"title": "Cooldown Time"
},
"goal_radius": { "type": "number", "default": 0, "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" },
"sleep_collider_height": { "type": "number", "default": 1, "description": "The height of the mob's collider while sleeping", "title": "Sleep Collider Height" },
"sleep_collider_width": { "type": "number", "default": 1, "description": "The width of the mob's collider while sleeping", "title": "Sleep Collider Width" },
"sleep_y_offset": { "type": "number", "default": 1, "description": "The y offset of the mob's collider while sleeping", "title": "Sleep Y Offset" },
"sleep_collider_height": {
"type": "number",
"default": 1,
"description": "The height of the mob's collider while sleeping",
"title": "Sleep Collider Height"
},
"sleep_collider_width": {
"type": "number",
"default": 1,
"description": "The width of the mob's collider while sleeping",
"title": "Sleep Collider Width"
},
"sleep_y_offset": {
"type": "number",
"default": 1,
"description": "The y offset of the mob's collider while sleeping",
"title": "Sleep Y Offset"
},
"timeout_cooldown": {
"type": "number",
"default": 8,

View File

@@ -8,6 +8,11 @@
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"set_persistent": { "type": "boolean", "default": false, "description": "Allows the actor to be set to persist upon targeting a player", "title": "TODO Title" }
"set_persistent": {
"type": "boolean",
"default": false,
"description": "Allows the actor to be set to persist upon targeting a player",
"title": "TODO Title"
}
}
}

View File

@@ -8,9 +8,29 @@
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"items": { "type": "array", "description": "Items that we are interested in snacking on", "$ref": "../../../../general/item/identifier.json", "title": "TODO Title" },
"snacking_cooldown": { "type": "number", "default": 7.5, "description": "The cooldown time in seconds before the mob is able to snack again", "title": "TODO Title" },
"snacking_cooldown_min": { "type": "number", "default": 0.5, "description": "The minimum time in seconds before the mob is able to snack again", "title": "TODO Title" },
"snacking_stop_chance": { "type": "number", "default": 0.0017, "description": "This is the chance that the mob will stop snacking, from 0 to 1", "title": "TODO Title" }
"items": {
"type": "array",
"description": "Items that we are interested in snacking on",
"$ref": "../../../../general/item/identifier.json",
"title": "TODO Title"
},
"snacking_cooldown": {
"type": "number",
"default": 7.5,
"description": "The cooldown time in seconds before the mob is able to snack again",
"title": "TODO Title"
},
"snacking_cooldown_min": {
"type": "number",
"default": 0.5,
"description": "The minimum time in seconds before the mob is able to snack again",
"title": "TODO Title"
},
"snacking_stop_chance": {
"type": "number",
"default": 0.0017,
"description": "This is the chance that the mob will stop snacking, from 0 to 1",
"title": "TODO Title"
}
}
}

View File

@@ -8,18 +8,44 @@
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"cooldown_time": { "type": "number", "default": 0, "description": "Time in seconds the mob has to wait before using the goal again", "title": "TODO Title" },
"drop_item_chance": { "type": "number", "default": 1, "description": "The probability that the mob will drop an item when it sneezes.", "title": "TODO Title" },
"entity_types": { "$ref": "../types/entity_types.json", "description": "List of entity types this mob will startle (cause to jump) when it sneezes.", "title": "TODO Title" },
"cooldown_time": {
"type": "number",
"default": 0,
"description": "Time in seconds the mob has to wait before using the goal again",
"title": "TODO Title"
},
"drop_item_chance": {
"type": "number",
"default": 1,
"description": "The probability that the mob will drop an item when it sneezes.",
"title": "TODO Title"
},
"entity_types": {
"$ref": "../types/entity_types.json",
"description": "List of entity types this mob will startle (cause to jump) when it sneezes.",
"title": "TODO Title"
},
"loot_table": { "type": "string", "default": "", "description": "Loot table to select dropped items from.", "title": "Loot Table" },
"prepare_sound": { "type": "string", "default": "", "description": "Sound to play when the sneeze is about to happen.", "title": "Prepare Sound" },
"prepare_sound": {
"type": "string",
"default": "",
"description": "Sound to play when the sneeze is about to happen.",
"title": "Prepare Sound"
},
"prepare_time": {
"type": "number",
"default": 1,
"description": "The time in seconds that the mob takes to prepare to sneeze (while the prepare_sound is playing).",
"title": "Prepare Time"
},
"probability": { "type": "number", "default": 0.02, "minimum": 0, "maximum": 1, "description": "The probability of sneezing. A value of 1.00 is 100%", "title": "Probability" },
"probability": {
"type": "number",
"default": 0.02,
"minimum": 0,
"maximum": 1,
"description": "The probability of sneezing. A value of 1.00 is 100%",
"title": "Probability"
},
"sound": { "type": "string", "default": "", "description": "Sound to play when the sneeze occurs.", "title": "Sound" },
"within_radius": { "type": "number", "default": 0, "description": "Distance in blocks that mobs will be startled.", "title": "Within Radius" }
}

View File

@@ -14,8 +14,18 @@
"description": "The amount of time the mob will be interested before pouncing. This happens when the mob is within range of pouncing",
"title": "Interest Time"
},
"leap_distance": { "type": "number", "default": 0.8, "description": "The distance in blocks the mob jumps in the direction of its target", "title": "Leap Distance" },
"leap_height": { "type": "number", "default": 0.9, "description": "The height in blocks the mob jumps when leaping at its target", "title": "Leap Height" },
"leap_distance": {
"type": "number",
"default": 0.8,
"description": "The distance in blocks the mob jumps in the direction of its target",
"title": "Leap Distance"
},
"leap_height": {
"type": "number",
"default": 0.9,
"description": "The height in blocks the mob jumps when leaping at its target",
"title": "Leap Height"
},
"max_stalk_dist": {
"type": "number",
"default": 10,
@@ -28,7 +38,12 @@
"description": "The maximum distance away from the target in blocks to begin pouncing at the target",
"title": "Pounce Max Dist"
},
"set_persistent": { "type": "boolean", "default": false, "description": "Allows the actor to be set to persist upon targeting a player", "title": "Set Persistent" },
"set_persistent": {
"type": "boolean",
"default": false,
"description": "Allows the actor to be set to persist upon targeting a player",
"title": "Set Persistent"
},
"stalk_speed": { "type": "number", "default": 1.2, "description": "The movement speed in which you stalk your target", "title": "Stalk Speed" },
"strike_dist": {
"type": "number",

View File

@@ -11,7 +11,12 @@
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" },
"attack_once": { "type": "boolean", "default": false, "description": "If true, this mob will attack only one time.", "title": "TODO Title" },
"attack_types": { "type": "string", "default": "", "description": "Defines the entity types this mob will attack", "title": "TODO Title" },
"probability": { "type": "number", "default": 0.02, "description": "The probability of sneezing. A value of 1.00 is 100%", "title": "TODO Title" },
"probability": {
"type": "number",
"default": 0.02,
"description": "The probability of sneezing. A value of 1.00 is 100%",
"title": "TODO Title"
},
"random_stop_interval": {
"type": "integer",
"default": 0,
@@ -24,9 +29,19 @@
"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": "TODO Title"
},
"require_complete_path": { "type": "boolean", "default": false, "description": "If true, this goal will only trigger if the mob can reach its target.", "title": "TODO Title" },
"require_complete_path": {
"type": "boolean",
"default": false,
"description": "If true, this goal will only trigger if the mob can reach its target.",
"title": "TODO Title"
},
"sound": { "type": "string", "description": "Sound to play when the sneeze occurs.", "title": "TODO Title" },
"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": "TODO Title" },
"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": "TODO Title"
},
"stomp_range_multiplier": { "type": "number", "title": "Stomp Range Multiplier", "description": "UNDOCUMENTATED" },
"no_damage_range_multiplier": { "type": "number", "title": "No Damage Range Multiplier", "description": "UNDOCUMENTATED" }
}

View File

@@ -21,7 +21,17 @@
"description": "A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal",
"title": "TODO Title"
},
"search_height": { "type": "integer", "default": 1, "description": "Height in blocks the mob will look for turtle eggs to move towards", "title": "TODO Title" },
"search_range": { "type": "integer", "default": 0, "description": "The distance in blocks it will look for turtle eggs to move towards", "title": "TODO Title" }
"search_height": {
"type": "integer",
"default": 1,
"description": "Height in blocks the mob will look for turtle eggs to move towards",
"title": "TODO Title"
},
"search_range": {
"type": "integer",
"default": 0,
"description": "The distance in blocks it will look for turtle eggs to move towards",
"title": "TODO Title"
}
}
}

View File

@@ -8,7 +8,12 @@
"required": [],
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"cooldown_time": { "type": "number", "default": 0, "description": "Time in seconds the mob has to wait before using the goal again", "title": "Cooldown Time" },
"cooldown_time": {
"type": "number",
"default": 0,
"description": "Time in seconds the mob has to wait before using the goal again",
"title": "Cooldown Time"
},
"goal_radius": {
"type": "number",
"default": 0.5,
@@ -21,7 +26,17 @@
"description": "The distance in blocks to search for points inside villages. If <= 0, find the closest village regardless of distance.",
"title": "Search Range"
},
"speed_multiplier": { "type": "number", "default": 1, "description": "Movement speed multiplier of the mob when using this AI Goal", "title": "Speed Multiplier" },
"start_chance": { "type": "number", "default": 0.1, "description": "This is the chance that the mob will start this goal, from 0 to 1", "title": "Start Chance" }
"speed_multiplier": {
"type": "number",
"default": 1,
"description": "Movement speed multiplier of the mob when using this AI Goal",
"title": "Speed Multiplier"
},
"start_chance": {
"type": "number",
"default": 0.1,
"description": "This is the chance that the mob will start this goal, from 0 to 1",
"title": "Start Chance"
}
}
}

View File

@@ -17,10 +17,22 @@
"properties": {
"cast_duration": { "type": "number", "description": "Time in seconds the spell casting will take" },
"cooldown_time": { "type": "number", "default": 0, "description": "Time in seconds the mob has to wait before using the spell again" },
"do_casting": { "type": "boolean", "default": true, "description": "If true, the mob will do the casting animations and render spell particles" },
"do_casting": {
"type": "boolean",
"default": true,
"description": "If true, the mob will do the casting animations and render spell particles"
},
"filters": { "$ref": "../filters.json" },
"max_activation_range": { "type": "number", "default": -1, "description": "Upper bound of the activation distance in blocks for this spell" },
"min_activation_range": { "type": "number", "default": 1, "description": "Lower bound of the activation distance in blocks for this spell" },
"max_activation_range": {
"type": "number",
"default": -1,
"description": "Upper bound of the activation distance in blocks for this spell"
},
"min_activation_range": {
"type": "number",
"default": 1,
"description": "Lower bound of the activation distance in blocks for this spell"
},
"particle_color": {
"description": "The color of the particles for this spell",
"title": "Particle Color",
@@ -37,7 +49,11 @@
"additionalProperties": false,
"properties": {
"base_delay": { "type": "number", "default": 0, "description": "Amount of time in seconds to wait before this step starts" },
"delay_per_summon": { "type": "number", "default": 0, "description": "Amount of time in seconds before each entity is summoned in this step" },
"delay_per_summon": {
"type": "number",
"default": 0,
"description": "Amount of time in seconds before each entity is summoned in this step"
},
"entity_lifespan": {
"type": "number",
"default": -1,
@@ -59,7 +75,11 @@
}
},
"start_sound_event": { "type": "string", "description": "The sound event to play when using this spell" },
"weight": { "type": "number", "default": 0, "description": "The weight of this spell. Controls how likely the mob is to choose this spell when casting one" }
"weight": {
"type": "number",
"default": 0,
"description": "The weight of this spell. Controls how likely the mob is to choose this spell when casting one"
}
}
},
"title": "TODO Title"

View File

@@ -8,7 +8,17 @@
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"start_distance": { "type": "number", "default": 10, "description": "This mob starts swelling when a target is at least this many blocks away", "title": "TODO Title" },
"stop_distance": { "type": "number", "default": 2, "description": "This mob stops swelling when a target has moved away at least this many blocks", "title": "TODO Title" }
"start_distance": {
"type": "number",
"default": 10,
"description": "This mob starts swelling when a target is at least this many blocks away",
"title": "TODO Title"
},
"stop_distance": {
"type": "number",
"default": 2,
"description": "This mob stops swelling when a target has moved away at least this many blocks",
"title": "TODO Title"
}
}
}

View File

@@ -16,7 +16,17 @@
"title": "TODO Title"
},
"can_tempt_while_ridden": { "type": "boolean", "title": "Can Tempt While Ridden", "description": "UNDOCUMENTATED" },
"items": { "type": "array", "description": "List of items this mob is tempted by", "items": { "$ref": "../../../../general/item/identifier.json" }, "title": "TODO Title" },
"within_radius": { "type": "number", "default": 0, "description": "Distance in blocks this mob can get tempted by a player holding an item they like", "title": "TODO Title" }
"items": {
"type": "array",
"description": "List of items this mob is tempted by",
"items": { "$ref": "../../../../general/item/identifier.json" },
"title": "TODO Title"
},
"within_radius": {
"type": "number",
"default": 0,
"description": "Distance in blocks this mob can get tempted by a player holding an item they like",
"title": "TODO Title"
}
}
}

View File

@@ -14,7 +14,12 @@
"description": "The max time in seconds that the trader will hold an item before attempting to switch for a different item that takes the same trade",
"title": "Carried Item Switch Time"
},
"cooldown": { "type": "number", "default": 2, "description": "The time in seconds before the trader can use this goal again", "title": "Cooldown" },
"cooldown": {
"type": "number",
"default": 2,
"description": "The time in seconds before the trader can use this goal again",
"title": "Cooldown"
},
"interest_time": {
"type": "number",
"default": 45,

View File

@@ -8,6 +8,10 @@
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"entity_types": { "$ref": "../types/entity_types.json", "description": "List of entities this mob can copy the owner from.", "title": "TODO Title" }
"entity_types": {
"$ref": "../types/entity_types.json",
"description": "List of entities this mob can copy the owner from.",
"title": "TODO Title"
}
}
}

View File

@@ -8,6 +8,10 @@
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"entity_types": { "$ref": "../types/entity_types.json", "description": "List of entities this mob can copy the owner from.", "title": "TODO Title" }
"entity_types": {
"$ref": "../types/entity_types.json",
"description": "List of entities this mob can copy the owner from.",
"title": "TODO Title"
}
}
}

View File

@@ -8,10 +8,29 @@
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" },
"active_time": { "type": "integer", "default": 0, "description": "The amount of ticks the NPC will stay in their the work location", "title": "TODO Title" },
"can_work_in_rain": { "type": "boolean", "default": false, "description": "If true, this entity can work when their jobsite POI is being rained on.", "title": "TODO Title" },
"goal_cooldown": { "type": "integer", "default": 0, "description": "The amount of ticks the goal will be on cooldown before it can be used again", "title": "TODO Title" },
"on_arrival": { "$ref": "../types/event.json", "description": "Event to run when the mob reaches their jobsite and finishes working.", "title": "TODO Title" },
"active_time": {
"type": "integer",
"default": 0,
"description": "The amount of ticks the NPC will stay in their the work location",
"title": "TODO Title"
},
"can_work_in_rain": {
"type": "boolean",
"default": false,
"description": "If true, this entity can work when their jobsite POI is being rained on.",
"title": "TODO Title"
},
"goal_cooldown": {
"type": "integer",
"default": 0,
"description": "The amount of ticks the goal will be on cooldown before it can be used again",
"title": "TODO Title"
},
"on_arrival": {
"$ref": "../types/event.json",
"description": "Event to run when the mob reaches their jobsite and finishes working.",
"title": "TODO Title"
},
"sound_delay_max": { "type": "integer", "default": 0, "description": "The max interval in which a sound will play", "title": "TODO Title" },
"sound_delay_min": { "type": "integer", "default": 0, "description": "The min interval in which a sound will play", "title": "TODO Title" },
"work_in_rain_tolerance": {