HUDs
Last updated
Last updated
In order to create custom HUDs you have 2 examples provided in ItemsAdder and they make use of every feature available.
These two HUDs are the mana bar and the thirst bar. You can find them in the realcraft and in the magiccraft namespaces.
You can easily disable/enable huds in some worlds, here some examples:
To enable them in all worlds you just have to avoid entering any world in the list, don't write the property at all.
world_the_end
Notice the !
in front of the world name. (It's very important to use the " "
characters or plugin won't work (.yml
bug).
world_
or adventure
Notice the *
at the end, this means "any". (keep in mind that this works only at the end of the name)
In config.yml
there is a special setting related to HUDs.
This setting allows you to recolor all HUDs to a specific color.
This is useful if you have a custom shader which interacts with texts which have a specific color.
Requires Spigot 1.17+ and ItemsAdder 3.5.1+