Download Bossbar — Minecraft Mods — MetaMods
Bossbar

Bossbar

Active

Downloads

0

Last update

2 weeks ago

Versions

1.20.4 — 1.21.9
Server
Fabric
Adventure
Weapons and armor
Control
Mobs
Utils

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 /bossbar command - 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_location
      • range: integer - sets the entity bossbar's range. Default: 64. Players outside this range won't see the entity bossbar
      • darken_sky: bool - determines if the entity bossbar darkens the sky. Default: false
      • thicken_fog: bool - 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

📖 Syntax

  • bossbar set <target> (visible|range|darken_sky|thicken_fog|color|style)
    • ... visible <visibility> - sets the entity bossbar's visibility. Default: false for 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 either true or false
  • <range>: integer - specifies the bossbar's range. Must be a 32-bit integer between 0 and 2147483647 (inclusive)
  • <darken_sky>: bool - specifies if the bossbar darkens the sky. Must be either true or false
  • <thicken_fog>: bool - specifies if the bossbar thickens the fog. Must be either true or false
Project members
boyonk

boyonk

Developer

boyonk913

boyonk913

Created: 28 Feb 2024

ID: 15943