介绍
介绍由机器翻译自 CurseForge 原页面,仅供参考。
这个模组是什么?
这个模组允许你设置药水效果,让玩家在受到伤害或造成伤害时触发。每种效果的持续时间和等级都可以配置,也可以分别设置受到伤害和造成伤害时触发的效果。其他配置选项还可以让效果仅在攻击敌对实体时触发,或在玩家对战时禁用效果。
这是我的第一个 Forge 模组,仅适用于 Minecraft 1.12.2。如果你遇到 bug 或有任何建议,请留言。
效果配置示例:
请注意,持续时间以秒为单位(秒数乘以 20 即为刻数);配置中也可以选择改用刻数。
effects {
# List of potion effects applied to the player when damage is dealt <id>,<duration>,<level> [default: []]
S:effectsOnDealingDamage <
minecraft:regeneration, 5, 1
minecraft:strength, 10, 1
>
# List of potion effects applied to the player when damage is taken <id>,<duration>,<level> [default: []]
S:effectsOnTakingDamage <
minecraft:strength, 10, 1
minecraft:wither, 20, 1
>
}
配置
general {
# If false, fall / void damage taken will not trigger effects [default: false]
B:enableFallDamage=false
# If true, damaging another player will triggers effects [default: false]
B:enableWhenDamagingOtherPlayers=false
# If true, taking damage from another player will trigger effects [default: false]
B:enableWhenTakingDamageFromPlayers=false
# When dealing damage, trigger only if the target is neutral or hostile [default: true]
B:onlyHostileTargets=true
# If true, the duration value is interpreted as seconds (converted to ticks by multiplying by 20) [default: true]
B:useSeconds=true
}
效果 ID 要在哪里查看?
还有其他方法,不过我推荐使用模组 TellMe,并运行命令 “/tellme dump-csv potions”。
常见问题
Hit Effects 支持哪些 Minecraft 版本?
Hit Effects 支持 Minecraft Java 版 1.12.2,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
Hit Effects 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
Mahghuuuls 的其他作品
查看全部 →Inventory Tweaks Remove Settings Button Config
by Mahghuuuls
Inventory Tweaks 模组的分支,添加了一个配置选项,用于从 GUI 中移除“...”按钮
1,701
1 年前
CurseForge
TreeChopper Durability Config
by Mahghuuuls
MrDuchy 的 TreeChopper 模组的分支,它添加了一个配置选项,用于减少(或增加)整棵树被砍伐时斧头的耐久损耗。
704
1 年前
CurseForge
Just Another Wizardry Mana System
by Mahghuuuls
将Electroblob's Wizardry的法杖法力替换为深度可配置的玩家法力系统
466
2 天前
CurseForge
CTSetBonus
by Mahghuuuls
为 Set Bonus 模组提供 CraftTweaker 集成。
297
1 年前
CurseForge
评论
登录后评论和评分