HomeJavaModsPassive Boss Bars
Passive Boss Bars
ModsJava

Passive Boss Bars

by Goosker · on Modrinth

This is a lightweight, server-side mod for modpack creators that allows you to make boss bars only appear when a boss is aggro. The mod "Mob Boss Bars" is…

⬇ Download on Modrinth
Passive Boss Bars — screenshot 1Passive Boss Bars — screenshot 2

This mod is specifically for modpack developers and builds upon it's dependency mod: Mob Boss Bars

By default this mod will make it so that any boss that is passive/not aggro on the player will not show the boss bar. Once attacked/aggroed it will show a boss bar. This is especially useful if you want something like The Warden to have a boss bar, but only while fighting it, or if you're like me and want dragons spawning that are boss fights if attacked, but you don't want to clutter the screen/giveaway that there is a rare dragon nearby.

To edit the config, boot up the game once with this mod installed and search for the config file titled "aggro-boss-bars.json".

DEFAULT CONFIG:

{
  "restrictToListedEntities": false,
  "entityNamespaces": [],
  "entityIds": [],
  "excludedEntityIds": 
[
    "minecraft:ender_dragon"
  ],
  "lingerTicks": 40,
  "showOnlyToTargetedPlayer": false
}

Sidenote: You should not have to touch the config unless you do want certain mobs to have boss bars even when passive.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more