Files
minecraft-bedrock-json-schemas/source/behavior/spawn_rules/components/herd.json
Piotr Brzozowski 7b875f043a Update documentation for spawn rules (#117)
Documentation updates
2022-10-01 23:03:45 +02:00

52 lines
1.6 KiB
JSON

{
"$id": "blockception.minecraft.behavior.spawn_rules.minecraft.height_filter",
"title": "Height Filter",
"description": "This component allows players to determine the herd size of animals.",
"definitions": {
"herd": {
"type": "object",
"title": "Herd",
"description": "Herd.",
"additionalProperties": false,
"properties": {
"initial_event": {
"title": "Initial Event",
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"type": "string"
},
"initial_event_count": {
"title": "Initial Event Count",
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"type": "integer"
},
"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.",
"title": "Maximum Size"
},
"event": {
"type": "string",
"description": "This is an event that can be triggered from spawning.",
"title": "Event"
},
"event_skip_count": {
"type": "integer",
"description": "This is the number of mobs spawned before the specified event is triggered.",
"title": "Event Skip Count"
}
}
}
},
"oneOf": [
{ "type": "object", "$ref": "#/definitions/herd" },
{ "type": "array", "items": { "$ref": "#/definitions/herd" } }
]
}