Pin It

Automatic Mob Health bar using entitydata. Minecraft 1.8



Download Map & Codes: http://www.dragnoz.com/auto-mob-health-bars-using-entity-data-minecraft-1-8/

Charmap / symbols Remember not all these will work you need to test and play eith them: http://www.entypo.com/characters/

1. Setup scoreboard
/scoreboard objectives add healthbar dummy

2. Set scoreboard based on health
/scoreboard players set @e healthbar 20 {Health:20s}
/scoreboard players set @e healthbar 18 {Health:19s}
/scoreboard players set @e healthbar 18 {Health:18s}
/scoreboard players set @e healthbar 16 {Health:17s}
/scoreboard players set @e healthbar 16 {Health:16s}

etc etc…

3. set entitydata name to health level
/entitydata @e[score_healthbar_min=20,score_healthbar=20] {CustomName:”♥♥♥♥♥♥♥♥♥♥”}
/entitydata @e[score_healthbar_min=18,score_healthbar=19] {CustomName:”♥♥♥♥♥♥♥♥♥♡”}
/entitydata @e[score_healthbar_min=16,score_healthbar=17] {CustomName:”♥♥♥♥♥♥♥♥♡♡”}
/entitydata @e[score_healthbar_min=14,score_healthbar=15] {CustomName:”♥♥♥♥♥♥♥♡♡♡”}

etc etc etc

4. Reset scores with each tick
/scoreboard players reset * healthbar

Dragnoz Map Downloads:

Bouncy Steve: Face your RAGE
DOWNLOAD: http://bit.ly/1j1Rq9Z

TRON Fire
http://www.planetminecraft.com/project/tron-fire-tron-based-minigame-in-minecraft/

Run of the Damned map: http://www.planetminecraft.com/project/run-of-the-damned—a-minecraft-temple-run-map/

Packman http://www.planetminecraft.com/project/pacman-in-minecraft-2153843/

————- PASTEBIN ———-
http://pastebin.com/u/dragnoz
——————————————

————- TWITCH ———-
http://www.twitch.tv/minedragnoz
————————————

Contact me via:

Follow me on Twitter: http://twitter.com/dragnoz

Facebook: http://on.fb.me/DragnozFacebook

Google+: http://bit.ly/dragnozPlus

Subscribe to the channel: http://bit.ly/dragnozSubYT

——————————————-

Download My Maps:
http://www.planetminecraft.com/member/dragnoz/
———————————–
Automatic Mob Health bar using entitydata. Minecraft 1.8

Posted in: Healthcare