Files
minecraft-bedrock-json-schemas/source/behavior/spawn_rules/components/herd.json

55 lines
1.8 KiB
JSON
Raw Normal View History

2021-10-21 16:39:38 +02:00
{
2021-10-21 16:43:14 +02:00
"$id": "blockception.minecraft.behavior.spawn_rules.minecraft.height_filter",
"title": "Height Filter",
"description": "This component allows players to determine the herd size of animals.",
2021-10-21 16:39:38 +02:00
"definitions": {
"herd": {
"type": "object",
"title": "Herd",
2022-07-22 19:41:04 +02:00
"description": "Herd.",
2021-10-21 16:39:38 +02:00
"additionalProperties": false,
"properties": {
"initial_event": {
"title": "Initial Event",
2024-03-29 18:40:33 +05:00
"description": "Runs an event on the first entities in a group.",
"$comment": "UNDOCUMENTED",
"type": "string"
},
"initial_event_count": {
"title": "Initial Event Count",
2024-03-29 18:40:33 +05:00
"description": "The number of entities that \"initial_event\" should trigger on.",
"$comment": "UNDOCUMENTED",
2024-03-29 18:40:33 +05:00
"type": "integer",
"default": 0
},
"min_size": {
"type": "integer",
"description": "This is the minimum number of mobs that spawn in a herd.",
"title": "Minimum Size"
},
"max_size": {
"type": "integer",
"description": "This is the maximum number of mobs that spawn in a herd.",
2024-03-29 18:40:33 +05:00
"title": "Maximum Size",
"maximum": 8
},
"event": {
"type": "string",
"description": "This is an event that can be triggered from spawning.",
"title": "Event"
},
2021-10-21 16:39:38 +02:00
"event_skip_count": {
"type": "integer",
2022-07-22 19:41:04 +02:00
"description": "This is the number of mobs spawned before the specified event is triggered.",
2024-03-29 18:40:33 +05:00
"title": "Event Skip Count",
"default": 0
2021-10-21 16:39:38 +02:00
}
}
}
},
"oneOf": [
{ "type": "object", "$ref": "#/definitions/herd" },
{ "type": "array", "items": { "$ref": "#/definitions/herd" } }
]
}