
Aggro Fix
A lightweight mod that improves Minecraft's Aggro Mechanics
About this Mod
This mod aims to change the aggro system of Minecraft where the mob will target the first mob that hit it.
此模组对MC的仇恨系统做了一些改变,原版的怪会追着第一个攻击它的人,该模组会使用一个仇恨系统。
See demo below. 国内可能看不了
Obviously the purpose of this mod is not to get iron golems to kill your pets, the new aggro system will target the entity that deals the most damage to it.
如果能看视频的话:当然此模组的目的不是让铁傀儡杀你的狗狗,视频展示了铁傀儡会攻击对他造成最大伤害目标。
Its meant for when there are multiple players fighting a modded boss or something. (Like an mmorpg)
比如在服务器上打老怪可以像网游一样拉仇恨
⚠️THIS MOD HAS ONLY BEEN UPLOADED TO CURSEFORGE AND MODRINTH!! DO NOT DOWNLOAD FROM OTHER SITES⚠️
此模组只发布于curseforge和modrinth,模组是免费的,小心盗版,可能有病毒
Enchantments 该模组提供拉仇恨的附魔
The Aggronizing enchantment, aggro is calculated by
(1+ Aggronizing Level) * Damage
附仇 附魔算法
(1+ 附仇等级) * 打出的伤害
举个栗子:木剑4的伤害,如果有附仇I的话会对目标造成4点伤害但是会拉8点仇恨
The Aggrobaiting enchantment(Beta), right click while holding an item enchanted with Aggrobaiting will trigger its effects. Has to be in offhand in 1.21.1, it is suggested to modify the datapack for aggrobait enchant in modpacks.
仇引 附魔(测试期,可能有bug), 使用一个有仇引会将方圆几里的怪引过来,引来的怪由datapack设定(往下看)。 距离和冷却可以在config调。在1.21.1版必须在左手使用。但是因为附魔的改变建议制作模组包的时候自己调整可附魔的物品,目前仇引只支持剑和斧。
Config
Bait Level - Amount of aggro applied by the effects of Aggrobait
仇引会拉多少点仇恨
eg. A Bait Level of 5.0 is equivalent to aggro accumulated by punching it 5 times
5.0 会让使用一次仇引相当于打5拳
Scale bait level - Should Bait level scale with Enchantment Level.
拉的仇恨点与附魔等级提升
eg. Aggrobaiting V will apply 5x more aggro and Aggrobaiting I(since each level of aggrobait is designed to bait different enemies)
引仇V拉的仇恨比引仇I多5倍
Bait Cooldown - The amount of Ticks an Aggrobait item will be on cooldown for.
使用引仇的冷却
Bait Range - The distance the Aggrobaiting Enchant will work.
引仇有效范围
Inclusive Tiers - Aggrobaiting will work on any lower leveled entities (since each level of aggrobait is designed to bait different enemies)
更高级别的引仇是否对低级别的有效
+Use of Datapacks
The creatures Aggrobaiting will attract is modifiable via datapack.
引仇影响的生物可以用datapack来调节
Entities tagged with aggrobait_n will be affected by Aggrobaiting n.
使用Entity Tag,在aggrobait_n将会被引仇n所影响,可以使用Inclusive Tiers让任何<n的受影响
eg. If an entity is tagged in aggrobait_2 then when using an item with Aggrobait II an aggro of 10(if scale bait level is true) will be applied to the Entity. If Inclusive Tiers is true then any entity tagged with aggrobait_1 will also be affected.
(Untested: in theory you can have as many different tags as there are enchantment levels)
如果一个生物在aggrobait_2里面然后Bait Level是5.0,Scale bait level开启的情况下会赋予该生物10.0的仇恨点。如果开启了Inclusive Teirs所有在aggrobait_1的生物也会被赋予10.0的仇恨。
(还未测试:理论上来说,有多少级引仇就可以放多少tag,比如用指令生成一个127级的引仇剑,只要有对应的aggrobait_127,那就可以使用)
The gamerule useAggroFix enable/disables the system (removed in 1.21.1)
Adds /aggro command
提供可设置仇恨指令
/aggro [attackers] [victim] [level]
Feel free to use in modpacks, its what its made for!
curseforge上一群人催更也不知道提供些动力 :C
Available Versions
How to Install Aggro Fix on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set forge Loader
In the panel under "Egg", select the forge loader and matching Minecraft version (1.21.1).
Install Mod
Open the mod browser in the dashboard and search for "Aggro Fix". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.1, 1.20.1, 1.19.2 (+1 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Aggro Fix server crashes on startup – what to do?
Most common cause: wrong forge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.1). You can switch loaders with one click in the panel.
Is Aggro Fix compatible with forge and neoforge?
Aggro Fix officially supports forge, neoforge for Minecraft 1.21.1, 1.20.1, 1.19.2. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Aggro Fix – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Aggro Fix consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Aggro Fix with just one click on your server.
