Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Configure armor perks

Autovw edited this page Apr 29, 2022 · 1 revision

How to configure armor perks on Fabric

Updated as of Advanced Netherite [Fabric] 1.5.0

The Forge version of Advanced Netherite offers the possibility to configure armor perks inside the common config. However, since both Fabric Loader and Fabric API don't ship with a config system by default, this becomes a bit more difficult.

But, as of version [Fabric] 1.5.0, the configuration of armor perks is possible with the use of a simple datapack.
Please refer to the Minecraft Wiki for basic documentation on datapacks.


Configurable tags

All the configurable tags are located inside data/advancednetherite/tags/items/config. Currently, Advanced Netherite offers a total of three configurable tags:

Tag name Tag description
pacify_endermen If the player is wearing armor in this tag, Endermen will behave passive towards the player unless provoked. Also applies the tooltip.
pacify_phantoms If the player is wearing armor in this tag, Phantoms will behave passive towards the player unless provoked. Also applies the tooltip.
pacify_piglins If the player is wearing armor in this tag, Piglins will behave passive towards the player unless provoked. Also applies the tooltip.

Important note: only armor from Advanced Netherite or possible, although not officially supported, add-ons can be used in the tags. Vanilla armor or other modded armor will not work!

This is what the pacify_endermen tag looks like by default for example:

{
  "replace": false,
  "values": [
    "#advancednetherite:tiers/armor/netherite_emerald",
    "#advancednetherite:tiers/armor/netherite_diamond"
  ]
}

It is also possible to add single items like: advancednetherite:netherite_iron_helemet for example. However, it's recommended to use the tier tags provided by the mod.

All the tier tags can be seen below.


Tier tags

Tier tags (located in data/advancednetherite/tags/items/tiers) are recommended to use when working with configurable tags. A list of all tier tags can be seen below:

Tag name Tag description
armor Contains all armor pieces from Advanced Netherite
armor/netherite_iron Contains all Netherite-Iron armor pieces
armor/netherite_gold Contains all Netherite-Gold armor pieces
armor/netherite_emerald Contains all Netherite-Emerald armor pieces
armor/netherite_diamond Contains all Netherite-Diamond armor pieces
tools Contains all tools from Advanced Netherite
tools/netherite_iron Contains all Netherite-Iron tools
tools/netherite_gold Contains all Netherite-Gold tools
tools/netherite_emerald Contains all Netherite-Emerald tools
tools/netherite_diamond Contains all Netherite-Diamond tools