-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Rules are the way to tell the mod what entities you want to highlight.
They can either change the texture of that entity, have them show a custom NameTag or both.
You can see, enable and edit all your rules on the Rules Screen (default L-Alt or through ModMenu).
The NameTags stack for each of the Rules that apply. That includes the Entity Type, NBT Data and distance. If you get close enough to see the custom name it will render all the way at the top, following the vanilla requirements.
For textures you need a Resource Pack containing the texture as well. Changes to textures render regardless of the distance or if the rule is enabled.
To add a rule someone else made just add the nbt file to your Rules Folder. You can open the folder by pressing the folder icon on the top left of the Rules Screen.
To create a new Rule press the "+" sumbol on the top right of the Rules Screen. You will see a bunch of options:
Name:
Can be anything, it is just for you to find it again.
Entity Types:
A list of minecraft IDs for entities for whom the Rule should apply, separeted by ";".
For example: minecraft:goat; minecraft:panda.
Target Path:
The Nbt-Path you want to check. If Compare against is empty, checks for present of that tag.
Compare against:
A list of Nbt-Values separated by ";". The Rule applys if any matches the Target Path of the entity.
Inverted:
Enable if the conditions above should be inverted.
Pattern:
What should be shown in the NameTag. Supports Minecraft Formatting Codes with an & instead of an § and Nbt-Paths of the target entity in {}.
For example: My Health is: {Health}
Max Distance:
How many blocks away the NameTag should be shown.
Texture:
Can be left blank for no texture change. Otherwise has to be the location of a valid texture. Can be a texture added through a resource pack.