是否曾遇到过朝你大致方向移动的敌对生物,却不确定它们是否会主动攻击?有了这个模组,你可以清楚地看到哪些生物对你靠近感到不满,从而选择教训它们一番,或者迅速逃离现场。
加载器要求
此模组需要在客户端和服务端同时安装才能生效。如果仅在一侧安装,不会导致崩溃或产生任何影响。对于单人游戏,只需正常安装即可。
Fabric 版本需要 Fabric API。
配置
模组的配置文件应位于 Minecraft 根目录下的 "config" 文件夹中,大多数情况下路径为 .minecraft。具体位置取决于你所使用的启动器。
- 客户端和服务端的黑名单设置
- 可调节的 X 轴和 Y 轴偏移量
- 更改仇恨图标的样式和颜色
- 可在几秒后自动隐藏图标
- 当生物锁定玩家时播放类似《合金装备》的警报音效
其他说明
如果生物处于隐身状态,或者你处于失明或黑暗效果下,仇恨图标将不会显示。那样就太简单了。
兼容性
该模组适用于所有使用 Mob#target 属性的生物,或其大脑使用 ATTACK_TARGET 记忆模块的生物。山羊具有专用的行为混合(ram behavior mixins)特殊处理,因此复用这些行为的生物也应能正常工作。
功能投票
当生物锁定玩家时,是否应该播放警报音效? 结果:是,已添加。
致谢
- 感谢 djlprojects 提供了类似《合金装备》的警报音效。
- Metal Gear Solid Inspired Alert Surprise SFX by djlprojects -- -- 许可协议:Creative Commons 0
注意
为了避免潜在的版权风险,我从 freesound.org 找到了一款在 Creative Commons 0 许可下发布的近似重制音效。如果你希望使用其他音效,可以通过资源包进行替换。
资源包制作者可以参考以下路径来替换你想更改的文件:此处 (1.20.1) 或 此处 (1.21+)。请确保使用侧边栏选择与你所需版本相对应的分支。
Ever ran into mobs that path towards your general direction and wondered whether they are aggressive or not? With this mod, you can see who has an issue with you being around their vicinity and teach them a lesson or book it out of there.
Modloader
This mod needs to be installed on both client and server to work. It won't crash or do anything if installed on just 1 side. For singleplayer you just need to install it normally.
Requires Fabric API for Fabric versions.
Config
Mod config file should be located under "config" folder, inside your Minecraft root folder, .minecraft in most cases. Where this is depends on your launcher.
- Blacklist for both client and server
- Adjustable x and y offsets
- Change aggro icon styles and color
- Ability to make icons go away after a couple of seconds
- Alert sound that plays when mobs target the player like in Metal Gear Solid
Misc
Aggro icons won't show if mob has invisibility or if you have blindness or darkness. That would be too easy.
Compatibility
Should work on anything that uses the Mob#target property, or those whose brain uses ATTACK_TARGET memory module. Goats are special-cased with dedicated ram behavior mixins so mobs reusing those behaviors should work too.
Feature Poll
Should this mod play an alert sound when a mob targets you? Result: Yes, added.
Credits
Note
I did not want to take any copyright risk for the alert sound, so I found a close recreation licensed under Creative Commons 0 from freesound.org. Should you want to use a different sound, a resource pack can be used.
Resource pack makers can check out the path to files you want to replace here (1.20.1) or here (1.21+). Make sure to select the branch corresponding to the version you want using the side bar.
评论 0
登录后参与评分
还没有评论,来抢沙发吧