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

Аватар автора
Игровые Герои и Легенды
In this video I will show how to make custom boss mobs that are boss bar that in sync with that mob&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...

0/0


0/0

0/0

0/0