auto: Formatted documents
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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],
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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" }
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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],
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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" },
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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" }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.",
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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" },
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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" }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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],
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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" }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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" } }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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" }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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" }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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" }
|
||||
}
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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" }
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -7,7 +7,12 @@
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"duration": { "type": "number", "default": 1200.0, "description": "Amount of time before the entity grows up, -1 for always a baby.", "title": "Duration" },
|
||||
"duration": {
|
||||
"type": "number",
|
||||
"default": 1200.0,
|
||||
"description": "Amount of time before the entity grows up, -1 for always a baby.",
|
||||
"title": "Duration"
|
||||
},
|
||||
"feedItems": {
|
||||
"description": "List of items that can be fed to the entity. Includes 'item' for the item name and 'growth' to define how much time it grows up by",
|
||||
"items": {
|
||||
@@ -15,7 +20,12 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"item": { "type": "string", "description": "The item name that can be used to feed", "title": "Item", "$ref": "../../../../general/item/identifier.json" },
|
||||
"item": {
|
||||
"type": "string",
|
||||
"description": "The item name that can be used to feed",
|
||||
"title": "Item",
|
||||
"$ref": "../../../../general/item/identifier.json"
|
||||
},
|
||||
"growth": { "type": "integer", "description": "The amount that counts for aging", "title": "Growth" }
|
||||
}
|
||||
},
|
||||
@@ -34,7 +44,10 @@
|
||||
},
|
||||
"grow_up": {
|
||||
"description": "Event to run when this entity grows up",
|
||||
"oneOf": [{ "type": "string" }, { "type": "object", "properties": { "event": { "type": "string" }, "target": { "$ref": "../filters/types/base_subject.json" } } }],
|
||||
"oneOf": [
|
||||
{ "type": "string" },
|
||||
{ "type": "object", "properties": { "event": { "type": "string" }, "target": { "$ref": "../filters/types/base_subject.json" } } }
|
||||
],
|
||||
"title": "TODO Title"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,8 +7,23 @@
|
||||
"description": "Sets the entity's delay between playing its ambient sound.",
|
||||
"required": ["event_name"],
|
||||
"properties": {
|
||||
"event_name": { "type": "string", "default": "ambient", "description": "Level sound event to be played as the ambient sound.", "title": "TODO Title" },
|
||||
"max": { "type": "number", "default": 16, "description": "Maximum time in seconds to randomly add to the ambient sound delay time.", "title": "TODO Title" },
|
||||
"min": { "type": "number", "default": 8, "description": "Minimum time in seconds before the entity plays its ambient sound again", "title": "TODO Title" }
|
||||
"event_name": {
|
||||
"type": "string",
|
||||
"default": "ambient",
|
||||
"description": "Level sound event to be played as the ambient sound.",
|
||||
"title": "TODO Title"
|
||||
},
|
||||
"max": {
|
||||
"type": "number",
|
||||
"default": 16,
|
||||
"description": "Maximum time in seconds to randomly add to the ambient sound delay time.",
|
||||
"title": "TODO Title"
|
||||
},
|
||||
"min": {
|
||||
"type": "number",
|
||||
"default": 8,
|
||||
"description": "Minimum time in seconds before the entity plays its ambient sound again",
|
||||
"title": "TODO Title"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,7 +13,11 @@
|
||||
"description": "If true, other entities of the same entity definition within the broadcastRange will also become angry",
|
||||
"title": "Broadcast Anger"
|
||||
},
|
||||
"broadcast_filters": { "$ref": "../filters.json", "description": "Conditions that make this entry in the list valid", "title": "Broadcast Filters" },
|
||||
"broadcast_filters": {
|
||||
"$ref": "../filters.json",
|
||||
"description": "Conditions that make this entry in the list valid",
|
||||
"title": "Broadcast Filters"
|
||||
},
|
||||
"broadcast_range": {
|
||||
"type": "integer",
|
||||
"default": 20,
|
||||
@@ -31,8 +35,18 @@
|
||||
"description": "Event to run after the number of seconds specified in duration expires (when the entity stops being 'angry')",
|
||||
"title": "Calm Event"
|
||||
},
|
||||
"duration": { "type": "integer", "default": 25, "description": "The amount of time in seconds that the entity will be angry", "title": "Duration" },
|
||||
"duration_delta": { "type": "integer", "default": 0, "description": "Variance in seconds added to the duration [-delta, delta]", "title": "Duration Delta" },
|
||||
"duration": {
|
||||
"type": "integer",
|
||||
"default": 25,
|
||||
"description": "The amount of time in seconds that the entity will be angry",
|
||||
"title": "Duration"
|
||||
},
|
||||
"duration_delta": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "Variance in seconds added to the duration [-delta, delta]",
|
||||
"title": "Duration Delta"
|
||||
},
|
||||
"broadcastAnger": { "type": "boolean", "description": "TODO", "title": "TODO" },
|
||||
"broadcastRange": { "type": "integer", "description": "TODO", "title": "TODO" }
|
||||
}
|
||||
|
||||
@@ -12,7 +12,12 @@
|
||||
"description": "How much damage per tick is applied to entities that enter the damage range.",
|
||||
"title": "Damage Per Tick"
|
||||
},
|
||||
"damage_range": { "type": "number", "default": 0.2, "description": "How close a hostile entity must be to have the damage applied.", "title": "Damage Range" },
|
||||
"damage_range": {
|
||||
"type": "number",
|
||||
"default": 0.2,
|
||||
"description": "How close a hostile entity must be to have the damage applied.",
|
||||
"title": "Damage Range"
|
||||
},
|
||||
"entity_filter": { "$ref": "../filters.json", "description": "Entity_filter", "title": "Filter" },
|
||||
"cause": { "type": "string", "description": "TODO", "title": "Cause", "$ref": "../../../../general/entity/damage_source.json" }
|
||||
}
|
||||
|
||||
@@ -18,6 +18,10 @@
|
||||
"examples": ["wither", "hunger"],
|
||||
"title": "Effect Name"
|
||||
},
|
||||
"effect_duration": { "type": "number", "description": "Duration in seconds of the status ailment applied to the damaged entity", "title": "Effect Duration" }
|
||||
"effect_duration": {
|
||||
"type": "number",
|
||||
"description": "Duration in seconds of the status ailment applied to the damaged entity",
|
||||
"title": "Effect Duration"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,8 +21,16 @@
|
||||
"description": "List of items that can be used to boost while riding this entity.",
|
||||
"properties": {
|
||||
"damage": { "type": "integer", "default": 1, "description": "This is the damage that the item will take each time it is used" },
|
||||
"item": { "type": "string", "$ref": "../../../../general/item/identifier.json", "description": "Name of the item that can be used to boost" },
|
||||
"replaceItem": { "type": "string", "$ref": "../../../../general/item/identifier.json", "description": "The item used to boost will become this item once it is used up" }
|
||||
"item": {
|
||||
"type": "string",
|
||||
"$ref": "../../../../general/item/identifier.json",
|
||||
"description": "Name of the item that can be used to boost"
|
||||
},
|
||||
"replaceItem": {
|
||||
"type": "string",
|
||||
"$ref": "../../../../general/item/identifier.json",
|
||||
"description": "The item used to boost will become this item once it is used up"
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "TODO description",
|
||||
|
||||
@@ -14,6 +14,11 @@
|
||||
"title": "Hud Range"
|
||||
},
|
||||
"name": { "type": "string", "default": "", "description": "The name that will be displayed above the boss's health bar.", "title": "Name" },
|
||||
"should_darken_sky": { "type": "boolean", "default": false, "description": "Whether the sky should darken in the presence of the boss.", "title": "Should Darken Sky" }
|
||||
"should_darken_sky": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Whether the sky should darken in the presence of the boss.",
|
||||
"title": "Should Darken Sky"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,10 +19,30 @@
|
||||
"breathes_water": { "type": "boolean", "default": false, "description": "If true, this entity can breathe in water", "title": "TODO Title" },
|
||||
"breathesLava": { "type": "boolean", "default": false, "description": "If true, this entity can breathe in lava", "title": "TODO Title" },
|
||||
"breathes_lava": { "type": "boolean", "default": false, "description": "If true, this entity can breathe in lava", "title": "TODO Title" },
|
||||
"breathesSolids": { "type": "boolean", "default": false, "description": "If true, this entity can breathe in solid blocks", "title": "TODO Title" },
|
||||
"breathes_solids": { "type": "boolean", "default": false, "description": "If true, this entity can breathe in solid blocks", "title": "TODO Title" },
|
||||
"generatesBubbles": { "type": "boolean", "default": true, "description": "If true, this entity will have visible bubbles while in water", "title": "TODO Title" },
|
||||
"generates_bubbles": { "type": "boolean", "default": true, "description": "If true, this entity will have visible bubbles while in water", "title": "TODO Title" },
|
||||
"breathesSolids": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, this entity can breathe in solid blocks",
|
||||
"title": "TODO Title"
|
||||
},
|
||||
"breathes_solids": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, this entity can breathe in solid blocks",
|
||||
"title": "TODO Title"
|
||||
},
|
||||
"generatesBubbles": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "If true, this entity will have visible bubbles while in water",
|
||||
"title": "TODO Title"
|
||||
},
|
||||
"generates_bubbles": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "If true, this entity will have visible bubbles while in water",
|
||||
"title": "TODO Title"
|
||||
},
|
||||
"breatheBlocks": {
|
||||
"type": "array",
|
||||
"description": "List of blocks this entity can breathe in, in addition to the above",
|
||||
|
||||
@@ -27,7 +27,12 @@
|
||||
"default": true,
|
||||
"title": "Blend Attributes"
|
||||
},
|
||||
"breed_cooldown": { "description": "Time in seconds before the Entity can breed again.", "type": "number", "default": 60.0, "title": "Breed Cooldown" },
|
||||
"breed_cooldown": {
|
||||
"description": "Time in seconds before the Entity can breed again.",
|
||||
"type": "number",
|
||||
"default": 60.0,
|
||||
"title": "Breed Cooldown"
|
||||
},
|
||||
"breed_items": {
|
||||
"description": "The list of items that can be used to get the entity into the 'love' state",
|
||||
"title": "Breed Items",
|
||||
@@ -52,7 +57,12 @@
|
||||
],
|
||||
"title": "TODO Title"
|
||||
},
|
||||
"causes_pregnancy": { "type": "boolean", "default": false, "description": "If true, the entity will become pregnant instead of spawning a baby.", "title": "Causes Pregnancy" },
|
||||
"causes_pregnancy": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, the entity will become pregnant instead of spawning a baby.",
|
||||
"title": "Causes Pregnancy"
|
||||
},
|
||||
"deny_parents_variant": {
|
||||
"type": "object",
|
||||
"description": "Determines how likely the baby of parents with the same variant will deny that variant and take a random variant within the given range instead.",
|
||||
@@ -102,14 +112,26 @@
|
||||
"maximum": 1.0,
|
||||
"title": "Extra Baby Chance"
|
||||
},
|
||||
"inherit_tamed": { "description": "If true, the babies will be automatically tamed if its parents are", "type": "boolean", "default": true, "title": "Inherit Tamed" },
|
||||
"inherit_tamed": {
|
||||
"description": "If true, the babies will be automatically tamed if its parents are",
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"title": "Inherit Tamed"
|
||||
},
|
||||
"love_filters": { "$ref": "../filters.json", "description": "The filters to run when attempting to fall in love.", "title": "Love Filters" },
|
||||
"mutation_factor": {
|
||||
"type": "object",
|
||||
"description": "Determines how likely the babies are to NOT inherit one of their parent's variances. Values are between 0.0 and 1.0, with a higher number meaning more likely to mutate.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"color": { "type": "number", "default": 0, "minimum": 0.0, "maximum": 1.0, "description": "The percentage chance of a mutation on the entity's color.", "title": "Color" },
|
||||
"color": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"minimum": 0.0,
|
||||
"maximum": 1.0,
|
||||
"description": "The percentage chance of a mutation on the entity's color.",
|
||||
"title": "Color"
|
||||
},
|
||||
"extra_variant": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
@@ -129,6 +151,11 @@
|
||||
},
|
||||
"title": "Mutation Factor"
|
||||
},
|
||||
"require_tame": { "type": "boolean", "description": "If true, the entities need to be tamed first before they can breed.", "default": true, "title": "Require Tame" }
|
||||
"require_tame": {
|
||||
"type": "boolean",
|
||||
"description": "If true, the entities need to be tamed first before they can breed.",
|
||||
"default": true,
|
||||
"title": "Require Tame"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,11 +7,20 @@
|
||||
"description": "Specifies if/how a mob burns in daylight.",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"bribe_cooldown": { "type": "number", "default": 2, "description": "Time in seconds before the Entity can be bribed again", "title": "Bribe Cooldown" },
|
||||
"bribe_cooldown": {
|
||||
"type": "number",
|
||||
"default": 2,
|
||||
"description": "Time in seconds before the Entity can be bribed again",
|
||||
"title": "Bribe Cooldown"
|
||||
},
|
||||
"bribe_items": {
|
||||
"type": "array",
|
||||
"description": "The list of items that can be used to bribe the entity",
|
||||
"items": { "description": "An item that can be used to bribe the entity", "$ref": "../../../../general/item/identifier.json", "title": "Bribe Items" },
|
||||
"items": {
|
||||
"description": "An item that can be used to bribe the entity",
|
||||
"$ref": "../../../../general/item/identifier.json",
|
||||
"title": "Bribe Items"
|
||||
},
|
||||
"title": "Bribe Items"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,7 +12,12 @@
|
||||
"description": "Applies gravity each tick. Causes more of a wave simulation, but will cause more gravity to be applied outside liquids.",
|
||||
"title": "Apply Gravity"
|
||||
},
|
||||
"base_buoyancy": { "type": "number", "default": 1, "description": "Base buoyancy used to calculate how much will a mob float.", "title": "Base Buoyancy" },
|
||||
"base_buoyancy": {
|
||||
"type": "number",
|
||||
"default": 1,
|
||||
"description": "Base buoyancy used to calculate how much will a mob float.",
|
||||
"title": "Base Buoyancy"
|
||||
},
|
||||
"big_wave_probability": {
|
||||
"type": "number",
|
||||
"default": 0.03,
|
||||
@@ -37,6 +42,11 @@
|
||||
"title": "Liquid Blocks",
|
||||
"items": { "type": "string", "title": "Block ID" }
|
||||
},
|
||||
"simulate_waves": { "type": "boolean", "default": true, "description": "Should the movement simulate waves going through.", "title": "Simulate Waves" }
|
||||
"simulate_waves": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "Should the movement simulate waves going through.",
|
||||
"title": "Simulate Waves"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,13 +6,23 @@
|
||||
"description": "Specifies hunt celebration behavior.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"broadcast": { "type": "boolean", "default": true, "description": "If true, celebration will be broadcasted to other entities in the radius.", "title": "Broadcast" },
|
||||
"broadcast": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "If true, celebration will be broadcasted to other entities in the radius.",
|
||||
"title": "Broadcast"
|
||||
},
|
||||
"celeberation_targets": {
|
||||
"$ref": "../filters.json",
|
||||
"description": "The list of conditions that target of hunt must satisfy to initiate celebration.",
|
||||
"title": "Celeberation Targets"
|
||||
},
|
||||
"celebrate_sound": { "type": "string", "default": "", "description": "The sound event to play when the mob is celebrating", "title": "Celebrate Sound" },
|
||||
"celebrate_sound": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "The sound event to play when the mob is celebrating",
|
||||
"title": "Celebrate Sound"
|
||||
},
|
||||
"duration": { "type": "integer", "default": 4, "description": "Duration, in seconds, of celebration", "title": "Duration" },
|
||||
"radius": {
|
||||
"type": "number",
|
||||
|
||||
@@ -7,7 +7,17 @@
|
||||
"description": "Sets the width and height of the Entity's collision box.",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"height": { "type": "number", "default": 1, "description": "Height of the collision box in blocks. A negative value will be assumed to be 0", "title": "Height" },
|
||||
"width": { "type": "number", "default": 1, "description": "Width and Depth of the collision box in blocks. A negative value will be assumed to be 0", "title": "Width" }
|
||||
"height": {
|
||||
"type": "number",
|
||||
"default": 1,
|
||||
"description": "Height of the collision box in blocks. A negative value will be assumed to be 0",
|
||||
"title": "Height"
|
||||
},
|
||||
"width": {
|
||||
"type": "number",
|
||||
"default": 1,
|
||||
"description": "Width and Depth of the collision box in blocks. A negative value will be assumed to be 0",
|
||||
"title": "Width"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,7 +18,12 @@
|
||||
"properties": {
|
||||
"width": { "type": "number", "title": "Width", "description": "TODO" },
|
||||
"height": { "type": "number", "title": "Height", "description": "TODO" },
|
||||
"pivot": { "type": "array", "title": "Pivot", "description": "TODO", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] }
|
||||
"pivot": {
|
||||
"type": "array",
|
||||
"title": "Pivot",
|
||||
"description": "TODO",
|
||||
"items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,11 @@
|
||||
"description": "Despawns the associated Actor immediately or when the optional filter evaluates to true.",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"filters": { "$ref": "../filters.json", "description": "The list of conditions that must be satisfied before the Actor is despawned", "title": "Filters" },
|
||||
"filters": {
|
||||
"$ref": "../filters.json",
|
||||
"description": "The list of conditions that must be satisfied before the Actor is despawned",
|
||||
"title": "Filters"
|
||||
},
|
||||
"despawn_from_chance": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
@@ -33,7 +37,12 @@
|
||||
"description": "The amount of time in seconds that the mob must be inactive.",
|
||||
"title": "Min Range Inactivity Timer"
|
||||
},
|
||||
"min_range_random_chance": { "type": "integer", "default": 800, "description": "A random chance between 1 and the given value.", "title": "Min Range Random Chance" },
|
||||
"min_range_random_chance": {
|
||||
"type": "integer",
|
||||
"default": 800,
|
||||
"description": "A random chance between 1 and the given value.",
|
||||
"title": "Min Range Random Chance"
|
||||
},
|
||||
"remove_child_entities": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
|
||||
@@ -23,7 +23,12 @@
|
||||
{ "type": "integer", "title": "B", "description": "" }
|
||||
]
|
||||
},
|
||||
"display_name": { "type": "string", "default": "", "description": "Name to be displayed while trading with this entity", "title": "Display Name" },
|
||||
"display_name": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "Name to be displayed while trading with this entity",
|
||||
"title": "Display Name"
|
||||
},
|
||||
"hero_demand_discount": {
|
||||
"type": "integer",
|
||||
"default": -4,
|
||||
@@ -52,15 +57,30 @@
|
||||
"description": "How much should the discount be modified by when the player has cured a nearby Zombie Villager",
|
||||
"title": "Nearby Cured Discount"
|
||||
},
|
||||
"new_screen": { "type": "boolean", "default": false, "description": "Used to determine if trading with entity opens the new trade screen", "title": "New Screen" },
|
||||
"new_screen": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Used to determine if trading with entity opens the new trade screen",
|
||||
"title": "New Screen"
|
||||
},
|
||||
"persist_trades": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Determines if the trades should persist when the mob transforms. This makes it so that the next time the mob is transformed to something with a trade_table or economy_trade_table, then it keeps their trades.",
|
||||
"title": "Persist Trades"
|
||||
},
|
||||
"show_trade_screen": { "type": "boolean", "default": true, "description": "Show an in game trade screen when interacting with the mob.", "title": "Show Trade Screen" },
|
||||
"table": { "type": "string", "default": "", "description": "File path relative to the resource pack root for this entity's trades", "title": "Table" },
|
||||
"show_trade_screen": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "Show an in game trade screen when interacting with the mob.",
|
||||
"title": "Show Trade Screen"
|
||||
},
|
||||
"table": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "File path relative to the resource pack root for this entity's trades",
|
||||
"title": "Table"
|
||||
},
|
||||
"use_legacy_price_formula": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
|
||||
@@ -18,7 +18,12 @@
|
||||
"description": "The minimum number of entities that must pass the filter conditions for the event to send.",
|
||||
"title": "Minimum Count"
|
||||
},
|
||||
"relative_range": { "type": "boolean", "default": true, "description": "If true the sensor range is additive on top of the entity's size.", "title": "Relative Range" },
|
||||
"relative_range": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "If true the sensor range is additive on top of the entity's size.",
|
||||
"title": "Relative Range"
|
||||
},
|
||||
"require_all": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
|
||||
@@ -22,7 +22,12 @@
|
||||
{ "type": "object", "$ref": "#/definitions/on_environement" },
|
||||
{
|
||||
"type": "array",
|
||||
"items": { "oneOf": [{ "$ref": "#/definitions/on_environement" }, { "type": "object", "properties": { "on_environment": { "$ref": "#/definitions/on_environement" } } }] }
|
||||
"items": {
|
||||
"oneOf": [
|
||||
{ "$ref": "#/definitions/on_environement" },
|
||||
{ "type": "object", "properties": { "on_environment": { "$ref": "#/definitions/on_environement" } } }
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -16,7 +16,10 @@
|
||||
"title": "Slot Drop Chance",
|
||||
"description": "UNDOCUMENTATED",
|
||||
"additionalProperties": false,
|
||||
"properties": { "drop_chance": { "type": "number", "title": "Drop Chance" }, "slot": { "type": "string", "title": "Slot", "pattern": "slot\\.[a-z\\.0-9]+" } }
|
||||
"properties": {
|
||||
"drop_chance": { "type": "number", "title": "Drop Chance" },
|
||||
"slot": { "type": "string", "title": "Slot", "pattern": "slot\\.[a-z\\.0-9]+" }
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -18,7 +18,12 @@
|
||||
"accepted_items": {
|
||||
"type": "array",
|
||||
"description": "The list of items that can go in this slot",
|
||||
"items": { "type": "string", "description": "A item name", "$ref": "../../../../general/item/identifier.json", "title": "Accepted Items" },
|
||||
"items": {
|
||||
"type": "string",
|
||||
"description": "A item name",
|
||||
"$ref": "../../../../general/item/identifier.json",
|
||||
"title": "Accepted Items"
|
||||
},
|
||||
"title": "Accepted Items"
|
||||
},
|
||||
"item": { "type": "string", "default": 0, "description": "Identifier of the item that can be equipped for this slot", "title": "Item" },
|
||||
@@ -28,8 +33,18 @@
|
||||
"description": "Text to be displayed when the entity can be equipped with this item when playing with Touch-screen controls",
|
||||
"title": "Interact Text"
|
||||
},
|
||||
"on_equip": { "type": "string", "default": 0, "description": "Event to trigger when this entity is equipped with this item", "title": "On Equip" },
|
||||
"on_unequip": { "type": "string", "default": 0, "description": "Event to trigger when this item is removed from this entity", "title": "On Unequip" }
|
||||
"on_equip": {
|
||||
"type": "string",
|
||||
"default": 0,
|
||||
"description": "Event to trigger when this entity is equipped with this item",
|
||||
"title": "On Equip"
|
||||
},
|
||||
"on_unequip": {
|
||||
"type": "string",
|
||||
"default": 0,
|
||||
"description": "Event to trigger when this item is removed from this entity",
|
||||
"title": "On Unequip"
|
||||
}
|
||||
},
|
||||
"title": "Slots"
|
||||
},
|
||||
|
||||
@@ -13,11 +13,35 @@
|
||||
"description": "The range for the random amount of time the fuse will be lit before exploding, a negative value means the explosion will be immediate",
|
||||
"title": "Fuse Length"
|
||||
},
|
||||
"power": { "type": "number", "default": 3, "description": "The radius of the explosion in blocks and the amount of damage the explosion deals", "title": "Power" },
|
||||
"maxResistance": { "type": "number", "description": "A blocks explosion resistance will be capped at this value when an explosion occurs", "title": "Max Resistance" },
|
||||
"fuseLit": { "type": "boolean", "default": false, "description": "If true, the fuse is already lit when this component is added to the entity", "title": "Fuse Lit" },
|
||||
"causesFire": { "type": "boolean", "default": false, "description": "If true, blocks in the explosion radius will be set on fire", "title": "Causes Fire" },
|
||||
"breaks_blocks": { "type": "boolean", "default": true, "description": "If true, the explosion will destroy blocks in the explosion radius", "title": "Breaks Blocks" },
|
||||
"power": {
|
||||
"type": "number",
|
||||
"default": 3,
|
||||
"description": "The radius of the explosion in blocks and the amount of damage the explosion deals",
|
||||
"title": "Power"
|
||||
},
|
||||
"maxResistance": {
|
||||
"type": "number",
|
||||
"description": "A blocks explosion resistance will be capped at this value when an explosion occurs",
|
||||
"title": "Max Resistance"
|
||||
},
|
||||
"fuseLit": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, the fuse is already lit when this component is added to the entity",
|
||||
"title": "Fuse Lit"
|
||||
},
|
||||
"causesFire": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, blocks in the explosion radius will be set on fire",
|
||||
"title": "Causes Fire"
|
||||
},
|
||||
"breaks_blocks": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "If true, the explosion will destroy blocks in the explosion radius",
|
||||
"title": "Breaks Blocks"
|
||||
},
|
||||
"fireAffectedByGriefing": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
|
||||
@@ -6,7 +6,12 @@
|
||||
"description": "Allows entities to flock in groups in water or not.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"block_distance": { "type": "number", "default": 0, "description": "The amount of blocks away the entity will look at to push away from.", "title": "Block Distance" },
|
||||
"block_distance": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "The amount of blocks away the entity will look at to push away from.",
|
||||
"title": "Block Distance"
|
||||
},
|
||||
"block_weight": { "type": "number", "default": 0, "description": "The weight of the push back away from blocks.", "title": "Block Weight" },
|
||||
"breach_influence": {
|
||||
"type": "number",
|
||||
@@ -14,8 +19,18 @@
|
||||
"description": "The amount of push back given to a flocker that breaches out of the water.",
|
||||
"title": "Breach Influence"
|
||||
},
|
||||
"cohesion_threshold": { "type": "number", "default": 1, "description": "The threshold in which to start applying cohesion.", "title": "Cohesion Threshold" },
|
||||
"cohesion_weight": { "type": "number", "default": 1, "description": "The weight applied for the cohesion steering of the flock.", "title": "Cohesion Weight" },
|
||||
"cohesion_threshold": {
|
||||
"type": "number",
|
||||
"default": 1,
|
||||
"description": "The threshold in which to start applying cohesion.",
|
||||
"title": "Cohesion Threshold"
|
||||
},
|
||||
"cohesion_weight": {
|
||||
"type": "number",
|
||||
"default": 1,
|
||||
"description": "The weight applied for the cohesion steering of the flock.",
|
||||
"title": "Cohesion Weight"
|
||||
},
|
||||
"goal_weight": { "type": "number", "default": 0, "description": "The weight on which to apply on the goal output.", "title": "Goal Weight" },
|
||||
"high_flock_limit": {
|
||||
"type": "integer",
|
||||
@@ -23,8 +38,18 @@
|
||||
"description": "Determines the high bound amount of entities that can be allowed in the flock.",
|
||||
"title": "High Flock Limit"
|
||||
},
|
||||
"in_water": { "type": "boolean", "default": false, "description": "Tells the Flocking Component if the entity exists in water.", "title": "In Water" },
|
||||
"influence_radius": { "type": "number", "default": 0, "description": "The area around the entity that allows others to be added to the flock.", "title": "Influence Radius" },
|
||||
"in_water": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Tells the Flocking Component if the entity exists in water.",
|
||||
"title": "In Water"
|
||||
},
|
||||
"influence_radius": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "The area around the entity that allows others to be added to the flock.",
|
||||
"title": "Influence Radius"
|
||||
},
|
||||
"innner_cohesion_threshold": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
@@ -57,7 +82,12 @@
|
||||
"description": "The distance that is determined to be to close to another flocking and to start applying separation.",
|
||||
"title": "Separation Threshold"
|
||||
},
|
||||
"separation_weight": { "type": "number", "default": 1, "description": "The weight applied to the separation of the flock.", "title": "Separation Weight" },
|
||||
"separation_weight": {
|
||||
"type": "number",
|
||||
"default": 1,
|
||||
"description": "The weight applied to the separation of the flock.",
|
||||
"title": "Separation Weight"
|
||||
},
|
||||
"use_center_of_mass": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
"title": "Follow Range 1.8.0",
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": { "value": { "type": "integer", "description": "TODO", "title": "Value" }, "max": { "type": "integer", "description": "TODO", "title": "Max" } },
|
||||
"properties": {
|
||||
"value": { "type": "integer", "description": "TODO", "title": "Value" },
|
||||
"max": { "type": "integer", "description": "TODO", "title": "Max" }
|
||||
},
|
||||
"description": "TODO description: "
|
||||
}
|
||||
|
||||
@@ -36,7 +36,10 @@
|
||||
"description": "The list of genetic variants for this gene. These check for particular allele combinations and fire events when all of them are satisfied.",
|
||||
"items": {
|
||||
"properties": {
|
||||
"birth_event": { "$ref": "../types/event.json", "description": "Event to run when this mob is created and matches the above allele conditions." },
|
||||
"birth_event": {
|
||||
"$ref": "../types/event.json",
|
||||
"description": "Event to run when this mob is created and matches the above allele conditions."
|
||||
},
|
||||
"both_allele": {
|
||||
"description": "If this value is non-negative, compare both the mob's main and hidden alleles with this value for a match with both. Can also be a range of integers.",
|
||||
"oneOf": [
|
||||
|
||||
@@ -7,7 +7,12 @@
|
||||
"title": "Giveable 1.8.0",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"cooldown": { "type": "number", "default": 0, "description": "An optional cool down in seconds to prevent spamming interactions.", "title": "Cooldown" },
|
||||
"cooldown": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "An optional cool down in seconds to prevent spamming interactions.",
|
||||
"title": "Cooldown"
|
||||
},
|
||||
"items": {
|
||||
"type": "array",
|
||||
"description": "The list of items that can be given to the entity to place in their inventory.",
|
||||
|
||||
@@ -6,5 +6,12 @@
|
||||
"additionalProperties": false,
|
||||
"description": "Sets the offset from the ground that the entity is actually at.",
|
||||
"required": [],
|
||||
"properties": { "value": { "type": "number", "default": 0.0, "description": "The value of the entity's offset from the terrain, in blocks", "title": "TODO Title" } }
|
||||
"properties": {
|
||||
"value": {
|
||||
"type": "number",
|
||||
"default": 0.0,
|
||||
"description": "The value of the entity's offset from the terrain, in blocks",
|
||||
"title": "TODO Title"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,14 @@
|
||||
"description": "Could increase crop growth when entity walks over crop.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"chance": { "type": "number", "default": 0, "description": "Value between 0-1. Chance of success per tick.", "minimum": 0, "maximum": 1, "title": "Chance" },
|
||||
"chance": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Value between 0-1. Chance of success per tick.",
|
||||
"minimum": 0,
|
||||
"maximum": 1,
|
||||
"title": "Chance"
|
||||
},
|
||||
"charges": { "type": "integer", "default": 10, "description": "Number of charges", "title": "Charges" }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,14 +8,22 @@
|
||||
"required": [],
|
||||
"properties": {
|
||||
"filters": { "$ref": "../filters.json", "description": "The filter group that defines the conditions for this trigger", "title": "Filters" },
|
||||
"force_use": { "type": "boolean", "default": false, "description": "Determines if item can be used regardless of entity being at full health", "title": "TODO Title" },
|
||||
"force_use": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Determines if item can be used regardless of entity being at full health",
|
||||
"title": "TODO Title"
|
||||
},
|
||||
"items": {
|
||||
"description": "The array of items that can be used to heal this entity",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"filters": { "$ref": "../filters.json", "description": "The filter group that defines the conditions for using this item to heal the entity" },
|
||||
"filters": {
|
||||
"$ref": "../filters.json",
|
||||
"description": "The filter group that defines the conditions for using this item to heal the entity"
|
||||
},
|
||||
"heal_amount": { "type": "integer", "default": 1, "description": "The amount of health this entity gains when fed this item" },
|
||||
"item": { "type": "string", "description": "Item identifier that can be used to heal this entity" }
|
||||
}
|
||||
|
||||
@@ -7,6 +7,11 @@
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"days_until_insomnia": { "type": "number", "default": 3, "description": "Number of days the mob has to stay up until the insomnia effect begins.", "title": "TODO Title" }
|
||||
"days_until_insomnia": {
|
||||
"type": "number",
|
||||
"default": 3,
|
||||
"description": "Number of days the mob has to stay up until the insomnia effect begins.",
|
||||
"title": "TODO Title"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,7 +33,10 @@
|
||||
"properties": {
|
||||
"particle_type": { "type": "string", "description": "The type of particle that will be spawned" },
|
||||
"particle_y_offset": { "type": "string", "description": "Will offset the particle this amount in the y direction" },
|
||||
"particle_offset_towards_interactor": { "type": "string", "description": "Whether or not the particle will appear closer to who performed the interaction" }
|
||||
"particle_offset_towards_interactor": {
|
||||
"type": "string",
|
||||
"description": "Whether or not the particle will appear closer to who performed the interaction"
|
||||
}
|
||||
}
|
||||
},
|
||||
"play_sounds": { "type": "string", "default": "", "description": "List of sounds to play when the interaction occurs" },
|
||||
@@ -43,8 +46,15 @@
|
||||
"description": "Loot table with items to drop on the ground upon successful interaction",
|
||||
"properties": { "table": { "type": "string", "description": "File path, relative to the Behavior Pack's path, to the loot table file" } }
|
||||
},
|
||||
"swing": { "type": "boolean", "default": false, "description": "If true, the player will do the 'swing' animation when interacting with this entity" },
|
||||
"transform_to_item": { "type": "string", "description": "The item used will transform to this item upon successful interaction. Format: itemName:auxValue" },
|
||||
"swing": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, the player will do the 'swing' animation when interacting with this entity"
|
||||
},
|
||||
"transform_to_item": {
|
||||
"type": "string",
|
||||
"description": "The item used will transform to this item upon successful interaction. Format: itemName:auxValue"
|
||||
},
|
||||
"use_item": { "type": "boolean", "default": false, "description": "If true, the interaction will use an item" }
|
||||
}
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user