Entity Documentation - minecraft:boss
minecraft:boss
defines the current state of the boss for updating the boss HUD.
Parameters
Name | Default Value | Type | Description |
---|---|---|---|
hud_range | 55 | Integer | The max distance from the boss at which the boss's health bar appears on the screen. |
name | not set | String | The name that displays above the boss's health bar. |
should_darken_sky | Boolean | false | Whether the sky should darken in the presence of the boss. |
Example
"minecraft:boss":{
"hud_range": 55,
"name": "Spooky Boss!",
"should_darken_sky": true
}
Vanilla entities examples
wither
"minecraft:boss": {
"should_darken_sky": true,
"hud_range": 55
}
Vanilla entities using minecraft:boss
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈