Health Tags or Health Displays
Health Tags or Health Displays by BlueCommander17641426    1
Hey everyone! Today I created a new type of health displayer that I call, Health Tags! These are a brand new vanilla damage indicators and is much more advanced and less flawed than its predecessor, Dragnoz's health display! (No hate to him, in fact I am a big fan, just his was made back in 1.8 and he was more limited then) But anyway watch the video for the features and if you want it for a data pack instead of a one command check the video description. Anyway see you all next week! ~Blue
Minecraft 1.13
11207 characters
More by BlueCommander
How to install
Comments
Show source commands
summon falling_block ~ ~1 ~ {BlockState:{Name:stone},Time:1,Passengers:[{id:falling_block,BlockState:{Name:redstone_block},Time:1,Passengers:[{id:falling_block,BlockState:{Name:activator_rail},Time:1,Passengers:[{id:command_block_minecart,Command:"gamerule commandBlockOutput false"},{id:command_block_minecart,Command:"fill ~2 ~-3 ~-2 ~9 ~ ~3 blue_terracotta hollow"},{id:command_block_minecart,Command:"fill ~2 ~-2 ~-2 ~9 ~-1 ~3 barrier replace blue_terracotta"},{id:command_block_minecart,Command:"tellraw @a [\"\",{\"text\":\"Health Tags> \",\"color\":\"blue\",\"bold\":false},{\"text\":\"One command For 1.13 installed!\",\"color\":\"none\",\"bold\":false}]"},{id:command_block_minecart,Command:"tellraw @a [\"\",{\"text\":\"Health Tags> \",\"color\":\"blue\",\"bold\":false},{\"text\":\"Created by BlueCommander!\",\"color\":\"none\",\"bold\":false}]"},{id:command_block_minecart,Command:"tellraw @a [\"\",{\"text\":\"Health Tags> \",\"color\":\"blue\",\"bold\":false},{\"text\":\"Big thanks to MrGarretto for the one command combiner!\",\"color\":\"none\",\"bold\":false}]"},{id:command_block_minecart,Command:"scoreboard objectives add EntityHealth dummy"},{id:command_block_minecart,Command:"execute at @p run summon firework_rocket ~ ~1 ~ {LifeTime:0,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Explosions:[{Type:0,Flicker:1b,Trail:1b,Colors:[I;16711680,16777008,4587305,857599],FadeColors:[I;16777215,0]}]}}}}"},{id:command_block_minecart,Command:"setblock ~1 ~-2 ~ wall_sign[facing=west]{Text1:\"{\\\"text\\\":\\\"[Destroy]\\\",\\\"color\\\":\\\"dark_red\\\",\\\"bold\\\":true}\",Text2:\"{\\\"text\\\":\\\"Right Click\\\",\\\"color\\\":\\\"white\\\",\\\"bold\\\":true}\",Text3:\"{\\\"text\\\":\\\"\\\"}\",Text4:\"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~ ~-1 ~-2 ~8 ~2 ~3 air\\\"}}\"}"},{id:command_block_minecart,Command:"setblock ~1 ~-1 ~ wall_sign[facing=west]{Text1:\"{\\\"text\\\":\\\"Health Tags\\\",\\\"color\\\":\\\"gold\\\",\\\"bold\\\":true}\",Text2:\"{\\\"text\\\":\\\"By\\\",\\\"color\\\":\\\"white\\\",\\\"bold\\\":true}\",Text3:\"{\\\"text\\\":\\\"Blue\\\",\\\"color\\\":\\\"blue\\\",\\\"bold\\\":true}\",Text4:\"{\\\"text\\\":\\\"Commander\\\",\\\"color\\\":\\\"blue\\\",\\\"bold\\\":true}\"}"},{id:command_block_minecart,Command:"fill ~3 ~-2 ~-1 ~8 ~-1 ~2 chain_command_block[facing=east]"},{id:command_block_minecart,Command:"setblock ~3 ~-1 ~1 chain_command_block[facing=north]"},{id:command_block_minecart,Command:"fill ~8 ~-1 ~1 ~4 ~-1 ~1 chain_command_block[facing=west]"},{id:command_block_minecart,Command:"setblock ~8 ~-1 ~2 chain_command_block[facing=north]"},{id:command_block_minecart,Command:"setblock ~3 ~-2 ~2 chain_command_block[facing=up]"},{id:command_block_minecart,Command:"fill ~8 ~-2 ~2 ~4 ~-2 ~2 chain_command_block[facing=west]"},{id:command_block_minecart,Command:"setblock ~8 ~-2 ~1 chain_command_block[facing=south]"},{id:command_block_minecart,Command:"setblock ~3 ~-2 ~ chain_command_block[facing=south]"},{id:command_block_minecart,Command:"fill ~8 ~-2 ~ ~4 ~-2 ~ chain_command_block[facing=west]"},{id:command_block_minecart,Command:"setblock ~8 ~-2 ~-1 chain_command_block[facing=south]"},{id:command_block_minecart,Command:"setblock ~3 ~-2 ~-1 repeating_command_block[facing=east]"},{id:command_block_minecart,Command:"data merge block ~7 ~-1 ~ {auto:1,Command:\"execute as @a at @s positioned ^ ^ ^1 unless entity @e[scores={EntityHealth=0..},tag=!NotValid,distance=..0.9999] positioned ^ ^-0.1 ^1 unless entity @e[scores={EntityHealth=0..},tag=!NotValid,distance=..1] positioned ^ ^-0.1 ^1 unless entity @e[scores={EntityHealth=0..},tag=!NotValid,distance=..1] positioned ^ ^-0.1 ^1 if entity @e[scores={EntityHealth=0..},tag=!NotValid,distance=..1] as @e[scores={EntityHealth=0..},tag=!NotValid,distance=..1] run title @p actionbar [\\\"\\\",{\\\"selector\\\":\\\"@s\\\",\\\"color\\\":\\\"red\\\"},{\\\"text\\\":\\\"'s Health: \\\",\\\"color\\\":\\\"red\\\"},{\\\"score\\\":{\\\"name\\\":\\\"@s\\\",\\\"objective\\\":\\\"EntityHealth\\\"},\\\"color\\\":\\\"none\\\"}]\"}"},{id:command_block_minecart,Command:"data merge block ~6 ~-1 ~ {auto:1,Command:\"execute as @a at @s positioned ^ ^ ^1 unless entity @e[scores={EntityHealth=0..},tag=!NotValid,distance=..0.9999] positioned ^ ^-0.1 ^1 unless entity @e[scores={EntityHealth=0..},tag=!NotValid,distance=..1] positioned ^ ^-0.1 ^1 if entity @e[scores={EntityHealth=0..},tag=!NotValid,distance=..1] as @e[scores={EntityHealth=0..},tag=!NotValid,distance=..1] run title @p actionbar [\\\"\\\",{\\\"selector\\\":\\\"@s\\\",\\\"color\\\":\\\"red\\\"},{\\\"text\\\":\\\"'s Health: \\\",\\\"color\\\":\\\"red\\\"},{\\\"score\\\":{\\\"name\\\":\\\"@s\\\",\\\"objective\\\":\\\"EntityHealth\\\"},\\\"color\\\":\\\"none\\\"}]\"}"},{id:command_block_minecart,Command:"data merge block ~5 ~-1 ~ {auto:1,Command:\"execute as @a at @s positioned ^ ^ ^1 unless entity @e[scores={EntityHealth=0..},tag=!NotValid,distance=..0.9999] positioned ^ ^-0.1 ^1 if entity @e[scores={EntityHealth=0..},tag=!NotValid,distance=..1] as @e[scores={EntityHealth=0..},tag=!NotValid,distance=..1] run title @p actionbar [\\\"\\\",{\\\"selector\\\":\\\"@s\\\",\\\"color\\\":\\\"red\\\"},{\\\"text\\\":\\\"'s Health: \\\",\\\"color\\\":\\\"red\\\"},{\\\"score\\\":{\\\"name\\\":\\\"@s\\\",\\\"objective\\\":\\\"EntityHealth\\\"},\\\"color\\\":\\\"none\\\"}]\"}"},{id:command_block_minecart,Command:"data merge block ~4 ~-1 ~ {auto:1,Command:\"execute as @a at @s positioned ^ ^ ^1 if entity @e[scores={EntityHealth=0..},tag=!NotValid,distance=..0.9999] as @e[scores={EntityHealth=0..},tag=!NotValid,distance=..0.9999] run title @p actionbar [\\\"\\\",{\\\"selector\\\":\\\"@s\\\",\\\"color\\\":\\\"red\\\"},{\\\"text\\\":\\\"'s Health: \\\",\\\"color\\\":\\\"red\\\"},{\\\"score\\\":{\\\"name\\\":\\\"@s\\\",\\\"objective\\\":\\\"EntityHealth\\\"},\\\"color\\\":\\\"none\\\"}]\"}"},{id:command_block_minecart,Command:"data merge block ~3 ~-1 ~ {auto:1,Command:\"tag @e[type=minecraft:wither_skull] add NotValid\"}"},{id:command_block_minecart,Command:"data merge block ~3 ~-1 ~1 {auto:1,Command:\"tag @e[type=minecraft:tnt_minecart] add NotValid\"}"},{id:command_block_minecart,Command:"data merge block ~4 ~-1 ~1 {auto:1,Command:\"tag @e[type=minecraft:tnt] add NotValid\"}"},{id:command_block_minecart,Command:"data merge block ~5 ~-1 ~1 {auto:1,Command:\"tag @e[type=minecraft:spectral_arrow] add NotValid\"}"},{id:command_block_minecart,Command:"data merge block ~6 ~-1 ~1 {auto:1,Command:\"tag @e[type=minecraft:spawner_minecart] add NotValid\"}"},{id:command_block_minecart,Command:"data merge block ~7 ~-1 ~1 {auto:1,Command:\"tag @e[type=minecraft:snowball] add NotValid\"}"},{id:command_block_minecart,Command:"data merge block ~8 ~-1 ~1 {auto:1,Command:\"tag @e[type=minecraft:small_fireball] add NotValid\"}"},{id:command_block_minecart,Command:"data merge block ~8 ~-1 ~2 {auto:1,Command:\"tag @e[type=minecraft:shulker_bullet] add NotValid\"}"},{id:command_block_minecart,Command:"data merge block ~7 ~-1 ~2 {auto:1,Command:\"tag @e[type=minecraft:potion] add NotValid\"}"},{id:command_block_minecart,Command:"data merge block ~6 ~-1 ~2 {auto:1,Command:\"tag @e[type=minecraft:painting] add NotValid\"}"},{id:command_block_minecart,Command:"data merge block ~5 ~-1 ~2 {auto:1,Command:\"tag @e[type=minecraft:minecart] add NotValid\"}"},{id:command_block_minecart,Command:"data merge block ~4 ~-1 ~2 {auto:1,Command:\"tag @e[type=minecraft:llama_spit] add NotValid\"}"},{id:command_block_minecart,Command:"data merge block ~3 ~-1 ~2 {auto:1,Command:\"tag @e[type=minecraft:lightning_bolt] add NotValid\"}"},{id:command_block_minecart,Command:"data merge block ~3 ~-2 ~2 {auto:1,Command:\"tag @e[type=minecraft:leash_knot] add NotValid\"}"},{id:command_block_minecart,Command:"data merge block ~4 ~-2 ~2 {auto:1,Command:\"tag @e[type=minecraft:item_frame] add NotValid\"}"},{id:command_block_minecart,Command:"data merge block ~5 ~-2 ~2 {auto:1,Command:\"tag @e[type=minecraft:hopper_minecart] add NotValid\"}"},{id:command_block_minecart,Command:"data merge block ~6 ~-2 ~2 {auto:1,Command:\"tag @e[type=minecraft:furnace_minecart] add NotValid\"}"},{id:command_block_minecart,Command:"data merge block ~7 ~-2 ~2 {auto:1,Command:\"tag @e[type=minecraft:fishing_bobber] add NotValid\"}"},{id:command_block_minecart,Command:"data merge block ~8 ~-2 ~2 {auto:1,Command:\"tag @e[type=minecraft:firework_rocket] add NotValid\"}"},{id:command_block_minecart,Command:"data merge block ~8 ~-2 ~1 {auto:1,Command:\"tag @e[type=minecraft:falling_block] add NotValid\"}"},{id:command_block_minecart,Command:"data merge block ~7 ~-2 ~1 {auto:1,Command:\"tag @e[type=minecraft:experience_orb] add NotValid\"}"},{id:command_block_minecart,Command:"data merge block ~6 ~-2 ~1 {auto:1,Command:\"tag @e[type=minecraft:experience_bottle] add NotValid\"}"},{id:command_block_minecart,Command:"data merge block ~5 ~-2 ~1 {auto:1,Command:\"tag @e[type=minecraft:evoker_fangs] add NotValid\"}"},{id:command_block_minecart,Command:"data merge block ~4 ~-2 ~1 {auto:1,Command:\"tag @e[type=minecraft:eye_of_ender] add NotValid\"}"},{id:command_block_minecart,Command:"data merge block ~3 ~-2 ~1 {auto:1,Command:\"tag @e[type=minecraft:ender_pearl] add NotValid\"}"},{id:command_block_minecart,Command:"data merge block ~3 ~-2 ~ {auto:1,Command:\"tag @e[type=minecraft:end_crystal] add NotValid\"}"},{id:command_block_minecart,Command:"data merge block ~4 ~-2 ~ {auto:1,Command:\"tag @e[type=minecraft:egg] add NotValid\"}"},{id:command_block_minecart,Command:"data merge block ~5 ~-2 ~ {auto:1,Command:\"tag @e[type=minecraft:fireball] add NotValid\"}"},{id:command_block_minecart,Command:"data merge block ~6 ~-2 ~ {auto:1,Command:\"tag @e[type=minecraft:dragon_fireball] add NotValid\"}"},{id:command_block_minecart,Command:"data merge block ~7 ~-2 ~ {auto:1,Command:\"tag @e[type=minecraft:command_block_minecart] add NotValid\"}"},{id:command_block_minecart,Command:"data merge block ~8 ~-2 ~ {auto:1,Command:\"tag @e[type=minecraft:chest_minecart] add NotValid\"}"},{id:command_block_minecart,Command:"data merge block ~8 ~-2 ~-1 {auto:1,Command:\"tag @e[type=minecraft:boat] add NotValid\"}"},{id:command_block_minecart,Command:"data merge block ~7 ~-2 ~-1 {auto:1,Command:\"tag @e[type=minecraft:arrow] add NotValid\"}"},{id:command_block_minecart,Command:"data merge block ~6 ~-2 ~-1 {auto:1,Command:\"tag @e[type=minecraft:armor_stand] add NotValid\"}"},{id:command_block_minecart,Command:"data merge block ~5 ~-2 ~-1 {auto:1,Command:\"tag @e[type=minecraft:area_effect_cloud] add NotValid\"}"},{id:command_block_minecart,Command:"data merge block ~4 ~-2 ~-1 {auto:1,Command:\"tag @e[type=item] add NotValid\"}"},{id:command_block_minecart,Command:"data merge block ~3 ~-2 ~-1 {auto:1,Command:\"execute as @e at @s store result score @s EntityHealth run data get entity @s Health\"}"},{id:command_block_minecart,Command:"setblock ~ ~ ~1 command_block{Command:\"fill ~ ~-3 ~-1 ~ ~ ~ air\"}"},{id:command_block_minecart,Command:"setblock ~ ~-1 ~1 redstone_block"},{id:command_block_minecart,Command:"kill @e[type=command_block_minecart,distance=..1]"}]}]}]}