90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

Bossbar

Enhancing Minecraft's bossbar functionality by properly extending it to entities. No more complicated command block setup, lag-inducing detection logic, and cheap attempts at recreating the real deal. This is the real deal now.

✅ Features

  • Entity bossbars take the name, health and max health of its entity.
  • Range can be specified for entity bossbars, meaning it's only visible to local players.
  • Default bossbars can be configured (see Configuration)
  • Thicken fog & darken skies with the extended functionality given to entity bossbars.
  • Server-side, meaning clients don't need to download it to connect.
  • Easy to use with the /bossbar command, swap out a bossbar id with a target selector, and done!
  • Optimized to a lagless extend, compared to Minecraft's bulky command code.

⚙️ Configuration

Configuration can be found in config\bossbar.json.

  • default:
    • <entity_type>: resource_location
      • range: integer
        Set the entity bossbar's range. Defaults to 64. Any player outside of this range won't see the entity bossbar.
      • darken_sky: bool
        Set if entity bossbar darkens the sky. Defaults to false.
      • thicken_fog: bool
        Set if entity bossbar thickens the fog. Defaults to false.
      • color: (blue|green|pink|purple|red|white|yellow)
        Set the entity bossbar's bar color. Defaults to purple.
      • style: (notched_6|notched_10|notched_12|notched_20|progress)
        Set the entity bossbar's visual amount of segments. Defaults to progress.

📖 Syntax

  • bossbar set <target> (visible|range|darken_sky|thicken_fog|color|style)
    • ... visible <visible>
      Set the entity bossbar's visibility. Defaults to false for every entity, disabling their bossbar.
    • ... range <range>
      Set the entity bossbar's range. Defaults to 64. Any player outside of this range won't see the entity bossbar.
    • ... darken_sky <darken_sky>
      Set if entity bossbar darkens the sky. Defaults to false.
    • ... thicken_fog <thicken_fog>
      Set if entity bossbar thickens the fog. Defaults to false.
    • ... color (blue|green|pink|purple|red|white|yellow)
      Set the entity bossbar's bar color. Defaults to purple.
    • ... style (notched_6|notched_10|notched_12|notched_20|progress)
      Set the entity bossbar's visual amount of segments. Defaults to progress.

📦 Arguments

  • <target>: entity
    • Specifies the entity whose bossbar is to change.
      Must be a player name, a target selector or a UUID.
  • <visible>: 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 number 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

Member

Details

Licensed ARR
Published 10 months ago
Updated 5 months ago