HomeJavaModsAdvanced Hostility
Advanced Hostility
ModsJava

Advanced Hostility

by JiedonG-get · on Modrinth

Grants total control over mob AI. Create custom factions, define complex relationships, and overhaul creature behavior.

⬇ Download on Modrinth

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

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

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

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>

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

Editing Server Configuration

These commands modify the world's serverconfig/advancedhostility-server.toml file. A /advancedhostility reload is required for changes to take effect.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more