Always Hostile Animals 图标

Always Hostile Animals

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.21.1-1.0.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/always-hostile-animals
资源信息

Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10

平台: neoforge

标签: mobs

资源介绍

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_damage attribute.
  • 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
  • MISC entities (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

  1. Install NeoForge 1.21.1

  2. Place the JAR into your mods/ folder

  3. 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_damage attribute for all non-monster mobs using EntityAttributeModificationEvent
  • 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
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Accurate banner shield

价格:0 墨喵币
下载量:0

查看详情
Risus - Blood & Ruin

价格:0 墨喵币
下载量:0

查看详情
Reverie

价格:0 墨喵币
下载量:0

查看详情
Character Sheet

价格:0 墨喵币
下载量:0

查看详情