Command Block Tutorial #282: Improved Custom Boss Commands in Minecraft (1.21.5+)

Subscribers:
8,170
Published on ● Video Link: https://www.youtube.com/watch?v=qpUYjhuDzAg



Duration: 0:00
340 views
18


In this video I will show an updated version of how to make custom boss mobs that are boss bar that in sync with that mob's health.

Previous custom boss video:    • Command Block Tutorial #113: Custom Boss C...  

Commands:

Setting up the boss bar:

1. Impulse Command Block: /bossbar add boss "Boss"

2. Impulse Command Block: /bossbar set minecraft:boss color white

Removing the boss bar:

Impulse Command Block: /bossbar remove minecraft:boss

Activating the boss bar for the custom boss (Example):

1. Repeater Command Block: /execute store result bossbar minecraft:boss value run data get entity @e[tag=boss,limit=1] Health

2. Chain Command Block (Unconditional): /execute if entity @e[tag=boss] run bossbar set minecraft:boss players @a

3. Chain Command Block (Unconditional): /execute unless entity @e[tag=boss] run bossbar set minecraft:boss players

4. Chain Command Block (Unconditional): /execute as @e[tag=boss] store result score @s health run data get entity @s Health

5. Chain Command Block (Unconditional): /bossbar set minecraft:boss name [{"text":"Breeze Boss"},{"score":{"name":"@e[tag=boss,limit=1]","objective":"health"}}]

Summoning the custom boss (Example):

1. Impulse Command Block: /summon minecraft:breeze -533.95 0 -209 {Tags:["boss"]}

2. Chain Command Block (Unconditional): /execute store result bossbar minecraft:boss max run data get entity @e[tag=boss,limit=1] Health


Music:

Gaming Sound FX:

1. Monkeys Spinning Monkeys (Kevin MacLeod) - Gaming Background Music (HD):
   • Monkeys Spinning Monkeys (Kevin MacLeod) -...  

2. Hitman (Kevin McLeod) - Vanoss Gaming Background Music (HD):
   • Hitman (Kevin McLeod) - Gaming Background ...  




Other Videos By RedstoneKnightX


2025-07-13Command Block Tutorial #288: Wizard Spellbook Commands in Minecraft (1.21.6+)
2025-07-06Command Block Tutorial #287: Apple Armor Commands in Minecraft (1.21.6+)
2025-06-29Command Block Tutorial #286: Holy Water Commands in Minecraft (1.21.6+)
2025-06-22Minecraft 1.21.6 Showcase: Chase The Skies Update
2025-06-15Command Block Tutorial #285: Resin Armor Commands in Minecraft (1.21.5+)
2025-06-08Command Block Tutorial #284: Flying Strider Commands in Minecraft (1.21.5+)
2025-06-01Command Block Tutorial #283: TNT Armor Commands in Minecraft (1.21.5+)
2025-06-01Command Block Tutorial #282: Improved Custom Boss Commands in Minecraft (1.21.5+)
2025-05-25Command Block Tutorial #281: Lava Armor Commands in Minecraft (1.21.5+)
2025-05-18Command Block Tutorial #280: Improved Smoke Bomb Commands in Minecraft (1.21.5+)
2025-05-14Command Block Tutorial #279: Air Armor Commands in Minecraft (1.21.5+)
2025-05-03Command Block Tutorial #278: Sword Blocking Commands in Minecraft (1.21.5+)
2025-04-25Command Block Tutorial #277: Steve's Armor Commands in MC (A Minecraft Movie Edition) (1.21.5+)
2025-04-13Command Block Tutorial #276: Dual Wielding Sword Commands in Minecraft (1.21.5+)
2025-04-06Command Block Tutorial #275: Fire Armor Commands in Minecraft (1.21.5+)
2025-03-31Minecraft 1.21.5 Showcase: The Spring To Life Update
2025-03-23Command Block Tutorial #274: Right Click Detection Commands in Minecraft (1.21.4+)
2025-03-16Command Block Tutorial #273: Wither Armor Commands in Minecraft (1.21.4+)
2025-03-09Command Block Tutorial #272: Item Cooldown Commands in Minecraft (1.21.4+)
2025-03-02Command Block Tutorial #271: Water Armor Commands in Minecraft (1.21.4+)
2025-02-23Command Block Tutorial #270: Explosive Trident Commands in Minecraft (1.21.4+)