Effective Armors
A data driven mod for modpack makers to add extra effects of armor sets.
介绍
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"
]
From version 1.2.0, you may also include curios items in the armor list.
常见问题
Effective Armors 支持哪些 Minecraft 版本?
Effective Armors 支持 Minecraft Java 版 1.20.1–1.21.1,共 2 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
Effective Armors 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
vomiter 的其他作品
查看全部 →Farmer’s Delight Addon Fixes
修复农夫乐事附属模组导致的崩溃
DamageSource Is Not Null Plus
尝试修复“NullPointerException:LivingDeathEvent.getSource() 返回 null”
RangedJS: KubeJS Addon
一个用于制作自定义弓、弩及其他远程武器的 KubeJS 附属模组。
DamageSource Is Not Null Basic
尝试修复 DamageSource 空指针异常(仅覆盖原版生物)
评论
登录后评论和评分