promotional bannermobile promotional banner

No Hostiles Around Campfire

🔥 Prevents hostile mob spawns and burns them around the campfire in a configurable radius.
affiliate banner image

A Serilum Mod. Made with love. Lots of active mods for Fabric, Forge and Neo!

CurseForge Modrinth Patreon YouTube


About the mod

No Hostiles Around Campfire prevents hostile mobs from spawning around campfires, by default in a radius of 48 blocks. When a player places a campfire, hostile mobs nearby are set on fire for 30 seconds. Breaking that campfire puts them out again. Mobs with a custom name are left alone, so your name tagged zombie is safe.

It blocks natural spawns, pillager patrols, zombie sieges and zombified piglins coming out of nether portals. Spawn eggs, commands and raids are never blocked, and mob spawners only if enabled in the config. Modded hostile mobs are supported as well.

Campfires can be required to be lit, signalling or under open sky, and normal and soul campfires can be toggled separately. Campfires added by other mods work as well. Specific mobs can be ignored, or treated as hostile when their mod doesn't register them as one.

You may also be interested in Healing Campfire.



Dependencies

Requires Collective
Included in The Vanilla ExperienceIncluded in Serilum's RPG Bundle
Environment: Server




Configurable

Configuration guide

   All available config options:

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.

preventBurningNamedHostiles  default true
When enabled, hostile mobs with a custom name, like one given with a name tag, are not set on fire when a campfire is placed.

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.

campfireMustHaveSkyAccess  default false
When enabled, the campfire only has an effect when nothing above it blocks the sky. This keeps campfires from clearing out caves.

enableEffectForNormalCampfires  default true
When enabled, the mod will work with normal campfires.

enableEffectForSoulCampfires  default true
When enabled, the mod will work with soul campfires.

entitiesToIgnore  default ""
Mobs that campfires never block or burn, comma separated. For example 'minecraft:pillager'. A '*' works as a wildcard, like 'alexsmobs:*'. Entity tags work too, starting with a '#', like '#minecraft:raiders'.

entitiesToTreatAsHostile  default ""
Mobs that count as hostile even though their mod doesn't register them as monsters, comma separated. For example 'alexsmobs:crocodile'. A '*' works as a wildcard. Entity tags work too, starting with a '#'.




Notes and links

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.

Comments are disabled as I'm unable to keep track of them across so many separate mod pages.
For issues, ideas, suggestions or anything else there is the Github repo. Thanks!


No Hostiles Around Campfire Team

profile avatar
Owner
Hammer Lord tier icon
  • 3.0K
    Followers
  • 363
    Projects
  • 930.4M
    Downloads

Makes Minecraft mods and a few other random bits of software. I love projects. > DMs are disabled, please use the `Serilum/.issue-tracker` on GitHub! ❤︎

Donate

More from SerilumView all