Command Block Tutorial #113: Custom Boss Commands in Minecraft (1.17+)

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



Minecraft
Game:
Minecraft (2011)
Duration: 11:10
24,367 views
0


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

Commands:

* Setting up the boss bar:
1. Impulse Command Block: /bossbar add boss "Boss"
2. Impulse Command Block: /scoreboard objectives add health
3. Impulse Command Block: /bossbar set minecraft:boss color red

* Removing the boss bar:
1. Impulse Command Block: /bossbar remove minecraft:boss
2. Impulse Command Block: /scoreboard objectives remove health

* 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: /execute if entity @e[tag=boss] run bossbar set minecraft:boss players @a

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

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

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

* Summoning the custom boss (Example):

1. Impulse Command Block: /summon minecraft:wither_skeleton 106 232 -75 {Tags:[boss],HandItems:[{Count:1,id:netherite_sword,tag:{Enchantments:[{id:sharpness,lvl:5},{id:fire_aspect,lvl:2},{id:looting,lvl:2},{id:unbreaking,lvl:3}]}},{}],ArmorItems:[{Count:1,id:netherite_boots,tag:{Enchantments:[{id:protection,lvl:4}]}},{Count:1,id:netherite_leggings,tag:{Enchantments:[{id:protection,lvl:4}]}},{Count:1,id:netherite_chestplate,tag:{Enchantments:[{id:protection,lvl:4},{id:thorns,lvl:3}]}},{Count:1,id:netherite_helmet,tag:{Enchantments:[{id:projectile_protection,lvl:4}]}}],ActiveEffects:[{Id:1,Amplifier:0,Duration:999999}]}

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

Music:

1. Gaming Sound FX:

* Monkeys Spinning Monkeys (Kevin MacLeod) - Gaming Background Music (HD):
https://www.youtube.com/watch?v=pr42a...

2. Hitman (Kevin McLeod) - Vanoss Gaming Background Music (HD):
https://www.youtube.com/watch?v=hTIIK...




Other Videos By RedstoneKnightX


2021-10-10Command Block Tutorial #123: Goat Power Commands in Minecraft (1.17+)
2021-10-03Command Block Tutorial #122: Zoglin Disguise Commands in Minecraft (1.17+)
2021-09-26Command Block Tutorial #121: Traveling Backpack Commands in Minecraft (1.17+)
2021-09-19Command Block Tutorial #120: Hoglin Disguise Commands in Minecraft (1.17+)
2021-09-12Command Block Tutorial #119: Tracking Chip Commands in Minecraft (1.17+)
2021-09-05Command Block Tutorial #118: Piglin Brute Disguise Commands in Minecraft (1.17+)
2021-08-29Command Block Tutorial #117: Ore Magnet Commands in Minecraft (1.17+)
2021-08-22Command Block Tutorial #116: Phantom Disguise Commands in Minecraft (1.17+)
2021-08-15Command Block Tutorial #115: Parasite Disguise Commands in Minecraft (1.17+)
2021-08-08Command Block Tutorial #114: Drowned Disguise Commands in Minecraft (1.17+)
2021-08-01Command Block Tutorial #113: Custom Boss Commands in Minecraft (1.17+)
2021-07-31Mod Showcase #31: Zetacraft Mod (New Update) (Minecraft 1.16.5)
2021-07-25Command Block Tutorial #112: Elder Guardian Disguise Commands in Minecraft (1.17+)
2021-07-18Command Block Tutorial #111: Special Spyglass Commands in Minecraft (1.17+)
2021-07-11Command Block Tutorial #110: Guardian Disguise Commands in Minecraft (1.17+)
2021-07-04Command Block Tutorial #109: Explosive Mine Commands in Minecraft (1.17+) (4th of July Edition)
2021-06-27Command Block Tutorial #108: Pillager Disguise Commands in Minecraft (1.17+)
2021-06-20Command Block Tutorial #107: Mob Follow Commands in Minecraft (1.16+) (Summer Edition)
2021-06-13Command Block Tutorial #106: Magma Cube Disguise Commands in Minecraft (1.16+)
2021-06-13Minecraft 1.17 Showcase: Caves and Cliffs Update (Part 1)
2021-06-06Command Block Tutorial #105: Armor Block Commands in Minecraft (1.16+)



Tags:
Minecraft
Gaming
GamePlay
Tutorials



Other Statistics

Minecraft Statistics For RedstoneKnightX

RedstoneKnightX presently has 1,527,317 views for Minecraft across 384 videos, with His channel uploaded over 2 days worth of Minecraft videos. This is 85.45% of the total watchable video on RedstoneKnightX's YouTube channel.