
No Hostiles Around Campfire
🔥 Prevents hostile mob spawns and burns them around the campfire in a configurable radius.
About this Mod
No Hostiles Around Campfire is a configurable mod which prevents hostile mob spawns around the campfire in a configurable radius. The mod will also prevent modded entities from spawning if they are classified under "EntityClassification/MobCategory.Monster". When there are hostile mobs around the campfire while placing it, the mod will burn them for 30 seconds, until they're dead or until the campfire is broken.
The Soul Campfire in the 1.16 version is compatible! This is configurable.
You may also be interested in Healing Campfire.
Some entities might not be classified as "Monster" but can still be hostile to players. There is a custom list within the mod which contains these specific entities. If you've found one, let me know via the issue tracker so I can add it to the list.
Currently on the list: FoxHound from Quark.
All available config options:
Show Spoiler
preventHostilesRadius default 48, min 1, max 128
The radius around the campfire in blocks where hostile mob spawns will be blocked.
burnHostilesAroundWhenPlaced default true
If enabled, burns all hostile mobs around the campfire within the radius whenever a player places a campfire.
burnHostilesRadiusModifier default 0.5, min 0, max 1.0
By default set to 0.5. This means that if the radius is 16, the campfire burns prior mobs in a radius of 8.
preventMobSpawnerSpawns default false
When enabled, the mob spawners spawns are also disabled when a campfire is within the radius.
campfireMustBeLit default true
When enabled, the campfire only has an effect when the block is lit up.
campfireMustBeSignalling default false
When enabled, the campfire only has an effect when the block is signalling.
1.16+_only config options:
enableEffectForNormalCampfires default true
When enabled, the mod will work with normal campfires.
enableEffectForSoulCampfires default true
When enabled, the mod will work with soul campfires.
You may freely use this mod in any modpack, as long as the download remains hosted within the CurseForge or Modrinth ecosystem.
Serilum.com contains an overview and more information on all mods available.
For issues, ideas, suggestions or anything else there is the Github repo. Thanks!
Available Versions
How to Install No Hostiles Around Campfire on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (26.2).
Install Mod
Open the mod browser in the dashboard and search for "No Hostiles Around Campfire". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
26.2, 26.1.2, 26.1.1 (+25 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
No Hostiles Around Campfire 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.2). You can switch loaders with one click in the panel.
Is No Hostiles Around Campfire compatible with fabric and forge and neoforge and quilt?
No Hostiles Around Campfire officially supports fabric, forge, neoforge, quilt for Minecraft 26.2, 26.1.2, 26.1.1. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with No Hostiles Around Campfire – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if No Hostiles Around Campfire 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.
Similar Mods
Rent Modded Server
Install No Hostiles Around Campfire with just one click on your server.
