-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
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
Add health-dependent color variable #278
Comments
Basically identical to the %tiered% and how it functions, except that this new tag will update based on the health and config similar to how health indicator works (edited I noticed I went on a tangent half way into the sentence lol) |
Leaving a note here because it's in a similar vein feature wise: |
nametags:
tiered-health-placeholder:
100: '&6'
50: '&#abc123'
15: ''
0: '' Updated suggestion on implementation. 100/0 are the required top and bottom, and the middle can be any value for different colors. 100 used for all health between it and the next line. So and so forth, until the final X to 0 health is the last color. |
Being brainstormed in demo actions.yml |
Recovering issue for recent player request; Suggested functioning same as: |
Add a variable to change color depending on percentage of mob health.
For example:
And so we can use like
%color%
in the nametag?https://discord.com/channels/752310043214479462/829238692161781770/875679380955869234
The text was updated successfully, but these errors were encountered: