Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Creators
Details
This mod provides modpack makers an easy way to add specific potion effects on certain armors or armor sets. You may allow players to gain a lv3 strength effect when they are wearing a full set of diamond armors. The mod is data driven, so you just need to put valid json files at data/<namespace>/effectivearmors/armor_effects/<path>.json. If you are using KubeJS, you may also put it directly under kubejs folder, so that the file path would be like kubejs\data\kubjes\effectivearmors\armor_effects\effect_1.json
The file should be structured like this.
{
"armor": [
"minecraft:diamond_helmet",
"minecraft:diamond_chestplate",
"minecraft:diamond_leggings",
"minecraft:diamond_boots"
],
"effects": [
{ "id": "minecraft:strength", "amplifier": 2, "ambient": false, "show_particles": false, "show_icon": true }
],
"match_all": true
}
You may put 1-4 items in the armor list. "match_all": true means to check if all items are equipped; you may also set it to false so that one piece of the armor set would be enough to apply the effect. You may also put multiple effect instance in the effects list and they will be applied at the same time.
It also supports tag. You may use # at the start of any armor entry string and it will be parsed as a tag ingredient. You may also use 3x ... to declare the number. So the following formats works as well.
"armor": [
"#effectivearmors:test_helmets",
"minecraft:iron_chestplate",
"minecraft:golden_leggings"
]
"armor": [
"4x #effectivearmors:golden"
]



