Files
minecraft-bedrock-json-schemas/source/behavior/entities/format/components/boss.json

36 lines
964 B
JSON
Raw Normal View History

2021-10-08 12:59:03 +02:00
{
2021-10-08 13:04:13 +02:00
"$id": "blockception.minecraft.behavior.entities.minecraft.boss",
2021-10-08 12:59:03 +02:00
"type": "object",
2021-10-08 13:04:13 +02:00
"title": "Boss",
2021-10-08 12:59:03 +02:00
"additionalProperties": false,
2022-07-22 19:41:04 +02:00
"description": "The current state of the boss for updating the boss HUD.",
2021-10-08 12:59:03 +02:00
"required": [],
"properties": {
"hud_range": {
"type": "integer",
"default": 55,
"description": "The Maximum distance from the boss at which the boss's health bar is present on the players screen.",
"title": "Hud Range"
},
2021-10-11 18:10:42 +02:00
"name": {
"type": "string",
"default": "",
"description": "The name that will be displayed above the boss's health bar.",
"title": "Name"
},
2021-10-08 12:59:03 +02:00
"should_darken_sky": {
"type": "boolean",
"default": false,
"description": "Whether the sky should darken in the presence of the boss.",
"title": "Should Darken Sky"
}
2021-10-11 18:10:42 +02:00
},
"examples": [
{
"hud_range": 55,
"name": "",
"should_darken_sky": false
}
]
2021-10-08 12:59:03 +02:00
}