mobrelations-1.0.2.jar
Curse Maven Snippet
What's new
Mob Relations - Changelog (this doesnt break old config)
New features
- Added the keyword "player" for rules. Example: "minecraft:zombie -> player". Creative and spectator players are never targeted.
- Added the keyword "hostile" (all monster-category mobs).
- Added the keyword "passive" (animals, villagers, fish, bats and other peaceful creatures).
- Rules using hostile or passive are one-way: the left side attacks the right side. Rules between two exact entities remain symmetric. Friends are always symmetric.
- Added rule precedence: the more specific rule wins. An exact entity rule beats a hostile/passive rule. On a tie, enemies win over friends.
- Example: enemies = ["minecraft:zombie -> passive"] and friends = ["minecraft:zombie -> minecraft:sheep"] makes zombies attack every passive mob except sheep. The same works with hostile.
- Updated the config comments and the README to document the new keywords and precedence.
Fixes
- Fixed a possible crash when a mob without an attack damage attribute (sheep, cows, etc.) was forced to melee attack. The melee goal is now only added to mobs that have the ATTACK_DAMAGE attribute.
Notes
- Mobs outside the monster and peaceful categories (for example iron golems) are not part of hostile or passive. List them by id.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects

