HearthGuard - Mobs Fear Campfires

HearthGuard - Mobs Fear Campfires

Campfires become protection. HearthGuard is a survival mod where hostile mobs fear fire: they panic, turn, and flee from lit campfires instead of attacking.

by
1.7K Downloads
fabricneoforgegame-mechanicsmobsutility
Rent Server with this Mod

Screenshots

HearthGuard In Action
Hostile mob noticing a lit campfire.
Mob reacting in alarm.
Mob running away from the campfire.

About this Mod

HearthGuard

When the sun sets without shelter you no longer need fear hostile mobs as you can light a campfire which causes them to panic and flee in fear.

Zombies approach your campfire at night, freeze, panic, and flee in fright.


CinderStride boots on item frame

Works with CinderStride Upgrade campfires into Hearthfires that increase the fear range.


Vanilla Friendly

  • Mobs visibly show panic, fear, and flight
  • Behavior is modified rather than artificial rules
  • Works with vanilla campfire

Features

  • Works with modded mobs too!
  • Mob behavior is modified to fear lit campfires
  • Mobs freeze, jump in panic, then flee
  • Loot may be dropped when they panic
  • Requires actual line of sight

Behavior in action

Mobs react realistically and naturally rather than being pushed

Startled
Startled

Jumping
Jumping

Fleeing
Fleeing


Configuration

Config file:
config/hearthguard/config.json

UI via Mod Menu (Fabric) and Cloth Config.

Settings

  • Range: Campfire detection distance in blocks
  • Flee Fast Speed: Speed when close to the fire
  • Flee Slow Speed: Speed when farther away
  • Mode: Whitelist or Blacklist
  • Mobs: Affected entity IDs
  • Drop Item Chance: % chance (0–100) to drop one item on first fear only

Notes

  • Drop Item Chance = 0 disables fear drops
  • Each mob can only drop once (persisted across saves)
  • Only applies in the Overworld

Known Issues

  • Datapack defined mobs that reuse vanilla entity IDs cannot be selected independently

Changelog

1.1.0

  • Added integration with CinderStride Hearthfires now increase mob fear radius by 50%.

1.0.3

  • Added Command system for runtime configuration
  • Support for Minecraft v26.1.2
  • Fixed: Config changes now correctly apply to previously spawned mobs

1.0.2

  • Support for Minecraft v26.1.1

License: MIT

Source: https://github.com/kingnhcomcast/hearthguard

Permissions: You are welcome to use this mod in your modpack. If you do, feel free to leave a comment and let me know.

If you want support for other minecraft versions or feature requests, leave a comment!

Enjoy!

Available Versions

HearthGuard - Mobs Fear Campfires 1.1.1release
MC 26.1, 26.1.1, 26.1.2neoforge
May 6, 2026
HearthGuard - Mobs Fear Campfires 1.1.1release
MC 26.1, 26.1.1, 26.1.2fabric
May 6, 2026
HearthGuard - Mobs Fear Campfires 1.1.1release
MC 1.21.11neoforge
May 6, 2026
HearthGuard - Mobs Fear Campfires 1.1.1release
MC 1.21.11fabric
May 6, 2026
HearthGuard - Mobs Fear Campfires 1.1.1release
MC 1.21.1neoforge
May 6, 2026

How to Install HearthGuard - Mobs Fear Campfires on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (26.1.2).

3

Install Mod

Open the mod browser in the dashboard and search for "HearthGuard - Mobs Fear Campfires". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabricneoforge

Minecraft Versions

26.1.2, 26.1.1, 26.1 (+2 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

HearthGuard - Mobs Fear Campfires server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (26.1.2). You can switch loaders with one click in the panel.

Is HearthGuard - Mobs Fear Campfires compatible with fabric and neoforge?

HearthGuard - Mobs Fear Campfires officially supports fabric, neoforge for Minecraft 26.1.2, 26.1.1, 26.1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with HearthGuard - Mobs Fear Campfires – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if HearthGuard - Mobs Fear Campfires consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install HearthGuard - Mobs Fear Campfires with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

26.1.226.1.126.11.21.111.21.1