
Advanced Hostility
Grants total control over mob AI. Create custom factions, define complex relationships, and overhaul creature behavior.
About this Mod
Advanced Hostility
Tired of predictable mob behavior? Advanced Hostility is a powerful configuration tool that gives you total control over the world's ecosystem. Whether you are a server administrator creating a unique PvE experience, a modpack creator weaving intricate mob interactions, or a solo player looking for a fresh challenge, this mod provides the tools you need.
Core Features
Custom Factions: Group any mob from vanilla or other mods into factions like "The Undead Legion" or "Forest Guardians".
Complex Relationships: Set factions to be Friendly, Hostile, or Neutral towards each other. Create global alliances or spark world-ending wars between creatures.
AI Overhaul: Grant passive mobs like sheep and villagers aggressive AI with custom damage and speed. Or, make Creepers ignore players entirely!
High Compatibility: Designed to intelligently supplement, not just replace, vanilla AI. This allows for dynamic and emergent interactions with mobs from other mods.
Server-Friendly Management: All configurations can be edited in-game via commands and reloaded without a server restart, making it perfect for server administrators and modpack creators.
Configuration Guide
Advanced Hostility is configured through the [advancedhostility-common.toml] file (for global settings) and the [advancedhostility-server.toml] file (for world-specific overrides).
The configuration is broken down into four main rule types, which are processed in the following order of priority: Mob Rules > Faction Rules > Vanilla Behavior.
1. Sets
Sets are reusable groups of entities. They are a convenient way to manage large numbers of mobs.
Format: set_id;member1,member2,@another_set,!exclude_mob
@references another set.!excludes an entity or set.modid:*includes all mobs from a specific mod.
Example:
toml sets = [ "undead;minecraft:zombie,minecraft:skeleton,minecraft:zombie_villager", "monsters;minecraft:*,!minecraft:creeper,!@undead" ]
2. Factions
Factions are groups of entities that share common relationships.
Format: faction_id;member_list;relationship1;relationship2
member_list can contain entity IDs or set references (e.g., @undead).
Example:
toml factions = [ "illagers;minecraft:pillager,minecraft:vindicator;hostile=players,villagers", "players;player;friendly=wolf_pack" ]
3. Mob Rules
Mob Rules define specific behaviors for individual entity types, overriding any faction rules.
Format: mob_id;rule1;rule2
proactive=<target>: Makes the mob actively hunt the target.ignore=<target>: Makes the mob ignore the target.
Example:
toml mob_rules = [ "minecraft:creeper;ignore=player", "minecraft:wolf;proactive=@undead" ]
4. Aggression Rules
This powerful feature gives non-hostile mobs a complete combat AI overhaul.
Format: mob_id;damage=<value>;speed=<multiplier>
damage: The final damage dealt (1.0 = half a heart).- [speed]: A multiplier for movement speed when chasing a target.
Example:
toml aggression_rules = [ "minecraft:sheep;damage=8.0;speed=1.8", "minecraft:villager;damage=10.0" ]
In-Game Commands
Manage your server's configuration on the fly without ever needing to restart. The base command is /advancedhostility.
Checking Configuration
/advancedhostility check sets: Lists all defined sets./advancedhostility check set <set_name>: Shows the members of a specific set./advancedhostility check factions: Lists all defined factions./advancedhostility check faction <faction_name>: Shows the details of a specific faction./advancedhostility check mobrules: Lists all mobs with specific rules./advancedhostility check mobrule <mob_id>: Shows the rules for a specific mob./advancedhostility check relation <mob1_id> <mob2_id>: Checks the final relationship between two specific mobs./advancedhostility check relations <mob_id>: Shows all defined relationships for a specific mob.
Editing Server Configuration
These commands modify the world's serverconfig/advancedhostility-server.toml file.
A /advancedhostility reload is required for changes to take effect.
/advancedhostility mobrule set <mob_id> [proactive|ignore] <target>: Sets a proactive or ignore rule for a mob./advancedhostility mobrule clear <mob_id>: Clears all specific rules for a mob./advancedhostility faction create <faction_name>: Creates a new, empty faction./advancedhostility faction addmember <faction_name> <member>: Adds an entity or set to a faction./advancedhostility faction removemember <faction_name> <member>: Removes an entity or set from a faction./advancedhostility faction setrelation <faction1> [friendly|hostile|neutral] <faction2>: Sets the relationship between two factions.
Available Versions
How to Install Advanced Hostility 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.20.1).
Install Mod
Open the mod browser in the dashboard and search for "Advanced Hostility". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.20.1
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Advanced Hostility 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.20.1). You can switch loaders with one click in the panel.
Is Advanced Hostility compatible with forge?
Advanced Hostility officially supports forge for Minecraft 1.20.1. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Advanced Hostility – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Advanced Hostility 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 Advanced Hostility with just one click on your server.