Merge branch 'main' into main
This commit is contained in:
@@ -11,17 +11,17 @@
|
||||
"admire_item_sound": {
|
||||
"title": "Admire Item Sound",
|
||||
"type": "string",
|
||||
"description": "The sound event to play when admiring the item"
|
||||
"description": "The sound event to play when admiring the item."
|
||||
},
|
||||
"on_admire_item_start": {
|
||||
"title": "On Admire Item Start",
|
||||
"$ref": "../types/event.json",
|
||||
"description": "The event to run when admiring the item"
|
||||
"description": "The event to run when admiring the item."
|
||||
},
|
||||
"on_admire_item_stop": {
|
||||
"title": "On Admire Item Stop",
|
||||
"$ref": "../types/event.json",
|
||||
"description": "The event to run when no longer admiring the item"
|
||||
"description": "The event to run when no longer admiring the item."
|
||||
},
|
||||
"sound_interval": {
|
||||
"title": "Sound Interval",
|
||||
|
||||
@@ -11,10 +11,10 @@
|
||||
},
|
||||
"items": {
|
||||
"type": "array",
|
||||
"description": "List of items that this mob likes",
|
||||
"description": "List of items that this mob likes.",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"description": "List of items that this mob likes",
|
||||
"description": "List of items that this mob likes.",
|
||||
"title": "Properties",
|
||||
"$ref": "../../../../general/item/identifier.json"
|
||||
},
|
||||
@@ -23,16 +23,13 @@
|
||||
"look_distance": {
|
||||
"type": "number",
|
||||
"default": 8,
|
||||
"description": "Distance in blocks the mob will beg from",
|
||||
"description": "Distance in blocks the mob will beg from.",
|
||||
"title": "Look Distance"
|
||||
},
|
||||
"look_time": {
|
||||
"description": "The range of time in seconds this mob will stare at the player holding a food they like, begging for it",
|
||||
"description": "The range of time in seconds this mob will stare at the player holding a food they like, begging for it.",
|
||||
"$ref": "../types/range_number_type.json",
|
||||
"default": [
|
||||
2,
|
||||
4
|
||||
],
|
||||
"default": [2, 4],
|
||||
"title": "Look Time"
|
||||
}
|
||||
},
|
||||
@@ -42,4 +39,4 @@
|
||||
"look_distance": 8
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,20 +18,19 @@
|
||||
"title": "Attack Interval",
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "Time in seconds between attacks"
|
||||
"description": "Time in seconds between attacks."
|
||||
},
|
||||
"must_see": {
|
||||
"title": "Must See",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, only entities in this mob's viewing range can be selected as targets"
|
||||
"description": "If true, only entities in this mob's viewing range can be selected as targets."
|
||||
},
|
||||
"must_see_forget_duration": {
|
||||
"title": "Must See Forget Duration",
|
||||
"type": "number",
|
||||
"default": 3,
|
||||
"description": "Determines the amount of time in seconds that this mob will look for a target before forgetting about it and looking for a new one when the target isn't visible any more"
|
||||
|
||||
"description": "Determines the amount of time in seconds that this mob will look for a target before forgetting about it and looking for a new one when the target isn't visible any more."
|
||||
},
|
||||
"on_defend_start": {
|
||||
"title": "On Defend Start",
|
||||
@@ -42,12 +41,12 @@
|
||||
"title": "Within Radius",
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Distance in blocks that the target can be within to launch an attack"
|
||||
"description": "Distance in blocks that the target can be within to launch an attack."
|
||||
},
|
||||
"entity_types": {
|
||||
"title": "Entity Types",
|
||||
"type": "object",
|
||||
"description": "List of entity types that this mob considers valid targets",
|
||||
"description": "List of entity types that this mob considers valid targets.",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"sound_chance": {
|
||||
@@ -70,4 +69,4 @@
|
||||
"sound_chance": 0.05
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
"entity_types": {
|
||||
"title": "Entity Types",
|
||||
"$ref": "../types/entity_types.json",
|
||||
"description": "List of entity types this mob considers a threat to the village",
|
||||
"description": "List of entity types this mob considers a threat to the village.",
|
||||
"$comment": "UNDOCUMENTED"
|
||||
},
|
||||
"must_reach": {
|
||||
|
||||
@@ -117,7 +117,7 @@
|
||||
"title": "Set Persistent",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Allows the actor to be set to persist upon targeting a player"
|
||||
"description": "Allows the actor to be set to persist upon targeting a player."
|
||||
},
|
||||
"target_dist": {
|
||||
"title": "Target Dist",
|
||||
|
||||
@@ -18,13 +18,13 @@
|
||||
"title": "Digs In Daylight",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Indicates that the actor should start digging when it sees daylight"
|
||||
"description": "Indicates that the actor should start digging when it sees daylight."
|
||||
},
|
||||
"duration": {
|
||||
"title": "Duration",
|
||||
"type": "number",
|
||||
"default": 0.0,
|
||||
"description": "Goal duration in seconds"
|
||||
"description": "Goal duration in seconds."
|
||||
},
|
||||
"idle_time": {
|
||||
"title": "Idle Time",
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
},
|
||||
"speed_modifier": {
|
||||
"default": 0.0,
|
||||
"description": "Movement speed modifier of the mob when using this AI Goal",
|
||||
"description": "Movement speed modifier of the mob when using this AI Goal.",
|
||||
"title": "Speed Modifier"
|
||||
},
|
||||
"potions": {
|
||||
@@ -21,11 +21,7 @@
|
||||
"description": "A list of potions that this entity can drink.",
|
||||
"title": "Potions",
|
||||
"items": {
|
||||
"required": [
|
||||
"id",
|
||||
"chance",
|
||||
"filters"
|
||||
],
|
||||
"required": ["id", "chance", "filters"],
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"description": "A potions that this entity can drink.",
|
||||
@@ -34,7 +30,7 @@
|
||||
"id": {
|
||||
"type": "integer",
|
||||
"default": -1,
|
||||
"description": "The registry ID of the potion to use",
|
||||
"description": "The registry ID of the potion to use.",
|
||||
"title": "Id"
|
||||
},
|
||||
"chance": {
|
||||
@@ -58,4 +54,4 @@
|
||||
"potions": []
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,18 +11,18 @@
|
||||
"title": "Cooldown Time",
|
||||
"type": "integer",
|
||||
"default": 0.5,
|
||||
"description": "Time in seconds the mob has to wait before using the goal again"
|
||||
"description": "Time in seconds the mob has to wait before using the goal again."
|
||||
},
|
||||
"duration": {
|
||||
"title": "Duration",
|
||||
"type": "number",
|
||||
"default": 5.0,
|
||||
"description": "Goal duration in seconds"
|
||||
"description": "Goal duration in seconds."
|
||||
},
|
||||
"on_done": {
|
||||
"title": "On Done",
|
||||
"$ref": "../types/trigger.json",
|
||||
"description": "Trigger to be executed when the goal execution is about to end"
|
||||
"description": "Trigger to be executed when the goal execution is about to end."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"cooldown_time": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Time in seconds the mob has to wait before using the goal again",
|
||||
"description": "Time in seconds the mob has to wait before using the goal again.",
|
||||
"title": "Cooldown Time"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"title": "Avoid Water",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, the mob will not go into water blocks when going towards a mount"
|
||||
"description": "If true, the mob will not go into water blocks when going towards a mount."
|
||||
},
|
||||
"mount_distance": {
|
||||
"type": "number",
|
||||
@@ -24,19 +24,19 @@
|
||||
"title": "Start Delay",
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "Time the mob will wait before starting to move towards the mount"
|
||||
"description": "Time the mob will wait before starting to move towards the mount."
|
||||
},
|
||||
"target_needed": {
|
||||
"title": "Target Needed",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, the mob will only look for a mount if it has a target"
|
||||
"description": "If true, the mob will only look for a mount if it has a target."
|
||||
},
|
||||
"within_radius": {
|
||||
"title": "Within Radius",
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Distance in blocks within which the mob will look for a mount"
|
||||
"description": "Distance in blocks within which the mob will look for a mount."
|
||||
},
|
||||
"max_failed_attempts": {
|
||||
"title": "Maximum Failed Attempts",
|
||||
@@ -55,4 +55,4 @@
|
||||
"max_failed_attempts": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,28 +24,25 @@
|
||||
"y_offset": {
|
||||
"type": "number",
|
||||
"default": 0.0,
|
||||
"description": "Height in blocks to add to the selected target position",
|
||||
"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",
|
||||
"description": "If true, the point has to be reachable to be a valid target.",
|
||||
"title": "Must Reach"
|
||||
},
|
||||
"random_reselect": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, the mob will randomly pick a new point while moving to the previously selected one",
|
||||
"description": "If true, the mob will randomly pick a new point while moving to the previously selected one.",
|
||||
"title": "Random Reselect"
|
||||
},
|
||||
"float_duration": {
|
||||
"$ref": "../types/range_number_type.json",
|
||||
"default": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"description": "Range of time in seconds the mob will float around before landing and choosing to do something else",
|
||||
"default": [0.0, 0.0],
|
||||
"description": "Range of time in seconds the mob will float around before landing and choosing to do something else.",
|
||||
"title": "Float Duration"
|
||||
}
|
||||
},
|
||||
@@ -58,4 +55,4 @@
|
||||
"random_reselect": false
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,12 +14,12 @@
|
||||
},
|
||||
"entity_types": {
|
||||
"$ref": "../types/entity_types.json",
|
||||
"description": "List of entity types that this mob can follow in a caravan",
|
||||
"description": "List of entity types that this mob can follow in a caravan.",
|
||||
"title": "Entity Types"
|
||||
},
|
||||
"entity_count": {
|
||||
"type": "integer",
|
||||
"description": "Number of entities that can be in the caravan",
|
||||
"description": "Number of entities that can be in the caravan.",
|
||||
"default": 1,
|
||||
"title": "Entity Count"
|
||||
}
|
||||
@@ -29,4 +29,4 @@
|
||||
"entity_count": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,13 +15,13 @@
|
||||
"search_range": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "The distance in blocks it will look for a mob to follow",
|
||||
"description": "The distance in blocks it will look for a mob to follow.",
|
||||
"title": "Search Range"
|
||||
},
|
||||
"stop_distance": {
|
||||
"type": "number",
|
||||
"default": 2,
|
||||
"description": "The distance in blocks this mob stops from the mob it is following",
|
||||
"description": "The distance in blocks this mob stops from the mob it is following.",
|
||||
"title": "Stop Distance"
|
||||
}
|
||||
},
|
||||
@@ -31,4 +31,4 @@
|
||||
"stop_distance": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,31 +16,31 @@
|
||||
"title": "Can Teleport",
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "Specify if the mob can teleport to the player if it is too far away"
|
||||
"description": "Specify if the mob can teleport to the player if it is too far away."
|
||||
},
|
||||
"ignore_vibration": {
|
||||
"title": "Ignore Vibration",
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "Specify if the mob will follow the owner if it has heard a vibration lately"
|
||||
"description": "Specify if the mob will follow the owner if it has heard a vibration lately."
|
||||
},
|
||||
"max_distance": {
|
||||
"title": "Max Distance",
|
||||
"type": "number",
|
||||
"default": 60.0,
|
||||
"description": "The maximum distance in blocks this mob can be from its owner to start following, only used when canTeleport is false"
|
||||
"description": "The maximum distance in blocks this mob can be from its owner to start following, only used when canTeleport is false."
|
||||
},
|
||||
"start_distance": {
|
||||
"title": "Start Distance",
|
||||
"type": "number",
|
||||
"default": 10.0,
|
||||
"description": "The distance in blocks that the owner can be away from this mob before it starts following it"
|
||||
"description": "The distance in blocks that the owner can be away from this mob before it starts following it."
|
||||
},
|
||||
"stop_distance": {
|
||||
"title": "Stop Distance",
|
||||
"type": "number",
|
||||
"default": 2.0,
|
||||
"description": "The distance in blocks this mob will stop from its owner while following it"
|
||||
"description": "The distance in blocks this mob will stop from its owner while following it."
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
|
||||
@@ -11,19 +11,19 @@
|
||||
},
|
||||
"entity_types": {
|
||||
"$ref": "../types/entity_types.json",
|
||||
"description": "List of entity types that this mob can target if they hurt their owner",
|
||||
"description": "List of entity types that this mob can target if they hurt their owner.",
|
||||
"title": "Entity Types"
|
||||
},
|
||||
"alert_same_type": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, nearby mobs of the same type will be alerted about the damage",
|
||||
"description": "If true, nearby mobs of the same type will be alerted about the damage.",
|
||||
"title": "Alert Same Type"
|
||||
},
|
||||
"hurt_owner": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, the mob will hurt its owner and other mobs with the same owner as itself",
|
||||
"description": "If true, the mob will hurt its owner and other mobs with the same owner as itself.",
|
||||
"title": "Hurt Owner"
|
||||
}
|
||||
},
|
||||
@@ -33,4 +33,4 @@
|
||||
"hurt_owner": false
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,13 +23,13 @@
|
||||
"search_height": {
|
||||
"type": "integer",
|
||||
"default": 1,
|
||||
"description": "The height that the mob will search for bookshelves",
|
||||
"description": "The height that the mob will search for bookshelves.",
|
||||
"title": "Search Height"
|
||||
},
|
||||
"search_range": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "Distance in blocks the mob will look for books to inspect",
|
||||
"description": "Distance in blocks the mob will look for books to inspect.",
|
||||
"title": "Search Range"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
"title": "Cooldown Time",
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Time in seconds the mob has to wait before using the goal again"
|
||||
"description": "Time in seconds the mob has to wait before using the goal again."
|
||||
},
|
||||
"damage_filters": {
|
||||
"$ref": "../../filters/filters.json",
|
||||
@@ -75,7 +75,7 @@
|
||||
"track_target": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, this mob will chase after the target as long as it's a valid target",
|
||||
"description": "If true, this mob will chase after the target as long as it's a valid target.",
|
||||
"title": "Track Target"
|
||||
},
|
||||
"on_roar_end": {
|
||||
|
||||
@@ -49,13 +49,13 @@
|
||||
"title": "Search Height",
|
||||
"type": "integer",
|
||||
"default": 1,
|
||||
"description": "Height in blocks the mob will look for a target block to move towards"
|
||||
"description": "Height in blocks the mob will look for a target block to move towards."
|
||||
},
|
||||
"search_range": {
|
||||
"title": "Search Range",
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "The distance in blocks it will look for a target block to move towards"
|
||||
"description": "The distance in blocks it will look for a target block to move towards."
|
||||
},
|
||||
"target_blocks": {
|
||||
"title": "Target Blocks",
|
||||
|
||||
@@ -17,13 +17,13 @@
|
||||
"set_persistent": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Allows the actor to be set to persist upon targeting a player",
|
||||
"description": "Allows the actor to be set to persist upon targeting a player.",
|
||||
"title": "Set Persistent"
|
||||
},
|
||||
"yd": {
|
||||
"type": "number",
|
||||
"default": 0.0,
|
||||
"description": "The height in blocks the mob jumps when leaping at its target",
|
||||
"description": "The height in blocks the mob jumps when leaping at its target.",
|
||||
"title": "Yd"
|
||||
},
|
||||
"target_dist": {
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"look_distance": {
|
||||
"type": "number",
|
||||
"default": 8.0,
|
||||
"description": "The distance in blocks from which the entity will look at",
|
||||
"description": "The distance in blocks from which the entity will look at.",
|
||||
"title": "Look Distance"
|
||||
},
|
||||
"probability": {
|
||||
@@ -23,27 +23,24 @@
|
||||
},
|
||||
"look_time": {
|
||||
"$ref": "../types/range_number_type.json",
|
||||
"default": [
|
||||
2,
|
||||
4
|
||||
],
|
||||
"description": "Time range to look at the entity",
|
||||
"default": [2, 4],
|
||||
"description": "Time range to look at the entity.",
|
||||
"title": "Look Time"
|
||||
},
|
||||
"angle_of_view_vertical": {
|
||||
"type": "integer",
|
||||
"default": 360,
|
||||
"description": "The angle in degrees that the mob can see in the X-axis (left-right)",
|
||||
"description": "The angle in degrees that the mob can see in the X-axis (left-right).",
|
||||
"title": "Angle Of View Vertical"
|
||||
},
|
||||
"angle_of_view_horizontal": {
|
||||
"type": "integer",
|
||||
"default": 360,
|
||||
"description": "The angle in degrees that the mob can see in the Y-axis (up-down)",
|
||||
"description": "The angle in degrees that the mob can see in the Y-axis (up-down).",
|
||||
"title": "Angle Of View Horizontal"
|
||||
},
|
||||
"filters": {
|
||||
"description": "Filter to determine the conditions for this mob to look at the entity",
|
||||
"description": "Filter to determine the conditions for this mob to look at the entity.",
|
||||
"$ref": "../../filters/filters.json"
|
||||
}
|
||||
},
|
||||
@@ -55,4 +52,4 @@
|
||||
"angle_of_view_horizontal": 360
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,19 +12,19 @@
|
||||
"title": "Angle Of View Vertical",
|
||||
"type": "integer",
|
||||
"default": 360,
|
||||
"description": "The angle in degrees that the mob can see in the X-axis (left-right)"
|
||||
"description": "The angle in degrees that the mob can see in the X-axis (left-right)."
|
||||
},
|
||||
"angle_of_view_horizontal": {
|
||||
"title": "Angle Of View Horizontal",
|
||||
"type": "integer",
|
||||
"default": 360,
|
||||
"description": "The angle in degrees that the mob can see in the Y-axis (up-down)"
|
||||
"description": "The angle in degrees that the mob can see in the Y-axis (up-down)."
|
||||
},
|
||||
"look_distance": {
|
||||
"title": "Look Distance",
|
||||
"type": "number",
|
||||
"default": 8.0,
|
||||
"description": "The distance in blocks from which the entity will look at"
|
||||
"description": "The distance in blocks from which the entity will look at."
|
||||
},
|
||||
"probability": {
|
||||
"title": "Probability",
|
||||
@@ -37,17 +37,17 @@
|
||||
"title": "Look Time",
|
||||
"type": "array",
|
||||
"default": [2, 4],
|
||||
"description": "Time range to look at the entity",
|
||||
"description": "Time range to look at the entity.",
|
||||
"items": [
|
||||
{ "type": "number", "title": "Minimum", "description": "The minimum amount of time to look" },
|
||||
{ "type": "number", "title": "Maximum", "description": "The maximum amount of time to look" }
|
||||
{ "type": "number", "title": "Minimum", "description": "The minimum amount of time to look." },
|
||||
{ "type": "number", "title": "Maximum", "description": "The maximum amount of time to look." }
|
||||
]
|
||||
},
|
||||
"target_distance": {
|
||||
"title": "Target Distance",
|
||||
"type": "number",
|
||||
"default": 6.0,
|
||||
"description": "The distance in blocks from which the entity will choose a target"
|
||||
"description": "The distance in blocks from which the entity will choose a target."
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"look_distance": {
|
||||
"type": "number",
|
||||
"default": 8.0,
|
||||
"description": "The distance in blocks from which the entity will look at",
|
||||
"description": "The distance in blocks from which the entity will look at.",
|
||||
"title": "Look Distance"
|
||||
},
|
||||
"probability": {
|
||||
@@ -23,23 +23,20 @@
|
||||
},
|
||||
"look_time": {
|
||||
"$ref": "../types/range_number_type.json",
|
||||
"default": [
|
||||
2,
|
||||
4
|
||||
],
|
||||
"description": "Time range to look at the entity",
|
||||
"default": [2, 4],
|
||||
"description": "Time range to look at the entity.",
|
||||
"title": "Look Time"
|
||||
},
|
||||
"angle_of_view_vertical": {
|
||||
"type": "integer",
|
||||
"default": 360,
|
||||
"description": "The angle in degrees that the mob can see in the X-axis (left-right)",
|
||||
"description": "The angle in degrees that the mob can see in the X-axis (left-right).",
|
||||
"title": "Angle Of View Vertical"
|
||||
},
|
||||
"angle_of_view_horizontal": {
|
||||
"type": "integer",
|
||||
"default": 360,
|
||||
"description": "The angle in degrees that the mob can see in the Y-axis (up-down)",
|
||||
"description": "The angle in degrees that the mob can see in the Y-axis (up-down).",
|
||||
"title": "Angle Of View Horizontal"
|
||||
}
|
||||
},
|
||||
@@ -51,4 +48,4 @@
|
||||
"angle_of_view_horizontal": 360
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"look_distance": {
|
||||
"type": "number",
|
||||
"default": 8.0,
|
||||
"description": "The distance in blocks from which the entity will look at",
|
||||
"description": "The distance in blocks from which the entity will look at.",
|
||||
"title": "Look Distance"
|
||||
},
|
||||
"probability": {
|
||||
@@ -23,23 +23,20 @@
|
||||
},
|
||||
"look_time": {
|
||||
"$ref": "../types/range_number_type.json",
|
||||
"default": [
|
||||
2,
|
||||
4
|
||||
],
|
||||
"description": "Time range to look at the entity",
|
||||
"default": [2, 4],
|
||||
"description": "Time range to look at the entity.",
|
||||
"title": "Look Time"
|
||||
},
|
||||
"angle_of_view_vertical": {
|
||||
"type": "integer",
|
||||
"default": 360,
|
||||
"description": "The angle in degrees that the mob can see in the X-axis (left-right)",
|
||||
"description": "The angle in degrees that the mob can see in the X-axis (left-right).",
|
||||
"title": "Angle Of View Vertical"
|
||||
},
|
||||
"angle_of_view_horizontal": {
|
||||
"type": "integer",
|
||||
"default": 360,
|
||||
"description": "The angle in degrees that the mob can see in the Y-axis (up-down)",
|
||||
"description": "The angle in degrees that the mob can see in the Y-axis (up-down).",
|
||||
"title": "Angle Of View Horizontal"
|
||||
}
|
||||
},
|
||||
@@ -51,4 +48,4 @@
|
||||
"angle_of_view_horizontal": 360
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -116,7 +116,7 @@
|
||||
"title": "Set Persistent",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Allows the actor to be set to persist upon targeting a player"
|
||||
"description": "Allows the actor to be set to persist upon targeting a player."
|
||||
},
|
||||
"target_dist": {
|
||||
"title": "Target Dist",
|
||||
|
||||
@@ -11,13 +11,13 @@
|
||||
"cooldown_time": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Time in seconds the mob has to wait before using the goal again",
|
||||
"description": "Time in seconds the mob has to wait before using the goal again.",
|
||||
"title": "Cooldown Time"
|
||||
},
|
||||
"duration": {
|
||||
"type": "number",
|
||||
"default": 1,
|
||||
"description": "Amount of time in seconds that the entity will chat with another entity",
|
||||
"description": "Amount of time in seconds that the entity will chat with another entity.",
|
||||
"title": "Duration"
|
||||
},
|
||||
"mingle_distance": {
|
||||
@@ -27,13 +27,13 @@
|
||||
"title": "Mingle Distance"
|
||||
},
|
||||
"mingle_partner_type": {
|
||||
"description": "The entity type that this entity is allowed to mingle with",
|
||||
"description": "The entity type that this entity is allowed to mingle with.",
|
||||
"title": "Mingle Partner Type",
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"description": "The entity type that this entity is allowed to mingle with",
|
||||
"description": "The entity type that this entity is allowed to mingle with.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -15,13 +15,13 @@
|
||||
"target_dist": {
|
||||
"type": "number",
|
||||
"default": 0.0,
|
||||
"description": "The distance at which this mob wants to be away from its target",
|
||||
"description": "The distance at which this mob wants to be away from its target.",
|
||||
"title": "Target Dist"
|
||||
},
|
||||
"track_target": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, this mob will chase after the target as long as it's a valid target",
|
||||
"description": "If true, this mob will chase after the target as long as it's a valid target.",
|
||||
"title": "Track Target"
|
||||
}
|
||||
},
|
||||
@@ -31,4 +31,4 @@
|
||||
"track_target": false
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"timeout_cooldown": {
|
||||
"type": "number",
|
||||
"default": 8,
|
||||
"description": "The cooldown time in seconds before the goal can be reused after pathfinding fails",
|
||||
"description": "The cooldown time in seconds before the goal can be reused after pathfinding fails.",
|
||||
"title": "Timeout Cooldown"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"type": "object",
|
||||
"title": "Move Outdoors",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"description": "Forces the entity to move `outside`, whatever that means",
|
||||
"description": "Forces the entity to move `outside`, whatever that means.",
|
||||
"properties": {
|
||||
"priority": { "$ref": "types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },
|
||||
@@ -36,7 +36,7 @@
|
||||
"title": "Timeout Cooldown",
|
||||
"type": "number",
|
||||
"default": 8000000,
|
||||
"description": "The cooldown time in seconds before the goal can be reused after pathfinding fails"
|
||||
"description": "The cooldown time in seconds before the goal can be reused after pathfinding fails."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"only_at_night": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, the mob will only move through the village during night time",
|
||||
"description": "If true, the mob will only move through the village during night time.",
|
||||
"title": "Only At Night"
|
||||
}
|
||||
},
|
||||
@@ -24,4 +24,4 @@
|
||||
"only_at_night": false
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,13 +27,13 @@
|
||||
"search_height": {
|
||||
"type": "integer",
|
||||
"default": 1,
|
||||
"description": "Height in blocks the mob will look for land to move towards",
|
||||
"description": "Height in blocks the mob will look for land to move towards.",
|
||||
"title": "Search Height"
|
||||
},
|
||||
"search_range": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "The distance in blocks it will look for land to move towards",
|
||||
"description": "The distance in blocks it will look for land to move towards.",
|
||||
"title": "Search Range"
|
||||
}
|
||||
},
|
||||
@@ -45,4 +45,4 @@
|
||||
"search_range": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
"search_height": {
|
||||
"type": "integer",
|
||||
"default": 1,
|
||||
"description": "Height in blocks the mob will look for lava to move towards",
|
||||
"description": "Height in blocks the mob will look for lava to move towards.",
|
||||
"title": "Search Height"
|
||||
},
|
||||
"search_range": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "The distance in blocks it will look for lava to move towards",
|
||||
"description": "The distance in blocks it will look for lava to move towards.",
|
||||
"title": "Search Range"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -22,18 +22,18 @@
|
||||
"search_height": {
|
||||
"type": "integer",
|
||||
"default": 1,
|
||||
"description": "Height in blocks the mob will look for lava to move towards",
|
||||
"description": "Height in blocks the mob will look for lava to move towards.",
|
||||
"title": "Search Height"
|
||||
},
|
||||
"search_range": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "The distance in blocks it will look for lava to move towards",
|
||||
"description": "The distance in blocks it will look for lava to move towards.",
|
||||
"title": "Search Range"
|
||||
},
|
||||
"material_type": {
|
||||
"title": "Material Type",
|
||||
"description": "UNDOCUMENTAED, examples are : Lava",
|
||||
"description": "UNDOCUMENTAED, examples are : Lava.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"type": "object",
|
||||
"title": "Move To Poi",
|
||||
"additionalProperties": false,
|
||||
"description": "Allows the mob to move to a POI if able to",
|
||||
"description": "Allows the mob to move to a POI if able to.",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": {
|
||||
@@ -14,7 +14,7 @@
|
||||
},
|
||||
"poi_type": {
|
||||
"type": "string",
|
||||
"description": "Tells the goal what POI type it should be looking for",
|
||||
"description": "Tells the goal what POI type it should be looking for.",
|
||||
"title": "Point Of Interest Type"
|
||||
}
|
||||
},
|
||||
@@ -23,4 +23,4 @@
|
||||
"poi_type": "example"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"cooldown_time": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Time in seconds the mob has to wait before using the goal again",
|
||||
"description": "Time in seconds the mob has to wait before using the goal again.",
|
||||
"title": "Cooldown Time"
|
||||
},
|
||||
"goal_radius": {
|
||||
@@ -38,4 +38,4 @@
|
||||
"search_range": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,13 +15,13 @@
|
||||
"search_range": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "The distance in blocks it will look for water to move towards",
|
||||
"description": "The distance in blocks it will look for water to move towards.",
|
||||
"title": "Search Range"
|
||||
},
|
||||
"search_height": {
|
||||
"type": "integer",
|
||||
"default": 1,
|
||||
"description": "Height in blocks the mob will look for water to move towards",
|
||||
"description": "Height in blocks the mob will look for water to move towards.",
|
||||
"title": "Search Height"
|
||||
},
|
||||
"search_count": {
|
||||
@@ -45,4 +45,4 @@
|
||||
"goal_radius": 0.5
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,14 +16,11 @@
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"move",
|
||||
"look"
|
||||
],
|
||||
"description": "UNDOCUMENTED: control flags",
|
||||
"enum": ["move", "look"],
|
||||
"description": "UNDOCUMENTED: control flags.",
|
||||
"title": "Control Flags"
|
||||
},
|
||||
"description": "UNDOCUMENTED: control flags",
|
||||
"description": "UNDOCUMENTED: control flags.",
|
||||
"title": "Control Flags"
|
||||
}
|
||||
},
|
||||
@@ -32,4 +29,4 @@
|
||||
"control_flags": []
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,36 +11,36 @@
|
||||
"title": "Cooldown Max",
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Maximum time in seconds the mob has to wait before using the goal again"
|
||||
"description": "Maximum time in seconds the mob has to wait before using the goal again."
|
||||
},
|
||||
"cooldown_min": {
|
||||
"title": "Cooldown Min",
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Minimum time in seconds the mob has to wait before using the goal again"
|
||||
"description": "Minimum time in seconds the mob has to wait before using the goal again."
|
||||
},
|
||||
"mob_detect_dist": {
|
||||
"title": "Mob Detect Dist",
|
||||
"type": "number",
|
||||
"default": 6,
|
||||
"description": "The block distance in x and z that will be checked for mobs that this mob detects"
|
||||
"description": "The block distance in x and z that will be checked for mobs that this mob detects."
|
||||
},
|
||||
"mob_detect_height": {
|
||||
"title": "Mob Detect Height",
|
||||
"type": "number",
|
||||
"default": 6,
|
||||
"description": "The block distance in y that will be checked for mobs that this mob detects"
|
||||
"description": "The block distance in y that will be checked for mobs that this mob detects."
|
||||
},
|
||||
"can_nap_filters": {
|
||||
"title": "Can Nap Filters",
|
||||
"$ref": "../../filters/filters.json",
|
||||
"description": "The filters that need to be met for the nap to take place",
|
||||
"description": "The filters that need to be met for the nap to take place.",
|
||||
"$comment": "UNDOCUMENTED"
|
||||
},
|
||||
"wake_mob_exceptions": {
|
||||
"title": "Wake Mob Exceptions",
|
||||
"$ref": "../../filters/filters.json",
|
||||
"description": "Filters that can trigger the entity to wake up from it nap",
|
||||
"description": "Filters that can trigger the entity to wake up from it nap.",
|
||||
"$comment": "UNDOCUMENTED"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"definitions": {
|
||||
"entity_type": {
|
||||
"type": "object",
|
||||
"description": "A entity type",
|
||||
"description": "A entity type.",
|
||||
"properties": {
|
||||
"filters": {
|
||||
"$ref": "../../filters/filters.json",
|
||||
@@ -111,7 +111,7 @@
|
||||
"set_persistent": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Allows the actor to be set to persist upon targeting a player",
|
||||
"description": "Allows the actor to be set to persist upon targeting a player.",
|
||||
"title": "Set Persistent"
|
||||
},
|
||||
"target_invisible_multiplier": {
|
||||
@@ -157,4 +157,4 @@
|
||||
"within_radius": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,32 +9,32 @@
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"entity_types": {
|
||||
"description": "List of entity types that this mob considers valid targets",
|
||||
"description": "List of entity types that this mob considers valid targets.",
|
||||
"title": "Entity Types",
|
||||
"$ref": "../types/entity_types.json"
|
||||
},
|
||||
"attack_interval": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "Time in seconds before selecting a target",
|
||||
"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",
|
||||
"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",
|
||||
"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,
|
||||
"description": "Determines the amount of time in seconds that this mob will look for a target before forgetting about it and looking for a new one when the target isn't visible any more",
|
||||
"description": "Determines the amount of time in seconds that this mob will look for a target before forgetting about it and looking for a new one when the target isn't visible any more.",
|
||||
"title": "Must See Forget Duration"
|
||||
},
|
||||
"persist_time": {
|
||||
@@ -46,7 +46,7 @@
|
||||
"reselect_targets": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, the target will change to the current closest entity whenever a different entity is closer",
|
||||
"description": "If true, the target will change to the current closest entity whenever a different entity is closer.",
|
||||
"title": "Reselect Targets"
|
||||
},
|
||||
"scan_interval": {
|
||||
@@ -58,7 +58,7 @@
|
||||
"set_persistent": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Allows the actor to be set to persist upon targeting a player",
|
||||
"description": "Allows the actor to be set to persist upon targeting a player.",
|
||||
"title": "Set Persistent"
|
||||
},
|
||||
"target_search_height": {
|
||||
@@ -70,7 +70,7 @@
|
||||
"within_radius": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Distance in blocks that the target can be within to launch an attack",
|
||||
"description": "Distance in blocks that the target can be within to launch an attack.",
|
||||
"title": "Within Radius"
|
||||
}
|
||||
},
|
||||
@@ -88,4 +88,4 @@
|
||||
"within_radius": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"close_door_after": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "If true, the mob will close the door after opening it and going through it",
|
||||
"description": "If true, the mob will close the door after opening it and going through it.",
|
||||
"title": "Close Door After"
|
||||
}
|
||||
},
|
||||
@@ -21,4 +21,4 @@
|
||||
"close_door_after": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
},
|
||||
"entity_types": {
|
||||
"$ref": "../types/entity_types.json",
|
||||
"description": "List of entity types that this mob can target if they hurt their owner",
|
||||
"description": "List of entity types that this mob can target if they hurt their owner.",
|
||||
"title": "Entity Types"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
},
|
||||
"entity_types": {
|
||||
"$ref": "../types/entity_types.json",
|
||||
"description": "List of entity types that this entity can target if the potential target is hurt by this mob's owner",
|
||||
"description": "List of entity types that this entity can target if the potential target is hurt by this mob's owner.",
|
||||
"title": "Entity TYpes"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,49 +18,45 @@
|
||||
"items": {
|
||||
"$ref": "../../../../general/entity/damage_source.json"
|
||||
},
|
||||
"default": [
|
||||
[
|
||||
"all"
|
||||
]
|
||||
],
|
||||
"description": "The list of Entity Damage Sources that will cause this mob to panic"
|
||||
"default": [["all"]],
|
||||
"description": "The list of Entity Damage Sources that will cause this mob to panic."
|
||||
},
|
||||
"force": {
|
||||
"title": "Force",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, this mob will not stop panicking until it can't move anymore or the goal is removed from it"
|
||||
"description": "If true, this mob will not stop panicking until it can't move anymore or the goal is removed from it."
|
||||
},
|
||||
"ignore_mob_damage": {
|
||||
"title": "Ignore Mob Damage",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, the mob will not panic in response to damage from other mobs. This overrides the damage types in `damage_sources`"
|
||||
"description": "If true, the mob will not panic in response to damage from other mobs. This overrides the damage types in `damage_sources`"
|
||||
},
|
||||
"prefer_water": {
|
||||
"title": "Prefer Water",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, the mob will prefer water over land"
|
||||
"description": "If true, the mob will prefer water over land."
|
||||
},
|
||||
"panic_sound": {
|
||||
"title": "Panic Sound",
|
||||
"type": "string",
|
||||
"description": "The sound event to play when this mob is in panic"
|
||||
"description": "The sound event to play when this mob is in panic."
|
||||
},
|
||||
"sound_interval": {
|
||||
"title": "Sound Interval",
|
||||
"type": "object",
|
||||
"description": "The range of time in seconds to randomly wait before playing the sound again",
|
||||
"description": "The range of time in seconds to randomly wait before playing the sound again.",
|
||||
"properties": {
|
||||
"range_min": {
|
||||
"type": "number",
|
||||
"description": "The minimum time in seconds before the `panic_sound` plays",
|
||||
"description": "The minimum time in seconds before the `panic_sound` plays.",
|
||||
"title": "Range Minimum"
|
||||
},
|
||||
"range_max": {
|
||||
"type": "number",
|
||||
"description": "The maximum time in seconds before the `panic_sound` plays",
|
||||
"description": "The maximum time in seconds before the `panic_sound` plays.",
|
||||
"title": "Range Maximum"
|
||||
}
|
||||
},
|
||||
@@ -77,4 +73,4 @@
|
||||
"sound_interval": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
"title": "Search Height",
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Height in blocks the mob will look for items to pick up",
|
||||
"description": "Height in blocks the mob will look for items to pick up.",
|
||||
"$comment": "UNDOCUMENTED"
|
||||
},
|
||||
"pickup_based_on_chance": {
|
||||
@@ -62,7 +62,7 @@
|
||||
"pickup_same_items_as_in_hand": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, the mob will pickup the same item as the item in its hand",
|
||||
"description": "If true, the mob will pickup the same item as the item in its hand.",
|
||||
"title": "Pickup Same Items As In Hand",
|
||||
"$comment": "UNDOCUMENTED"
|
||||
},
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
},
|
||||
"filters": {
|
||||
"title": "Filters",
|
||||
"description": "The list of other triggers that are required for the mob to activate play dead",
|
||||
"description": "The list of other triggers that are required for the mob to activate play dead.",
|
||||
"$ref": "../../filters/filters.json"
|
||||
},
|
||||
"force_below_health": {
|
||||
@@ -43,8 +43,8 @@
|
||||
"description": "The range of damage that may cause the goal to start depending on randomness. Damage taken below the min will never cause the goal to start. Damage taken above the max will always cause the goal to start.",
|
||||
"type": "array",
|
||||
"items": [
|
||||
{ "title": "Minimum", "description": "Minimum", "type": "integer", "minimum": 0 },
|
||||
{ "title": "Maximum", "description": "Maximum", "type": "integer", "minimum": 0 }
|
||||
{ "title": "Minimum", "description": "Minimum.", "type": "integer", "minimum": 0 },
|
||||
{ "title": "Maximum", "description": "Maximum.", "type": "integer", "minimum": 0 }
|
||||
]
|
||||
},
|
||||
"damage_sources": {
|
||||
|
||||
@@ -11,11 +11,11 @@
|
||||
"blocks": {
|
||||
"title": "Blocks",
|
||||
"type": "array",
|
||||
"description": "Blocks that the mob is looking for to eat",
|
||||
"description": "Blocks that the mob is looking for to eat.",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"title": "Block Id",
|
||||
"description": "A block identifier",
|
||||
"description": "A block identifier.",
|
||||
"$ref": "../../../../general/block/identifier.json"
|
||||
}
|
||||
},
|
||||
@@ -23,20 +23,19 @@
|
||||
"title": "Eat Delay",
|
||||
"type": "integer",
|
||||
"default": 2,
|
||||
"description": "Time in seconds between each time it eats"
|
||||
|
||||
"description": "Time in seconds between each time it eats."
|
||||
},
|
||||
"full_delay": {
|
||||
"title": "Full Delay",
|
||||
"type": "integer",
|
||||
"default": 100,
|
||||
"description": "Amount of time in seconds before this mob wants to eat again"
|
||||
"description": "Amount of time in seconds before this mob wants to eat again."
|
||||
},
|
||||
"initial_eat_delay": {
|
||||
"title": "Initial Eat Delay",
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "Time in seconds before starting to eat/raid once it arrives at it"
|
||||
"description": "Time in seconds before starting to eat/raid once it arrives at it."
|
||||
},
|
||||
"goal_radius": {
|
||||
"type": "number",
|
||||
@@ -48,19 +47,19 @@
|
||||
"title": "Maximum To Eat",
|
||||
"type": "integer",
|
||||
"default": 6,
|
||||
"description": "Maximum number of things this entity wants to eat"
|
||||
"description": "Maximum number of things this entity wants to eat."
|
||||
},
|
||||
"search_range": {
|
||||
"title": "Search Range",
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "Distance in blocks the mob will look for crops to eat"
|
||||
"description": "Distance in blocks the mob will look for crops to eat."
|
||||
},
|
||||
"search_height": {
|
||||
"title": "Search Height",
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "Height in blocks the mob will look for crops to eat"
|
||||
"description": "Height in blocks the mob will look for crops to eat."
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
"on_start": {
|
||||
"title": "On Start",
|
||||
"$ref": "../types/trigger.json",
|
||||
"description": "The event to trigger when attacking"
|
||||
"description": "The event to trigger when attacking."
|
||||
},
|
||||
"pre_ram_sound": {
|
||||
"title": "Pre Ram Sound",
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
"cooldown_time": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Time in seconds the mob has to wait before using the goal again",
|
||||
"description": "Time in seconds the mob has to wait before using the goal again.",
|
||||
"title": "Cooldown Time"
|
||||
},
|
||||
"interval": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.random_fly",
|
||||
"description": "Allows a mob to randomly fly around",
|
||||
"description": "Allows a mob to randomly fly around.",
|
||||
"type": "object",
|
||||
"title": "Random Fly",
|
||||
"additionalProperties": false,
|
||||
@@ -9,14 +9,14 @@
|
||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
||||
"avoid_damage_blocks": {
|
||||
"type": "boolean",
|
||||
"description": "If true, the mob will avoid blocks that cause damage",
|
||||
"description": "If true, the mob will avoid blocks that cause damage.",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Avoid Damage Blocks"
|
||||
},
|
||||
"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",
|
||||
"description": "If true, the mob can stop flying and land on a tree instead of the ground.",
|
||||
"title": "Can Land On Trees"
|
||||
},
|
||||
"xz_dist": {
|
||||
@@ -33,7 +33,7 @@
|
||||
},
|
||||
"y_offset": {
|
||||
"type": "integer",
|
||||
"description": "Height in blocks to add to the selected target position",
|
||||
"description": "Height in blocks to add to the selected target position.",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Y Offset"
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.random_hover",
|
||||
"description": "Allows the mob to hover around randomly, close to the surface",
|
||||
"description": "Allows the mob to hover around randomly, close to the surface.",
|
||||
"type": "object",
|
||||
"title": "Random Hover",
|
||||
"additionalProperties": false,
|
||||
@@ -10,7 +10,7 @@
|
||||
"hover_height": {
|
||||
"title": "Hover Height",
|
||||
"type": "array",
|
||||
"description": "The height above the surface which the mob will try to maintain",
|
||||
"description": "The height above the surface which the mob will try to maintain.",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
@@ -41,7 +41,7 @@
|
||||
"y_offset": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Height in blocks to add to the selected target position",
|
||||
"description": "Height in blocks to add to the selected target position.",
|
||||
"title": "Y Offset"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
},
|
||||
"look_time": {
|
||||
"title": "Look Time",
|
||||
"description": "The range of time in seconds the mob will stay looking in a random direction before looking elsewhere",
|
||||
"description": "The range of time in seconds the mob will stay looking in a random direction before looking elsewhere.",
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "number"
|
||||
@@ -22,12 +22,12 @@
|
||||
{
|
||||
"type": "number",
|
||||
"title": "Minimum",
|
||||
"description": "Minimum"
|
||||
"description": "Minimum."
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"title": "Maximum",
|
||||
"description": "Maximum"
|
||||
"description": "Maximum."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -35,7 +35,7 @@
|
||||
},
|
||||
"look_distance": {
|
||||
"title": "Look Distance",
|
||||
"description": "The distance in blocks from which the mob will look at",
|
||||
"description": "The distance in blocks from which the mob will look at.",
|
||||
"type": "number",
|
||||
"default": 8.0
|
||||
},
|
||||
@@ -49,13 +49,13 @@
|
||||
"title": "Angle Of View Vertical",
|
||||
"type": "integer",
|
||||
"default": 360,
|
||||
"description": "The angle in degrees that the mob can see in the X-axis (left-right)"
|
||||
"description": "The angle in degrees that the mob can see in the X-axis (left-right)."
|
||||
},
|
||||
"angle_of_view_horizontal": {
|
||||
"title": "Angle Of View Horizontal",
|
||||
"type": "integer",
|
||||
"default": 360,
|
||||
"description": "The angle in degrees that the mob can see in the Y-axis (up-down)"
|
||||
"description": "The angle in degrees that the mob can see in the Y-axis (up-down)."
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
@@ -63,4 +63,4 @@
|
||||
"look_distance": 0.0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,31 +11,31 @@
|
||||
"cooldown": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Time in seconds the mob has to wait before using the goal again",
|
||||
"description": "Time in seconds the mob has to wait before using the goal again.",
|
||||
"title": "Cooldown"
|
||||
},
|
||||
"cooldown_time": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Time in seconds the mob has to wait before using the goal again",
|
||||
"description": "Time in seconds the mob has to wait before using the goal again.",
|
||||
"title": "Cooldown Time"
|
||||
},
|
||||
"min_sit_time": {
|
||||
"type": "number",
|
||||
"default": 10,
|
||||
"description": "The minimum amount of time in seconds before the mob can stand back up",
|
||||
"description": "The minimum amount of time in seconds before the mob can stand back up.",
|
||||
"title": "Minimum 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",
|
||||
"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",
|
||||
"description": "This is the chance that the mob will stop this goal, from 0 to 1.",
|
||||
"title": "Stop Chance"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.random_swim",
|
||||
"type": "object",
|
||||
"title": "Random Swim",
|
||||
"description": "Allows an entity to randomly move through water",
|
||||
"description": "Allows an entity to randomly move through water.",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "types/priority.json" },
|
||||
@@ -10,7 +10,7 @@
|
||||
"avoid_surface": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "If true, the mob will avoid surface water blocks by swimming below them",
|
||||
"description": "If true, the mob will avoid surface water blocks by swimming below them.",
|
||||
"title": "Avoid Surface"
|
||||
},
|
||||
"interval": {
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
"title": "Set Persistent",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Allows the actor to be set to persist upon targeting a player"
|
||||
"description": "Allows the actor to be set to persist upon targeting a player."
|
||||
},
|
||||
"swing": {
|
||||
"title": "Swing",
|
||||
|
||||
@@ -11,17 +11,17 @@
|
||||
"liquid_y_offset": {
|
||||
"type": "number",
|
||||
"title": "Liquid Y Offset",
|
||||
"description": "Vertical offset from the liquid"
|
||||
"description": "Vertical offset from the liquid."
|
||||
},
|
||||
"rise_delta": {
|
||||
"type": "number",
|
||||
"title": "Rise Delta",
|
||||
"description": "Displacement for how much the entity will move up in the vertical axis"
|
||||
"description": "Displacement for how much the entity will move up in the vertical axis."
|
||||
},
|
||||
"sink_delta": {
|
||||
"type": "number",
|
||||
"title": "Sink Delta",
|
||||
"description": "Displacement for how much the entity will move down in the vertical axis"
|
||||
"description": "Displacement for how much the entity will move down in the vertical axis."
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
@@ -31,4 +31,4 @@
|
||||
"sink_delta": 0.0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.roar",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"type": "object
|
||||
"title": "Roar",
|
||||
"description": "[EXPERIMENTAL BEHAVIOR] Plays the provided sound and activates the `ROARING` actor flag during the specified duration",
|
||||
"properties": {
|
||||
@@ -12,7 +12,7 @@
|
||||
"title": "Duration",
|
||||
"type": "number",
|
||||
"default": 0.0,
|
||||
"description": "Goal duration in seconds"
|
||||
"description": "Goal duration in seconds."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"sound_interval": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "The interval in which a sound will play when active in a 1/delay chance to kick off",
|
||||
"description": "The interval in which a sound will play when active in a 1/delay chance to kick off.",
|
||||
"title": "Sound Interval"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"definitions": {
|
||||
"sequence": {
|
||||
"type": "array",
|
||||
"description": "List of events to send",
|
||||
"description": "List of events to send.",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
@@ -15,17 +15,17 @@
|
||||
"base_delay": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Amount of time in seconds before starting this step"
|
||||
"description": "Amount of time in seconds before starting this step."
|
||||
},
|
||||
"event": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "The event to send to the entity"
|
||||
"description": "The event to send to the entity."
|
||||
},
|
||||
"sound_event": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "The sound event to play when this step happens"
|
||||
"description": "The sound event to play when this step happens."
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -37,51 +37,51 @@
|
||||
},
|
||||
"cast_duration": {
|
||||
"type": "number",
|
||||
"description": "Time in seconds for the entire event sending process",
|
||||
"description": "Time in seconds for the entire event sending process.",
|
||||
"title": "Cast Duration"
|
||||
},
|
||||
"look_at_target": {
|
||||
"title": "Look At Target",
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "If true, the mob will face the entity it sends an event to"
|
||||
"description": "If true, the mob will face the entity it sends an event to."
|
||||
},
|
||||
"event_choices": {
|
||||
"type": "array",
|
||||
"title": "Event Choices",
|
||||
"description": "List of spells for the mob to use",
|
||||
"description": "List of spells for the mob to use.",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"title": "Event Choice",
|
||||
"description": "A spell that the mob can cast",
|
||||
"description": "A spell that the mob can cast.",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"properties": {
|
||||
"min_activation_range": {
|
||||
"type": "number",
|
||||
"title": "Minimum Activation Range",
|
||||
"description": "The minimum distance in blocks the target must be for this spell to be cast",
|
||||
"description": "The minimum distance in blocks the target must be for this spell to be cast.",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"minimum": 0
|
||||
},
|
||||
"max_activation_range": {
|
||||
"type": "number",
|
||||
"title": "Maxmimum Activation Range",
|
||||
"description": "The maxmimum distance in blocks the target must be for this spell to be cast",
|
||||
"description": "The maxmimum distance in blocks the target must be for this spell to be cast.",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"minimum": 0
|
||||
},
|
||||
"cooldown_time": {
|
||||
"type": "number",
|
||||
"title": "Cooldown Time",
|
||||
"description": "Time in seconds before the mob can use this spell again",
|
||||
"description": "Time in seconds before the mob can use this spell again.",
|
||||
"$comment": "UNDOCUMENTED"
|
||||
},
|
||||
"cast_duration": {
|
||||
"type": "number",
|
||||
"title": "Cast Duration",
|
||||
"description": "Time in seconds the spell casting will take",
|
||||
"description": "Time in seconds the spell casting will take.",
|
||||
"$comment": "UNDOCUMENTED"
|
||||
},
|
||||
"filters": {
|
||||
@@ -91,7 +91,7 @@
|
||||
"type": "string",
|
||||
"format": "color-hex",
|
||||
"title": "Particle Color",
|
||||
"description": "The color of the particles for this spell",
|
||||
"description": "The color of the particles for this spell.",
|
||||
"$comment": "UNDOCUMENTED"
|
||||
},
|
||||
"weight": {
|
||||
@@ -103,7 +103,7 @@
|
||||
"start_sound_event": {
|
||||
"type": "string",
|
||||
"title": "Start Sound Event",
|
||||
"description": "The sound event to play when using this spell",
|
||||
"description": "The sound event to play when using this spell.",
|
||||
"$comment": "UNDOCUMENTED"
|
||||
},
|
||||
"sequence": {
|
||||
@@ -114,7 +114,7 @@
|
||||
},
|
||||
"sequence": {
|
||||
"$ref": "#/definitions/sequence",
|
||||
"description": "List of steps for the spell",
|
||||
"description": "List of steps for the spell.",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Sequence"
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
||||
"entity_types": {
|
||||
"$ref": "../types/entity_types.json",
|
||||
"description": "List of entities this mob will share items with",
|
||||
"description": "List of entities this mob will share items with.",
|
||||
"title": "Entity Types"
|
||||
},
|
||||
"goal_radius": {
|
||||
@@ -22,7 +22,7 @@
|
||||
"max_dist": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Maximum distance in blocks this mob will look for entities to share items with",
|
||||
"description": "Maximum distance in blocks this mob will look for entities to share items with.",
|
||||
"title": "Maximum Distance"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
"within_radius": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Distance in blocks that the player has to be within to trigger the horse trap",
|
||||
"description": "Distance in blocks that the player has to be within to trigger the horse trap.",
|
||||
"title": "Within Radius"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -12,37 +12,37 @@
|
||||
"title": "Can Sleep While Riding",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, the mob will be able to use the sleep goal if riding something"
|
||||
"description": "If true, the mob will be able to use the sleep goal if riding something."
|
||||
},
|
||||
"cooldown_time": {
|
||||
"title": "Cooldown Time",
|
||||
"type": "number",
|
||||
"default": 0.0,
|
||||
"description": "Time in seconds the mob has to wait before using the goal again"
|
||||
"description": "Time in seconds the mob has to wait before using the goal again."
|
||||
},
|
||||
"sleep_collider_height": {
|
||||
"title": "Sleep Collider Height",
|
||||
"type": "number",
|
||||
"default": 1.0,
|
||||
"description": "The height of the mob's collider while sleeping"
|
||||
"description": "The height of the mob's collider while sleeping."
|
||||
},
|
||||
"sleep_collider_width": {
|
||||
"title": "Sleep Collider Width",
|
||||
"type": "number",
|
||||
"default": 1.0,
|
||||
"description": "The width of the mob's collider while sleeping"
|
||||
"description": "The width of the mob's collider while sleeping."
|
||||
},
|
||||
"sleep_y_offset": {
|
||||
"title": "Sleep Y Offset",
|
||||
"type": "number",
|
||||
"default": 1.0,
|
||||
"description": "The y offset of the mob's collider while sleeping"
|
||||
"description": "The y offset of the mob's collider while sleeping."
|
||||
},
|
||||
"timeout_cooldown": {
|
||||
"title": "Timeout Cooldown",
|
||||
"type": "number",
|
||||
"default": 8.0,
|
||||
"description": "The cooldown time in seconds before the goal can be reused after a internal failure or timeout condition"
|
||||
"description": "The cooldown time in seconds before the goal can be reused after a internal failure or timeout condition."
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
"title": "Set Persistent",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Allows the actor to be set to persist upon targeting a player"
|
||||
"description": "Allows the actor to be set to persist upon targeting a player."
|
||||
},
|
||||
"x_max_rotation": {
|
||||
"title": "X Max Rotation",
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
},
|
||||
"items": {
|
||||
"title": "Items",
|
||||
"description": "Items that we are interested in snacking on",
|
||||
"description": "Items that we are interested in snacking on.",
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
@@ -28,18 +28,18 @@
|
||||
"snacking_cooldown": {
|
||||
"type": "number",
|
||||
"default": 7.5,
|
||||
"description": "The cooldown time in seconds before the mob is able to snack again",
|
||||
"description": "The cooldown time in seconds before the mob is able to snack again.",
|
||||
"title": "Snacking Cooldown"
|
||||
},
|
||||
"snacking_cooldown_min": {
|
||||
"type": "number",
|
||||
"default": 0.5,
|
||||
"description": "The minimum time in seconds before the mob is able to snack again",
|
||||
"description": "The minimum time in seconds before the mob is able to snack again.",
|
||||
"title": "Snacking Cooldown Minimum"
|
||||
},
|
||||
"snacking_stop_chance": {
|
||||
"type": "number",
|
||||
"description": "This is the chance that the mob will stop snacking, from 0 to 1",
|
||||
"description": "This is the chance that the mob will stop snacking, from 0 to 1.",
|
||||
"title": "Snacking Stop Chance"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"cooldown_time": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Time in seconds the mob has to wait before using the goal again",
|
||||
"description": "Time in seconds the mob has to wait before using the goal again.",
|
||||
"title": "Cooldown Time"
|
||||
},
|
||||
"drop_item_chance": {
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
"title": "Duration",
|
||||
"type": "number",
|
||||
"default": 3.0,
|
||||
"description": "Goal duration in seconds"
|
||||
"description": "Goal duration in seconds."
|
||||
},
|
||||
"duration_until_attack_sound": {
|
||||
"title": "Duration Until Attack Sound",
|
||||
|
||||
@@ -17,60 +17,60 @@
|
||||
"leap_distance": {
|
||||
"type": "number",
|
||||
"default": 0.8,
|
||||
"description": "The distance in blocks the mob jumps in the direction of its target",
|
||||
"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",
|
||||
"description": "The height in blocks the mob jumps when leaping at its target.",
|
||||
"title": "Leap Height"
|
||||
},
|
||||
"max_stalk_dist": {
|
||||
"type": "number",
|
||||
"default": 10,
|
||||
"description": "The maximum distance away a target can be before the mob gives up on stalking",
|
||||
"description": "The maximum distance away a target can be before the mob gives up on stalking.",
|
||||
"title": "Maximum Stalk Dist"
|
||||
},
|
||||
"pounce_max_dist": {
|
||||
"type": "number",
|
||||
"default": 5,
|
||||
"description": "The maximum distance away from the target in blocks to begin pouncing at the target",
|
||||
"description": "The maximum distance away from the target in blocks to begin pouncing at the target.",
|
||||
"title": "Pounce Maximum Dist"
|
||||
},
|
||||
"set_persistent": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Allows the actor to be set to persist upon targeting a player",
|
||||
"description": "Allows the actor to be set to persist upon targeting a player.",
|
||||
"title": "Set Persistent"
|
||||
},
|
||||
"stalk_speed": {
|
||||
"type": "number",
|
||||
"default": 1.2,
|
||||
"description": "The movement speed in which you stalk your target",
|
||||
"description": "The movement speed in which you stalk your target.",
|
||||
"title": "Stalk Speed"
|
||||
},
|
||||
"strike_dist": {
|
||||
"type": "number",
|
||||
"default": 2,
|
||||
"description": "The Maximum distance away from the target when landing from the pounce that will still result in damaging the target",
|
||||
"description": "The Maximum distance away from the target when landing from the pounce that will still result in damaging the target.",
|
||||
"title": "Strike Dist"
|
||||
},
|
||||
"stuck_time": {
|
||||
"type": "number",
|
||||
"default": 2,
|
||||
"description": "The amount of time the mob will be stuck if they fail and land on a block they can be stuck on",
|
||||
"description": "The amount of time the mob will be stuck if they fail and land on a block they can be stuck on.",
|
||||
"title": "Stuck Time"
|
||||
},
|
||||
"leap_dist": {
|
||||
"type": "number",
|
||||
"description": "The distance in blocks the mob jumps in the direction of their target",
|
||||
"description": "The distance in blocks the mob jumps in the direction of their target.",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Leap Dist"
|
||||
},
|
||||
"stuck_blocks": {
|
||||
"$ref": "../../filters/filters.json",
|
||||
"description": "Filters to apply on the block the mob lands on to determine if it is valid for getting stuck",
|
||||
"description": "Filters to apply on the block the mob lands on to determine if it is valid for getting stuck.",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Stuck Block"
|
||||
}
|
||||
|
||||
@@ -113,7 +113,7 @@
|
||||
"title": "Set Persistent",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Allows the actor to be set to persist upon targeting a player"
|
||||
"description": "Allows the actor to be set to persist upon targeting a player."
|
||||
},
|
||||
"stomp_range_multiplier": {
|
||||
"title": "Stomp Range Multiplier",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.stomp_turtle_egg",
|
||||
"description": "Allows this mob to stomp turtle eggs",
|
||||
"description": "Allows this mob to stomp turtle eggs.",
|
||||
"type": "object",
|
||||
"title": "Stomp Turtle Egg",
|
||||
"additionalProperties": false,
|
||||
@@ -28,13 +28,13 @@
|
||||
"search_height": {
|
||||
"type": "integer",
|
||||
"default": 1,
|
||||
"description": "Height in blocks the mob will look for turtle eggs to move towards",
|
||||
"description": "Height in blocks the mob will look for turtle eggs to move towards.",
|
||||
"title": "Search Height"
|
||||
},
|
||||
"search_range": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "The distance in blocks it will look for turtle eggs to move towards",
|
||||
"description": "The distance in blocks it will look for turtle eggs to move towards.",
|
||||
"title": "Search Range"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
"cooldown_time": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Time in seconds the mob has to wait before using the goal again",
|
||||
"description": "Time in seconds the mob has to wait before using the goal again.",
|
||||
"title": "Cooldown Time"
|
||||
},
|
||||
"goal_radius": {
|
||||
@@ -29,13 +29,13 @@
|
||||
"speed_multiplier": {
|
||||
"type": "number",
|
||||
"default": 1,
|
||||
"description": "Movement speed multiplier of the mob when using this AI Goal",
|
||||
"description": "Movement speed multiplier of the mob when using this AI Goal.",
|
||||
"title": "Speed Multiplier"
|
||||
},
|
||||
"start_chance": {
|
||||
"type": "number",
|
||||
"default": 0.1,
|
||||
"description": "This is the chance that the mob will start this goal, from 0 to 1",
|
||||
"description": "This is the chance that the mob will start this goal, from 0 to 1.",
|
||||
"title": "Start Chance"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
},
|
||||
"summon_choices": {
|
||||
"type": "array",
|
||||
"description": "List of spells for the mob to use to summon entities",
|
||||
"description": "List of spells for the mob to use to summon entities.",
|
||||
"title": "Summon Choices",
|
||||
"items": {
|
||||
"type": "object",
|
||||
@@ -19,19 +19,19 @@
|
||||
"properties": {
|
||||
"cast_duration": {
|
||||
"type": "number",
|
||||
"description": "Time in seconds the spell casting will take",
|
||||
"description": "Time in seconds the spell casting will take.",
|
||||
"title": "Cast Duration"
|
||||
},
|
||||
"cooldown_time": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Time in seconds the mob has to wait before using the spell again",
|
||||
"description": "Time in seconds the mob has to wait before using the spell again.",
|
||||
"title": "Cooldown Time"
|
||||
},
|
||||
"do_casting": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "If true, the mob will do the casting animations and render spell particles",
|
||||
"description": "If true, the mob will do the casting animations and render spell particles.",
|
||||
"title": "Do Casting"
|
||||
},
|
||||
"filters": {
|
||||
@@ -40,17 +40,17 @@
|
||||
"max_activation_range": {
|
||||
"type": "number",
|
||||
"default": -1,
|
||||
"description": "Upper bound of the activation distance in blocks for this spell",
|
||||
"description": "Upper bound of the activation distance in blocks for this spell.",
|
||||
"title": "Maximum Activation Range"
|
||||
},
|
||||
"min_activation_range": {
|
||||
"type": "number",
|
||||
"default": 1,
|
||||
"description": "Lower bound of the activation distance in blocks for this spell",
|
||||
"description": "Lower bound of the activation distance in blocks for this spell.",
|
||||
"title": "Minimum Activation Range"
|
||||
},
|
||||
"particle_color": {
|
||||
"description": "The color of the particles for this spell",
|
||||
"description": "The color of the particles for this spell.",
|
||||
"title": "Particle Color",
|
||||
"oneOf": [
|
||||
{
|
||||
@@ -65,7 +65,7 @@
|
||||
},
|
||||
"sequence": {
|
||||
"type": "array",
|
||||
"description": "List of steps for the spell",
|
||||
"description": "List of steps for the spell.",
|
||||
"title": "Sequence",
|
||||
"items": {
|
||||
"type": "object",
|
||||
@@ -75,14 +75,14 @@
|
||||
"delay": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Amount of time in seconds to wait before this step starts",
|
||||
"description": "Amount of time in seconds to wait before this step starts.",
|
||||
"title": "Delay"
|
||||
},
|
||||
"delay_per_summon": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"title": "Delay Per Summon",
|
||||
"description": "Amount of time in seconds before each entity is summoned in this step"
|
||||
"description": "Amount of time in seconds before each entity is summoned in this step."
|
||||
},
|
||||
"entity_lifespan": {
|
||||
"type": "number",
|
||||
@@ -93,18 +93,18 @@
|
||||
"base_delay": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Amount of time in seconds to wait before this step starts",
|
||||
"description": "Amount of time in seconds to wait before this step starts.",
|
||||
"title": "Base Delay"
|
||||
},
|
||||
"entity_type": {
|
||||
"type": "string",
|
||||
"description": "The entity type of the entities we will spawn in this step",
|
||||
"description": "The entity type of the entities we will spawn in this step.",
|
||||
"title": "Entity Type"
|
||||
},
|
||||
"num_entities_spawned": {
|
||||
"type": "integer",
|
||||
"default": 1,
|
||||
"description": "Number of entities that will be spawned in this step",
|
||||
"description": "Number of entities that will be spawned in this step.",
|
||||
"title": "Number Entities Spawned"
|
||||
},
|
||||
"shape": {
|
||||
@@ -116,24 +116,24 @@
|
||||
"size": {
|
||||
"type": "number",
|
||||
"default": 1,
|
||||
"description": "The base size of the entity",
|
||||
"description": "The base size of the entity.",
|
||||
"title": "Size"
|
||||
},
|
||||
"sound_event": {
|
||||
"type": "string",
|
||||
"description": "The sound event to play for this step",
|
||||
"description": "The sound event to play for this step.",
|
||||
"title": "Sound Event"
|
||||
},
|
||||
"summon_cap": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "Maximum number of summoned entities at any given time",
|
||||
"description": "Maximum number of summoned entities at any given time.",
|
||||
"title": "Summon Cap"
|
||||
},
|
||||
"summon_cap_radius": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Maximum radius where the summon entities can spawn",
|
||||
"description": "Maximum radius where the summon entities can spawn.",
|
||||
"title": "Summon Cap Radius"
|
||||
},
|
||||
"target": {
|
||||
@@ -147,7 +147,7 @@
|
||||
},
|
||||
"start_sound_event": {
|
||||
"type": "string",
|
||||
"description": "The sound event to play when using this spell",
|
||||
"description": "The sound event to play when using this spell.",
|
||||
"title": "Start Sound Event"
|
||||
},
|
||||
"weight": {
|
||||
|
||||
@@ -12,13 +12,13 @@
|
||||
"start_distance": {
|
||||
"type": "number",
|
||||
"default": 10,
|
||||
"description": "This mob starts swelling when a target is at least this many blocks away",
|
||||
"description": "This mob starts swelling when a target is at least this many blocks away.",
|
||||
"title": "Start Distance"
|
||||
},
|
||||
"stop_distance": {
|
||||
"type": "number",
|
||||
"default": 2,
|
||||
"description": "This mob stops swelling when a target has moved away at least this many blocks",
|
||||
"description": "This mob stops swelling when a target has moved away at least this many blocks.",
|
||||
"title": "Stop Distance"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.swim_wander",
|
||||
"description": "Has the fish swim around when they can't pathfind",
|
||||
"description": "Has the fish swim around when they can't pathfind.",
|
||||
"type": "object",
|
||||
"title": "Swim Wander",
|
||||
"additionalProperties": false,
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
"title": "Match Direction Threshold",
|
||||
"type": "number",
|
||||
"default": 2,
|
||||
"description": "Distance, from the entity being followed, at which this entity will try to match that entity's direction"
|
||||
"description": "Distance, from the entity being followed, at which this entity will try to match that entity's direction."
|
||||
},
|
||||
"catch_up_multiplier": {
|
||||
"title": "Catch Up Multiplier",
|
||||
@@ -59,7 +59,7 @@
|
||||
"entity_types": {
|
||||
"$ref": "../types/entity_types.json",
|
||||
"title": "Entity Types",
|
||||
"description": "Filters which determine what entites are valid to follow"
|
||||
"description": "Filters which determine what entites are valid to follow."
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"entity_types": {
|
||||
"title": "Entity Types",
|
||||
"$ref": "../types/entity_types.json",
|
||||
"description": "The list of conditions the other entity must meet to be a valid target"
|
||||
"description": "The list of conditions the other entity must meet to be a valid target."
|
||||
},
|
||||
"percent_chance": {
|
||||
"title": "Percent Chance",
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
"items": {
|
||||
"type": "array",
|
||||
"title": "Items",
|
||||
"description": "List of items this mob is tempted by",
|
||||
"description": "List of items this mob is tempted by.",
|
||||
"items": {
|
||||
"$ref": "../../../../general/item/identifier.json"
|
||||
}
|
||||
@@ -57,7 +57,7 @@
|
||||
"within_radius": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Distance in blocks this mob can get tempted by a player holding an item they like",
|
||||
"description": "Distance in blocks this mob can get tempted by a player holding an item they like.",
|
||||
"title": "Within Radius"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -12,31 +12,31 @@
|
||||
"carried_item_switch_time": {
|
||||
"type": "number",
|
||||
"default": 2,
|
||||
"description": "The Maximum time in seconds that the trader will hold an item before attempting to switch for a different item that takes the same trade",
|
||||
"description": "The Maximum 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",
|
||||
"description": "The time in seconds before the trader can use this goal again.",
|
||||
"title": "Cooldown"
|
||||
},
|
||||
"interest_time": {
|
||||
"type": "number",
|
||||
"default": 45,
|
||||
"description": "The Maximum time in seconds that the trader will be interested with showing it's trade items",
|
||||
"description": "The Maximum time in seconds that the trader will be interested with showing it's trade items.",
|
||||
"title": "Interest_time"
|
||||
},
|
||||
"remove_item_time": {
|
||||
"type": "number",
|
||||
"default": 1,
|
||||
"description": "The Maximum time in seconds that the trader will wait when you no longer have items to trade",
|
||||
"description": "The Maximum time in seconds that the trader will wait when you no longer have items to trade.",
|
||||
"title": "Remove Item Time"
|
||||
},
|
||||
"within_radius": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Distance in blocks this mob can be interested by a player holding an item they like",
|
||||
"description": "Distance in blocks this mob can be interested by a player holding an item they like.",
|
||||
"title": "Within Radius"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
},
|
||||
"entity_types": {
|
||||
"$ref": "../types/entity_types.json",
|
||||
"description": "List of entity types the wither takes into account to find who dealt the most damage to it",
|
||||
"description": "List of entity types the wither takes into account to find who dealt the most damage to it.",
|
||||
"title": "Entity Types"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.work",
|
||||
"type": "object",
|
||||
"title": "Work",
|
||||
"description": "Allows the NPC to use the POI",
|
||||
"description": "Allows the NPC to use the POI.",
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
@@ -12,7 +12,7 @@
|
||||
"title": "Active Time",
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "The amount of ticks the NPC will stay in their the work location"
|
||||
"description": "The amount of ticks the NPC will stay in their the work location."
|
||||
},
|
||||
"can_work_in_rain": {
|
||||
"title": "Can Work In Rain",
|
||||
@@ -24,7 +24,7 @@
|
||||
"title": "Goal Cooldown",
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "The amount of ticks the goal will be on cooldown before it can be used again"
|
||||
"description": "The amount of ticks the goal will be on cooldown before it can be used again."
|
||||
},
|
||||
"on_arrival": {
|
||||
"title": "On Arrival",
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"title": "Active Time",
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "The amount of ticks the NPC will stay in their the work location"
|
||||
"description": "The amount of ticks the NPC will stay in their the work location."
|
||||
},
|
||||
"block_interaction_max": {
|
||||
"title": "Block Interaction Max",
|
||||
@@ -42,7 +42,7 @@
|
||||
"title": "Goal Cooldown",
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "The amount of ticks the goal will be on cooldown before it can be used again"
|
||||
"description": "The amount of ticks the goal will be on cooldown before it can be used again."
|
||||
},
|
||||
"items_per_use_max": {
|
||||
"title": "Items Per Use Max",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Components",
|
||||
"description": "A collection of components",
|
||||
"description": "A collection of components.",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"minecraft:addrider": { "$ref": "./components/addrider.json" },
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
"description": "Adds a rider to the entity. Requires `minecraft:rideable.`",
|
||||
"required": ["entity_type"],
|
||||
"properties": {
|
||||
"entity_type": { "type": "string", "description": "The entity type that will be riding this entity", "title": "Entity Type" },
|
||||
"spawn_event": { "type": "string", "description": "The spawn event that will be used when the riding entity is created", "title": "Spawn Event" }
|
||||
"entity_type": { "type": "string", "description": "The entity type that will be riding this entity.", "title": "Entity Type" },
|
||||
"spawn_event": { "type": "string", "description": "The spawn event that will be used when the riding entity is created.", "title": "Spawn Event" }
|
||||
},
|
||||
"examples": [{ "entity_type": "minecraft:rabbit" }, { "entity_type": "minecraft:rabbit", "spawn_event": "self:example" }]
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"cooldown_after_being_attacked": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "Duration, in seconds, for which mob won't admire items if it was hurt",
|
||||
"description": "Duration, in seconds, for which mob won't admire items if it was hurt.",
|
||||
"title": "Cooldown After Being Attacked"
|
||||
},
|
||||
"duration": {
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
"properties": {
|
||||
"condition": {
|
||||
"type": "string",
|
||||
"description": "The condition that must be satisfied to select the given ambient sound",
|
||||
"description": "The condition that must be satisfied to select the given ambient sound.",
|
||||
"title": "Condition"
|
||||
},
|
||||
"event_name": {
|
||||
|
||||
@@ -17,14 +17,14 @@
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"default": 20,
|
||||
"description": "Anger boost applied to angry threshold when mob gets angry"
|
||||
"description": "Anger boost applied to angry threshold when mob gets angry."
|
||||
},
|
||||
"angry_threshold": {
|
||||
"title": "Angry Threshold",
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"default": 80,
|
||||
"description": "Threshold that define when the mob is considered angry at a nuisance"
|
||||
"description": "Threshold that define when the mob is considered angry at a nuisance."
|
||||
},
|
||||
"default_annoyingness": {
|
||||
"title": "Default Annoyingness",
|
||||
@@ -42,7 +42,7 @@
|
||||
"nuisance_filter": {
|
||||
"title": "Nuisance Filter",
|
||||
"$ref": "../../filters/filters.json",
|
||||
"description": "Filter that is applied to determine if a mob can be a nuisance"
|
||||
"description": "Filter that is applied to determine if a mob can be a nuisance."
|
||||
},
|
||||
"on_increase_sounds": {
|
||||
"title": "On Increase Sounds",
|
||||
@@ -52,7 +52,7 @@
|
||||
"title": "Remove Targets Below Angry Threshold",
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "Defines if the mob should remove target if it falls below 'angry' threshold"
|
||||
"description": "Defines if the mob should remove target if it falls below 'angry' threshold."
|
||||
}
|
||||
},
|
||||
"examples": []
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"$id": "blockception.minecraft.behavior.entities.minecraft.angry",
|
||||
"type": "object",
|
||||
"title": "Angry",
|
||||
"description": "Defines the entity's 'angry' state using a timer",
|
||||
"description": "Defines the entity's 'angry' state using a timer.",
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
@@ -10,72 +10,71 @@
|
||||
"title": "Broadcast Anger",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, other entities of the same entity definition within the broadcastRange will also become angry"
|
||||
"description": "If true, other entities of the same entity definition within the broadcastRange will also become angry."
|
||||
},
|
||||
"broadcast_filters": {
|
||||
"title": "Broadcast Filters",
|
||||
"$ref": "../../filters/filters.json",
|
||||
"description": "Conditions that make this entry in the list valid"
|
||||
"description": "Conditions that make this entry in the list valid."
|
||||
},
|
||||
"filters": {
|
||||
"$ref": "../../filters/filters.json",
|
||||
"description": "Filter out mob types that it should not attack while angry (other Piglins)"
|
||||
"description": "Filter out mob types that it should not attack while angry (other Piglins)."
|
||||
},
|
||||
"broadcast_range": {
|
||||
"title": "Broadcast Range",
|
||||
"type": "integer",
|
||||
"default": 20,
|
||||
"description": "Distance in blocks within which other entities of the same entity definition will become angry"
|
||||
"description": "Distance in blocks within which other entities of the same entity definition will become angry."
|
||||
},
|
||||
"broadcast_targets": {
|
||||
"title": "Broadcast Targets",
|
||||
"type": "array",
|
||||
"description": "A list of entity families to broadcast anger to",
|
||||
"description": "A list of entity families to broadcast anger to.",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"description": "An entity family",
|
||||
"description": "An entity family.",
|
||||
"pattern": "^.+$",
|
||||
"title": "Broadcast Targets"
|
||||
},
|
||||
|
||||
}
|
||||
},
|
||||
"calm_event": {
|
||||
"title": "Calm Event",
|
||||
"title": "Calm Event",
|
||||
"$ref": "../types/event.json",
|
||||
"description": "Event to run after the number of seconds specified in duration expires (when the entity stops being \"angry\")"
|
||||
"description": "Event to run after the number of seconds specified in duration expires (when the entity stops being \"angry\")"
|
||||
},
|
||||
"angry_sound": {
|
||||
"title": "Angry Sound",
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "The sound event to play when the mob is angry"
|
||||
"description": "The sound event to play when the mob is angry."
|
||||
},
|
||||
"broadcast_anger_on_attack": {
|
||||
"title": "Broadcast Anger On Attack",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, other entities of the same entity definition within the broadcastRange will also become angry whenever this mob attacks"
|
||||
"description": "If true, other entities of the same entity definition within the broadcastRange will also become angry whenever this mob attacks."
|
||||
},
|
||||
"broadcast_anger_on_being_attacked": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, other entities of the same entity definition within the broadcastRange will also become angry whenever this mob is attacked",
|
||||
"description": "If true, other entities of the same entity definition within the broadcastRange will also become angry whenever this mob is attacked.",
|
||||
"title": "Broadcast Anger On Being Attacked"
|
||||
},
|
||||
"duration": {
|
||||
"title": "Duration",
|
||||
"type": "integer",
|
||||
"default": 25,
|
||||
"description": "The amount of time in seconds that the entity will be angry"
|
||||
"description": "The amount of time in seconds that the entity will be angry."
|
||||
},
|
||||
"duration_delta": {
|
||||
"title": "Duration Delta",
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "Variance in seconds added to the duration [-delta, delta]"
|
||||
"description": "Variance in seconds added to the duration [-delta, delta]."
|
||||
},
|
||||
"sound_interval": {
|
||||
"description": "The range of time in seconds to randomly wait before playing the sound again",
|
||||
"description": "The range of time in seconds to randomly wait before playing the sound again.",
|
||||
"title": "Sound Interval",
|
||||
"oneOf": [
|
||||
{
|
||||
@@ -85,14 +84,14 @@
|
||||
{
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"description": "The minimum interval",
|
||||
"description": "The minimum interval.",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Minimum"
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"description": "The maximum interval",
|
||||
"description": "The maximum interval.",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Maximum"
|
||||
}
|
||||
@@ -104,13 +103,13 @@
|
||||
"properties": {
|
||||
"range_min": {
|
||||
"type": "number",
|
||||
"description": "The minimum interval",
|
||||
"description": "The minimum interval.",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Range Minimum"
|
||||
},
|
||||
"range_max": {
|
||||
"type": "number",
|
||||
"description": "The maximum interval",
|
||||
"description": "The maximum interval.",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Range Maximum"
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.minecraft.annotation.break_door",
|
||||
"additionalProperties": false,
|
||||
"description": "Allows the actor to break doors assuming that that flags set up for the component to use in navigation",
|
||||
"description": "Allows the actor to break doors assuming that that flags set up for the component to use in navigation.",
|
||||
"type": "object",
|
||||
"title": "Annotation.break Door",
|
||||
"required": [],
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.minecraft.annotation.open_door",
|
||||
"additionalProperties": false,
|
||||
"description": "Allows the actor to open doors assuming that that flags set up for the component to use in navigation",
|
||||
"description": "Allows the actor to open doors assuming that that flags set up for the component to use in navigation.",
|
||||
"type": "object",
|
||||
"title": "Annotation.open Door",
|
||||
"required": [],
|
||||
|
||||
@@ -19,12 +19,12 @@
|
||||
},
|
||||
"entity_filter": {
|
||||
"$ref": "../../filters/filters.json",
|
||||
"description": "Filter to see which entities can be affected by the attack",
|
||||
"description": "Filter to see which entities can be affected by the attack.",
|
||||
"title": "Entity Filter"
|
||||
},
|
||||
"cause": {
|
||||
"type": "string",
|
||||
"description": "what causes the attack to occur",
|
||||
"description": "what causes the attack to occur.",
|
||||
"title": "Cause",
|
||||
"$ref": "../../../../general/entity/damage_source.json"
|
||||
}
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
"properties": {
|
||||
"value": {
|
||||
"type": "number",
|
||||
"description": "UNDOCUMENTED: value",
|
||||
"description": "UNDOCUMENTED: value.",
|
||||
"title": "Value"
|
||||
}
|
||||
},
|
||||
"description": "UNDOCUMENTED",
|
||||
"description": "UNDOCUMENTED.",
|
||||
"examples": [
|
||||
{
|
||||
"value": 0.0
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
"properties": {
|
||||
"mass": {
|
||||
"type": "number",
|
||||
"description": "UNDOCUMENTED: mass",
|
||||
"description": "UNDOCUMENTED: mass.",
|
||||
"title": "Mass"
|
||||
}
|
||||
},
|
||||
"description": "UNDOCUMENTED",
|
||||
"description": "UNDOCUMENTED.",
|
||||
"examples": [
|
||||
{
|
||||
"mass": 0.0
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
"cooldown_after_being_attacked": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "Duration, in seconds, for which mob won't barter items if it was hurt",
|
||||
"description": "Duration, in seconds, for which mob won't barter items if it was hurt.",
|
||||
"title": "Cooldown After Being Attacked"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
"items": {
|
||||
"title": "On Block Broken",
|
||||
"type": "object",
|
||||
"description": "Event to run when a block breaks",
|
||||
"description": "Event to run when a block breaks.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"block_list": {
|
||||
@@ -34,7 +34,7 @@
|
||||
"on_block_broken": {
|
||||
"title": "On Block Broken",
|
||||
"type": "string",
|
||||
"description": "Event to run when a block breaks"
|
||||
"description": "Event to run when a block breaks."
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -48,9 +48,9 @@
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"test": "has_silk_touch",
|
||||
"subject": "other",
|
||||
"value": false
|
||||
"test": "has_silk_touch",
|
||||
"subject": "other",
|
||||
"value": false
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"type": "object",
|
||||
"title": "Boostable",
|
||||
"additionalProperties": false,
|
||||
"description": "Defines the conditions and behavior of a rideable entity's boost",
|
||||
"description": "Defines the conditions and behavior of a rideable entity's boost.",
|
||||
"properties": {
|
||||
"duration": {
|
||||
"type": "number",
|
||||
@@ -19,7 +19,7 @@
|
||||
},
|
||||
"boost_items": {
|
||||
"type": "array",
|
||||
"description": "List of items that can be used to boost while riding this entity",
|
||||
"description": "List of items that can be used to boost while riding this entity.",
|
||||
"title": "Boost Items",
|
||||
"items": {
|
||||
"type": "object",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"type": "object",
|
||||
"title": "Boss",
|
||||
"additionalProperties": false,
|
||||
"description": "The current state of the boss for updating the boss HUD",
|
||||
"description": "The current state of the boss for updating the boss HUD.",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"hud_range": {
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
"breakable_blocks": {
|
||||
"type": "array",
|
||||
"title": "Breakable Blocks",
|
||||
"description": "A list of the blocks that can be broken as this entity moves around",
|
||||
"description": "A list of the blocks that can be broken as this entity moves around.",
|
||||
"items": {
|
||||
"$ref": "../../../../general/blocks_item.json"
|
||||
}
|
||||
|
||||
@@ -9,54 +9,54 @@
|
||||
"total_supply": {
|
||||
"type": "integer",
|
||||
"default": 15,
|
||||
"description": "Time in seconds the entity can hold its breath",
|
||||
"description": "Time in seconds the entity can hold its breath.",
|
||||
"title": "Total Supply"
|
||||
},
|
||||
"suffocate_time": {
|
||||
"type": "integer",
|
||||
"default": -20,
|
||||
"description": "Time in seconds between suffocation damage",
|
||||
"description": "Time in seconds between suffocation damage.",
|
||||
"title": "Suffocate Time"
|
||||
},
|
||||
"inhale_time": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Time in seconds to recover breath to maximum",
|
||||
"description": "Time in seconds to recover breath to maximum.",
|
||||
"title": "Inhale Time"
|
||||
},
|
||||
"breathes_air": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "If true, this entity can breathe in air",
|
||||
"description": "If true, this entity can breathe in air.",
|
||||
"title": "Breathes Air"
|
||||
},
|
||||
"breathes_water": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, this entity can breathe in water",
|
||||
"description": "If true, this entity can breathe in water.",
|
||||
"title": "Breathes Water"
|
||||
},
|
||||
"breathes_lava": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, this entity can breathe in lava",
|
||||
"description": "If true, this entity can breathe in lava.",
|
||||
"title": "Breathes Lava"
|
||||
},
|
||||
"breathes_solids": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, this entity can breathe in solid blocks",
|
||||
"description": "If true, this entity can breathe in solid blocks.",
|
||||
"title": "Breathes Solids"
|
||||
},
|
||||
"generates_bubbles": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "If true, this entity will have visible bubbles while in water",
|
||||
"description": "If true, this entity will have visible bubbles while in water.",
|
||||
"title": "Generates Bubbles"
|
||||
},
|
||||
"breathe_blocks": {
|
||||
"type": "array",
|
||||
"description": "List of blocks this entity can breathe in, in addition to the above",
|
||||
"description": "List of blocks this entity can breathe in, in addition to the above.",
|
||||
"items": {
|
||||
"$ref": "../../../../general/block/identifier.json"
|
||||
},
|
||||
@@ -64,7 +64,7 @@
|
||||
},
|
||||
"non_breathe_blocks": {
|
||||
"type": "array",
|
||||
"description": "List of blocks this entity can't breathe in, in addition to the above",
|
||||
"description": "List of blocks this entity can't breathe in, in addition to the above.",
|
||||
"items": {
|
||||
"$ref": "../../../../general/block/identifier.json"
|
||||
},
|
||||
|
||||
@@ -87,14 +87,14 @@
|
||||
"title": "Breed Cooldown"
|
||||
},
|
||||
"breed_items": {
|
||||
"description": "The list of items that can be used to get the entity into the `love` state",
|
||||
"description": "The list of items that can be used to get the entity into the `love` state.",
|
||||
"title": "Breed Items",
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"description": "An item that can be used to get the entity into the `love` state",
|
||||
"description": "An item that can be used to get the entity into the `love` state.",
|
||||
"$ref": "../../../../general/item/identifier.json",
|
||||
"title": "Breed Item"
|
||||
}
|
||||
@@ -219,7 +219,7 @@
|
||||
"inherit_tamed": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "If true, the babies will be automatically tamed if its parents are",
|
||||
"description": "If true, the babies will be automatically tamed if its parents are.",
|
||||
"title": "Inherit Tamed"
|
||||
},
|
||||
"require_full_health": {
|
||||
|
||||
@@ -9,14 +9,14 @@
|
||||
"bribe_cooldown": {
|
||||
"type": "number",
|
||||
"default": 2,
|
||||
"description": "Time in seconds before the Entity can be bribed again",
|
||||
"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",
|
||||
"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",
|
||||
"description": "An item that can be used to bribe the entity.",
|
||||
"$ref": "../../../../general/item/identifier.json",
|
||||
"title": "Bribe Items"
|
||||
},
|
||||
|
||||
@@ -19,13 +19,13 @@
|
||||
"celebrate_sound": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "The sound event to play when the mob is celebrating",
|
||||
"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",
|
||||
"description": "Duration, in seconds, of celebration.",
|
||||
"title": "Duration"
|
||||
},
|
||||
"radius": {
|
||||
@@ -36,7 +36,7 @@
|
||||
},
|
||||
"sound_interval": {
|
||||
"default": 0,
|
||||
"description": "The range of time in seconds to randomly wait before playing the sound again",
|
||||
"description": "The range of time in seconds to randomly wait before playing the sound again.",
|
||||
"title": "Sound Interval",
|
||||
"oneOf": [
|
||||
{
|
||||
@@ -62,12 +62,12 @@
|
||||
"range_min": {
|
||||
"type": "number",
|
||||
"title": "Minimum",
|
||||
"description": "Minimum"
|
||||
"description": "Minimum."
|
||||
},
|
||||
"range_max": {
|
||||
"type": "number",
|
||||
"title": "Maximum",
|
||||
"description": "Maximum"
|
||||
"description": "Maximum."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
"value": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "The Palette Color value of the entity",
|
||||
"description": "The Palette Color value of the entity.",
|
||||
"title": "Value"
|
||||
}
|
||||
},
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user