promotional bannermobile promotional banner

Mood Contagion

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 wolf and its pack turns. Server-side, Paper/Spigot/Bukkit/Purpur 1.21+.

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.

  • Hit a mob and it panics. It runs from you, and the fear spreads to others nearby: one scared sheep can set off the whole flock.
  • Hit a wolf, a bee, or any hostile and it rages instead. Raging mobs move faster and hit harder, and a neutral animal will turn and come for you. Rage spreads the same way.
  • Kill a mob and nearby mobs of the same type panic.

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

  • Each mob's state and a timestamp are stored on the mob in its PersistentDataContainer, so moods survive chunk unloads and restarts and never leak memory.
  • A task runs about once a second and processes mobs round-robin with a per-tick budget, so the feature stays cheap on TPS no matter how crowded the world is.
  • Emotional mobs have a chance to infect same-type neighbours within a radius. Moods decay back to calm after a configurable time.
  • PANIC adds Speed and makes the mob flee the nearest player. RAGE adds Speed and Strength, and makes neutral mobs target the nearest player.

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.

The Mood Contagion Team

profile avatar
  • 13
    Projects
  • 148
    Downloads

Any request I will fulfill.

Donate

More from BeansNToastView all

  • Inventory Shuffle project image

    Inventory Shuffle

    • 0
    • Mods

    A client-side Fabric mod that scrambles every inventory/container screen's layout the moment it opens - slots, panel, and buttons jump to random spots, but your clicks still land. Cosmetic and client-only. Configurable. Minecraft 1.21.x (Fabric).

    • 0
    • June 2, 2026
    • Mods
  • Enchanting Rework project image

    Enchanting Rework

    • 0
    • Bukkit Plugins

    A deterministic enchanting-table GUI replacing vanilla's random gamble. Forge enchanted books from ingredient blueprints (not consumed), then apply them to gear for a flat level cost. Reusable books. Paper/Spigot/Bukkit/Purpur 1.21.1-1.21.11.

    • 0
    • June 2, 2026
    • Bukkit Plugins
  • Simple Daily Rewards project image

    Simple Daily Rewards

    • 0
    • Bukkit Plugins

    A dependency-free daily reward plugin. /daily (or auto-on-login) grants a weighted-random reward - items and/or console commands - once per cooldown. No Vault needed. Cooldowns persist. Server-side, Paper/Spigot/Bukkit/Purpur.

    • 0
    • June 2, 2026
    • Bukkit Plugins
  • Hype Minions project image

    Hype Minions

    • 1
    • Bukkit Plugins

    Skyblock-style placeable minions that auto-gather a resource into their own storage on an upgradeable timer. Place by right-clicking a block; manage via the minion's GUI. Fuel, tiers, modules, offline catch-up. Paper/Spigot/Bukkit/Purpur.

    • 1
    • June 2, 2026
    • Bukkit Plugins
  • Inventory Shuffle project image

    Inventory Shuffle

    • 0
    • Mods

    A client-side Fabric mod that scrambles every inventory/container screen's layout the moment it opens - slots, panel, and buttons jump to random spots, but your clicks still land. Cosmetic and client-only. Configurable. Minecraft 1.21.x (Fabric).

    • 0
    • June 2, 2026
    • Mods
  • Enchanting Rework project image

    Enchanting Rework

    • 0
    • Bukkit Plugins

    A deterministic enchanting-table GUI replacing vanilla's random gamble. Forge enchanted books from ingredient blueprints (not consumed), then apply them to gear for a flat level cost. Reusable books. Paper/Spigot/Bukkit/Purpur 1.21.1-1.21.11.

    • 0
    • June 2, 2026
    • Bukkit Plugins
  • Simple Daily Rewards project image

    Simple Daily Rewards

    • 0
    • Bukkit Plugins

    A dependency-free daily reward plugin. /daily (or auto-on-login) grants a weighted-random reward - items and/or console commands - once per cooldown. No Vault needed. Cooldowns persist. Server-side, Paper/Spigot/Bukkit/Purpur.

    • 0
    • June 2, 2026
    • Bukkit Plugins
  • Hype Minions project image

    Hype Minions

    • 1
    • Bukkit Plugins

    Skyblock-style placeable minions that auto-gather a resource into their own storage on an upgradeable timer. Place by right-clicking a block; manage via the minion's GUI. Fuel, tiers, modules, offline catch-up. Paper/Spigot/Bukkit/Purpur.

    • 1
    • June 2, 2026
    • Bukkit Plugins