Mob Relations
Mob Relations is a Minecraft mod that lets you fully customize the relationships between mobs, allowing you to define which mobs are allies and which are enemies.
Using a simple configuration file, you can establish mutual alliances or rivalries between any mobs, including modded entities. Friendly mobs will recognize each other as allies and won't intentionally attack one another, even if they accidentally get into a fight. Enemies, on the other hand, will treat each other as hostile targets.
All relations are symmetric, meaning that defining a relationship between two mobs automatically applies it in both directions.
Configuration
-Friends: Define which mobs consider each other allies.
-Enemies: Define which mobs consider each other enemies.
Example
[relations]
# Relations are symmetric: A -> B also applies to B -> A.
friends = ["minecraft:zombie -> minecraft:iron_golem"]
enemies = ["minecraft:zombie -> minecraft:skeleton"]

