-
Notifications
You must be signed in to change notification settings - Fork 0
Mob Overrides
Mob overrides allow you to customize leveling behavior for specific mob types within structure or biome rules. This gives you fine-grained control over individual mobs.
Mob overrides are nested inside structure or biome rule files:
{
"structure": "minecraft:stronghold",
"mob_overrides": {
"minecraft:zombie": {
// Override settings for zombies
},
"minecraft:skeleton": {
// Override settings for skeletons
}
}
}| Field | Type | Default | Description |
|---|---|---|---|
fixed_level |
Integer | null |
Exact level for this mob type |
level_bonus |
Integer | null |
Add to calculated level |
min_level |
Integer | null |
Minimum level for this mob |
max_level |
Integer | null |
Maximum level for this mob |
level_range |
Object | null |
Alternative way to set min/max |
ignore_level_cap |
Boolean | false |
Bypass global level cap |
can_attack |
Boolean | null |
Enable combat for passive mobs |
attribute_multipliers |
Object | {} |
Multiply attribute bonuses |
attribute_scaling |
Object | {} |
Custom attribute scaling |
Give zombies in strongholds a fixed level of 200:
{
"structure": "minecraft:stronghold",
"mob_overrides": {
"minecraft:zombie": {
"fixed_level": 200
}
}
}Add 50 levels to whatever the rule calculates:
{
"structure": "minecraft:stronghold",
"level_mode": "random",
"level_range": {
"min": 50,
"max": 100
},
"mob_overrides": {
"minecraft:skeleton": {
"level_bonus": 50
}
}
}A skeleton that would be level 75 becomes level 125.
Restrict specific mobs to a different level range:
{
"biome": "minecraft:desert",
"level_range": {
"min": 10,
"max": 50
},
"mob_overrides": {
"minecraft:husk": {
"level_range": {
"min": 80,
"max": 120
}
}
}
}Or use individual fields:
{
"mob_overrides": {
"minecraft:husk": {
"min_level": 80,
"max_level": 120
}
}
}By default, all levels are capped by globalLevelCap in the config. Override this per-mob:
{
"mob_overrides": {
"minecraft:warden": {
"fixed_level": 9999,
"ignore_level_cap": true
}
}
}Enable passive mobs to fight back when attacked:
{
"structure": "minecraft:stronghold",
"mob_overrides": {
"minecraft:chicken": {
"fixed_level": 500,
"can_attack": true
}
}
}When can_attack is enabled:
- The passive mob gains melee attack AI
- When attacked, it will target the attacker
- Attack damage scales with level
- The mob remembers who hurt it
| Value | Behavior |
|---|---|
true |
Mob can attack when provoked |
false |
Mob cannot attack (even if config enables it) |
null (default) |
Use global config setting |
Global config setting: leveledPassivesCanAttack
Multiply the base attribute bonuses for specific mobs:
{
"mob_overrides": {
"minecraft:zombie": {
"attribute_multipliers": {
"minecraft:generic.max_health": 2.0,
"minecraft:generic.attack_damage": 1.5
}
}
}
}This multiplies the bonuses from the parent rule's attribute_scaling.
Completely override attribute scaling for specific mobs:
{
"mob_overrides": {
"minecraft:skeleton": {
"attribute_scaling": {
"minecraft:generic.max_health": {
"base_bonus": 100.0,
"per_level": 2.0,
"operation": "addition",
"max_bonus": 1000.0
},
"minecraft:generic.attack_damage": {
"base_bonus": 5.0,
"per_level": 0.1,
"operation": "addition"
}
}
}
}
}{
"structure": "minecraft:stronghold",
"priority": 100,
"level_mode": "random",
"level_range": {
"min": 50,
"max": 100
},
"mob_overrides": {
"minecraft:zombie": {
"fixed_level": 200,
"ignore_level_cap": true,
"attribute_scaling": {
"minecraft:generic.max_health": {
"base_bonus": 200.0,
"per_level": 1.0,
"operation": "addition"
},
"minecraft:generic.attack_damage": {
"base_bonus": 10.0,
"per_level": 0.2,
"operation": "addition"
},
"minecraft:generic.armor": {
"base_bonus": 10.0,
"per_level": 0.1,
"operation": "addition"
}
}
}
}
}{
"structure": "minecraft:village_plains",
"priority": 80,
"mob_overrides": {
"minecraft:chicken": {
"fixed_level": 50,
"can_attack": true,
"attribute_scaling": {
"minecraft:generic.attack_damage": {
"base_bonus": 2.0,
"per_level": 0.1,
"operation": "addition"
}
}
},
"minecraft:cow": {
"fixed_level": 75,
"can_attack": true,
"attribute_scaling": {
"minecraft:generic.attack_damage": {
"base_bonus": 4.0,
"per_level": 0.2,
"operation": "addition"
}
}
},
"minecraft:pig": {
"fixed_level": 60,
"can_attack": true
}
}
}{
"biome_tags": ["minecraft:is_nether"],
"priority": 60,
"level_mode": "distance",
"level_range": {
"min": 30,
"max": 100
},
"mob_overrides": {
"minecraft:blaze": {
"level_bonus": 20,
"attribute_multipliers": {
"minecraft:generic.max_health": 1.5
}
},
"minecraft:wither_skeleton": {
"level_bonus": 30,
"attribute_multipliers": {
"minecraft:generic.max_health": 2.0,
"minecraft:generic.attack_damage": 1.5
}
},
"minecraft:ghast": {
"fixed_level": 150,
"ignore_level_cap": true
}
}
}By default, passive mobs don't receive levels. To level passive mobs:
- Add them to
mob_overrides - The presence in
mob_overridesallows them to be leveled - Only mobs explicitly listed will be affected
{
"structure": "minecraft:stronghold",
"mob_overrides": {
"minecraft:chicken": {
"fixed_level": 100
}
}
}Important: Without an explicit mob_overrides entry, passive mobs remain level 0.
- Mob override
fixed_leveltakes absolute priority - Mob override level range overrides parent range
-
level_bonusis added to calculated levels -
attribute_scalingreplaces parent scaling -
attribute_multipliersmultiply parent scaling
- Use fixed levels for signature mobs in dungeons
- Use level_bonus for slight variations
- Enable can_attack sparingly for surprise difficulty
- Attribute multipliers are simpler than full scaling
- Test with debug mode to verify correct application
Navigation
Quick Links