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