Uploaded May 2022 | Updated September 2026, 3 weeks ago
I added the Metroid energy health in vanilla Minecraft using a custom action bar!
Let's use the action bar for something cool!
Tiny Resource pack:
drive.google.com/file/d/1r4ftJqJtBGxCwYTirrsMqWFDMUJTCPLF/view?usp=sharing
If you're new to doing text and titles, you can use this tool:
minecraftjson.com
0. Immortal to regular damage* (add armor attributes or prevent blast damage)
/effect give @a minecraft:resistance 999999 99 true
1. ENERGY
Initialize Energy:
/scoreboard objectives add ENERGY dummy
/scoreboard players set @a ENERGY 30
Repeat HUD/Action bar display: (notice the space to pad it left)
/title @a[gamemode=survival] actionbar ["",{"text":"EN","bold":true,"color":"#62ACFF"},{"text":"••","bold":true,"color":"#FFCDE9"},{"score":{"name":"@p","objective":"ENERGY"},"bold":true,"color":"white"},{"text":" "}]
2. Damage
/scoreboard objectives add Damage minecraft.custom:minecraft.damage_resisted
Initialize the number 10 so we can divide by it:
/scoreboard objectives add ten dummy
/scoreboard players set @a ten 10
Repeat:
execute as @a if score @s Damage matches 1.. run scoreboard players operation @s Damage /= @s ten
Chained these two:
a)
execute as @a if score @s Damage matches 1.. run scoreboard players operation @s ENERGY -= @s Damage
b)
scoreboard players reset @a Damage
3. Healing
Repeat:
execute as @a if score @s healthFind matches 1.. run scoreboard players add @s ENERGY 5
Chained:
a)
scoreboard players reset @a healthFind
b)
clear @a minecraft:rotten_flesh
4. Death
DANGEROUS! (don't enable always active until chained are added)
execute as @a[gamemode=survival] if score @s ENERGY matches ..0 run kill @s
Chained:
a)
execute as @a[gamemode=survival] if score @s ENERGY matches ..0 run tag @s add dead
b)
execute as @a[gamemode=survival] if score @s ENERGY matches ..0 run scoreboard players set @s ENERGY 30
5. Respawning
@e only sees things alive so repeat:
1)
execute as @e[tag=dead] run effect give @s minecraft:resistance 999999 99 true
chained:
tag @e remove dead
Twitter: twitter.com/plasma_doctor
I added the Metroid energy health in vanilla Minecraft using a custom action bar!
Let's use the action bar for something cool!
Tiny Resource pack:
drive.google.com/file/d/1r4ftJqJtBGxCwYTirrsMqWFDMUJTCPLF/view?usp=sharing
If you're new to doing text and titles, you can use this tool:
minecraftjson.com
0. Immortal to regular damage* (add armor attributes or prevent blast damage)
/effect give @a minecraft:resistance 999999 99 true
1. ENERGY
Initialize Energy:
/scoreboard objectives add ENERGY dummy
/scoreboard players set @a ENERGY 30
Repeat HUD/Action bar display: (notice the space to pad it left)
/title @a[gamemode=survival] actionbar ["",{"text":"EN","bold":true,"color":"#62ACFF"},{"text":"••","bold":true,"color":"#FFCDE9"},{"score":{"name":"@p","objective":"ENERGY"},"bold":true,"color":"white"},{"text":" "}]
2. Damage
/scoreboard objectives add Damage minecraft.custom:minecraft.damage_resisted
Initialize the number 10 so we can divide by it:
/scoreboard objectives add ten dummy
/scoreboard players set @a ten 10
Repeat:
execute as @a if score @s Damage matches 1.. run scoreboard players operation @s Damage /= @s ten
Chained these two:
a)
execute as @a if score @s Damage matches 1.. run scoreboard players operation @s ENERGY -= @s Damage
b)
scoreboard players reset @a Damage
3. Healing
Repeat:
execute as @a if score @s healthFind matches 1.. run scoreboard players add @s ENERGY 5
Chained:
a)
scoreboard players reset @a healthFind
b)
clear @a minecraft:rotten_flesh
4. Death
DANGEROUS! (don't enable always active until chained are added)
execute as @a[gamemode=survival] if score @s ENERGY matches ..0 run kill @s
Chained:
a)
execute as @a[gamemode=survival] if score @s ENERGY matches ..0 run tag @s add dead
b)
execute as @a[gamemode=survival] if score @s ENERGY matches ..0 run scoreboard players set @s ENERGY 30
5. Respawning
@e only sees things alive so repeat:
1)
execute as @e[tag=dead] run effect give @s minecraft:resistance 999999 99 true
chained:
tag @e remove dead
Twitter: twitter.com/plasma_doctor










