Skip to content

Mob Stats and Behavior

Sokratis Fotkatzikis edited this page Nov 4, 2026 · 1 revision

Attribute Overrides

Change a mob's base attributes, such as health, speed, armor, attack damage or size, in every dimension or just one. Applied as a removable modifier when the mob spawns or is loaded, so it reverts cleanly if you remove the rule.

attributeOverrides = [
    "minecraft:zombie|minecraft:max_health|40",
    "minecraft:zombie|minecraft:the_nether|minecraft:attack_damage|6",
    "minecraft:skeleton|minecraft:movement_speed|0.35",
    "minecraft:creeper|minecraft:scale|2",
    "*|minecraft:armor|4",
    "minecraft:iron_golem|minecraft:armor|0"
]
  • Zombies have 40 health (20 hearts) and spawn at full health.
  • Zombies that spawn in the Nether deal more damage.
  • Skeletons move faster.
  • Creepers are twice their normal size.
  • Every mob except players gets 4 armor points, and iron golems get 0 (the specific line wins).

The dimension is where the mob first spawned, so its stats don't change if it travels. For the same attribute, the most specific mob match wins (own ID, then tag, then modid:*, then *), and a per-dimension line beats an every-dimension one. The config file lists every vanilla attribute with its allowed range, and modded attributes work by ID.

Damage Modifiers

Multiply the damage a mob deals, takes, or both, from 0 to 1000, in every dimension or just one.

damageModifiers = [
    "minecraft:zombie|2",
    "minecraft:iron_golem|?|0.5",
    "minecraft:wither_skeleton|1.5|?|minecraft:the_nether"
]
  • Zombies deal double damage, including from their projectiles.
  • Iron golems take half damage.
  • Wither skeletons deal 1.5x damage, but only in the Nether.

At least one of the dealt/taken multipliers must be set. The dimension is where the hit happens, and modifiers are applied before armor and enchantments. Dealt and taken each pick the most specific matching line independently (own ID, then tag, then modid:*, then *, with a per-dimension line beating an every-dimension one). * never includes players.

Experience Modifiers

Multiply the experience a mob drops, from 0 (none) to 1000.

experienceModifiers = [
    "minecraft:zombie|2",
    "minecraft:zombie|minecraft:the_nether|2.5",
    "*|minecraft:the_end|0"
]
  • Zombies drop double experience.
  • Zombies drop 2.5x experience when they die in the Nether (the more specific line wins).
  • No mob except players drops experience in the End, apart from zombies, whose first line still applies.

The dimension is where the mob dies, and only one line applies to each death. A line for a specific mob wins over a * line, then a line for one dimension wins over a line for every dimension. Fractions become a chance of one more point, so 1 experience at 1.5x gives 1 or 2.

Despawn Ranges

Set how far a mob can be from the nearest player before it despawns, in every dimension or just one.

despawnRanges = [
    "*|64",
    "minecraft:zombie|32"
]

Within this distance of a player the mob never despawns; beyond it, the mob despawns right away. A specific mob's range overrides the * range. Mobs that normally never despawn (named, tamed, persistent, etc.) are unaffected.

Clone this wiki locally