We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mob Display Health - Script
When a player hits any entity, the Mob Type is displayed with the remaining life (in HP) in the actionbar
__on_player_deals_damage(player, amount, entity) -> ( entity_hp = format('r '+round(query(entity, 'Health'))); _entityHealth = (number(entity_hp)-number(floor(amount))); if ( _entityHealth < 0, ( _entityHealth = 0 ) ); text_string = (format('w '+entity)+format('g » ')+format('r '+_entityHealth+' ❤')); display_title(player, 'actionbar', text_string); return() );
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Mob Display Health - Script
When a player hits any entity, the Mob Type is displayed with the remaining life (in HP) in the actionbar
The text was updated successfully, but these errors were encountered: