Bossbar
Enhancing Minecraft's bossbar functionality by properly extending it to entities. No more complicated command block setups, lag-inducing detection logic, and poor attempts at recreating the real functionality. Now it works for real.
✅ Features
- Bossbars for entities display the name, current health, and maximum health of the corresponding entity
- Visibility range can be configured for entity bossbars, making them visible only to nearby players
- Default bossbars can be customized (see Configuration section)
- Thicken fog and darken skies with extended functionality for entity bossbars
- Server-side implementation means clients don't need to download the mod to connect
- Easy to use with the
/bossbarcommand - just replace the bossbar ID with a target selector, and done! - Optimized to almost lag-free performance compared to Minecraft's bulky command code
⚙️ Configuration
Settings are located in the config\bossbar.json file.
default:<entity_type>: resource_locationrange: integer - sets the entity bossbar's range. Default:64. Players outside this range won't see the entity bossbardarken_sky: bool - determines if the entity bossbar darkens the sky. Default:falsethicken_fog: bool - determines if the entity bossbar thickens the fog. Default:falsecolor: (blue|green|pink|purple|red|white|yellow) - sets the entity bossbar's bar color. Default:purplestyle: (notched_6|notched_10|notched_12|notched_20|progress) - sets the visual number of segments for the entity bossbar. Default:progress
📖 Syntax
bossbar set <target> (visible|range|darken_sky|thicken_fog|color|style)... visible <visibility>- sets the entity bossbar's visibility. Default:falsefor each entity, disabling their bossbars... range <range>- sets the entity bossbar's range. Default:64. Players outside this range won't see the entity bossbar... darken_sky <darken_sky>- determines if the entity bossbar darkens the sky. Default:false... thicken_fog <thicken_fog>- determines if the entity bossbar thickens the fog. Default:false... color (blue|green|pink|purple|red|white|yellow)- sets the entity bossbar's bar color. Default:purple... style (notched_6|notched_10|notched_12|notched_20|progress)- sets the visual number of segments for the entity bossbar. Default:progress
📦 Arguments
<target>: entity - specifies the entity whose bossbar should be changed. Must be a player name, target selector, or UUID<visibility>: bool - specifies the bossbar's visibility. Must be eithertrueorfalse<range>: integer - specifies the bossbar's range. Must be a 32-bit integer between0and2147483647(inclusive)<darken_sky>: bool - specifies if the bossbar darkens the sky. Must be eithertrueorfalse<thicken_fog>: bool - specifies if the bossbar thickens the fog. Must be eithertrueorfalse