HomeJavaModsMood Contagion
Mood Contagion
ModsJava

Mood Contagion

by BeansNToast · on Modrinth

Mobs gain a hidden emotional state (calm, panic, or rage) that spreads through same-type herds and decays. Hit one sheep and the flock stampedes; enrage a…

⬇ Download on Modrinth

Mood Contagion

Mobs now carry a hidden emotional state: CALM, PANIC, or RAGE. Combat seeds the state, it spreads to nearby mobs of the same type, and it fades back to calm over time.

Panicking mobs give off yellow particles and enraged mobs give off red ones, so you can read the state at a glance.

How it works

Commands

Command Description Permission
/moodcontagion info Show the current tunables. moodcontagion.use (default: all)
/moodcontagion here Count CALM/PANIC/RAGE mobs within 16 blocks of you. moodcontagion.admin (default: OP)
/moodcontagion reload Reload config.yml. moodcontagion.admin (default: OP)

Aliases: /mood, /contagion.

Permissions

Node Default Grants
moodcontagion.use everyone the info and here sub-commands
moodcontagion.admin OP reload (and includes moodcontagion.use)

Configuration (config.yml)

Key Default Meaning
spread-radius 8.0 Blocks within which a mood spreads to same-type mobs (also the flee/retarget scan range, x2).
spread-chance 0.35 Per-neighbour, per-second chance to infect a same-type neighbour.
decay-seconds 12 How long an emotional mood lasts before it decays to CALM.
max-processed-per-tick 40 TPS guard: max mobs handled per processing pass (round-robin).
panic-flee-speed 0.45 How hard a PANIC mob is shoved away from the nearest player.
max-horizontal-velocity 1.5 Hard cap on any velocity the plugin sets (anti-launch safety).
death-seed-radius 8 Blocks around a dying mob in which same-type mobs are seeded PANIC.
effects.enabled true Master switch for all potion effects.
effects.speed true PANIC and RAGE mobs gain Speed.
effects.strength true RAGE mobs gain Strength.
effects.rage-retarget true Neutral RAGE mobs target the nearest player (only when they have no valid target).
effects.particles true Mood-coloured particle puffs above emotional mobs.

All values are clamped to safe ranges on load.

Compatibility

Paper, Spigot, Bukkit, and Purpur 1.21.1 to 1.21.11 and the 26.1.x line (verified on 26.1.2), Java 21. Built against the Spigot API with no Paper-only classes, so the single jar works on all four server types.


Original concept, an internal test idea. Not sourced from a Reddit post.

Verified by MCModsHub

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

Explore more