Always Hostile Animals
Makes all normally passive or neutral mobs attack the player on sight.
介绍
Always Hostile Animals
All passive and neutral mobs become instantly hostile!
This mod turns cows, pigs, sheep, chickens, horses, goats, llamas, rabbits, parrots and many more (including modded creatures) into aggressive attackers that target players on sight.
Perfect for chaos survival challenges, hardcore playthroughs, or servers where _nothing_ is safe anymore.
⚠️ _Note:_ Aquatic mobs (fish, turtles, etc.) do not attack yet. This will be added in a future update.
🧩 Features
- 🔥 Instant aggression: Passive and neutral creatures immediately attack players.
- 🧠 Injected AI goals: Attack and target goals are added dynamically without breaking existing mob AI.
- 💥 Automatic attributes: Ensures that every non-monster mob has the
generic.attack_damageattribute. - 🌐 Mod compatible: Works with modded mobs that use proper categories (
CREATURE,AMBIENT,WATER_*). - 🧱 Server-ready: Fully functional on dedicated servers.
❌ Not affected
- Hostile mobs (zombies, skeletons, etc.) — unchanged
MISCentities (boats, minecarts, projectiles, items)- Aquatic mobs in v1.0 (support planned)
⚙️ Compatibility
- Minecraft: 1.21.1
- Loader: NeoForge (21.1.x)
- No known incompatibilities
- Works in most modpacks unless another mod fully overrides AI goals
📦 Installation
- Install NeoForge 1.21.1
- Place the JAR into your
mods/folder
- Launch the game or server
For consistent behavior, use a new world, so newly spawned entities get the hostile AI injected correctly.
📄 Technical Details
- Registers the
generic.attack_damageattribute for all non-monster mobs usingEntityAttributeModificationEvent - Adds attack and target goals during
EntityJoinLevelEvent - Safety checks prevent duplicate goals or crash conditions
- A damage fallback ensures that mobs without an attribute still deal correct melee damage
⚡ Performance
- 100% event-driven (no tick-loop scanning)
- Lightweight and safe for large modpacks
- No noticeable performance impact
💬 FAQ
Q: Does it work with modded animals?
A: Yes — any entity using CREATURE, AMBIENT, or WATER_* categories is supported.
(Full aquatic AI coming in a later version.)
Q: Do baby animals also attack?
A: Yes. A toggle to disable this is planned.
Q: Why don’t fish attack yet?
A: Aquatic pathfinding behaves differently; this feature is planned for v1.1+.
🗺️ Roadmap
- v1.5: Aquatic mob attack AI
- v2.0: Config options (damage scaling, whitelists/blacklists)
- later: Datapack/tag support
常见问题
Always Hostile Animals 支持哪些 Minecraft 版本?
Always Hostile Animals 支持 Minecraft Java 版 1.21–1.21.10,共 11 个版本,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
Always Hostile Animals 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
Klaus_Ferrano 的其他作品
查看全部 →
Sophisticated Tags
A helper mod that adds per-tier item/block tags for Sophisticated Storage chests. Useful for datapacks, scripting (KubeJS), and other mods.
TFC – Ars Flora Compat (Configurable Worldgen)
Adds configurable worldgen patches for Ars Flora in TerraFirmaCraft worlds. Server admins can control biome, frequency, cluster size, and more per plant via TOML profiles, no datapack reload required.
Unstuck Command
Adds the /stuck command to help players escape when trapped in claims or holes. Configurable cooldown, dimensions, and safety checks ensure fair and balanced gameplay.
评论
登录后评论和评分