No Hostiles Around Campfire

Quick rating

Community listing page, reviews may not be monitored by the author.

No Hostiles Around Campfire

By SerilumOwner

No reviews yet

๐Ÿ”ฅ Prevents hostile mob spawns and burns them around the campfire in a configurable radius.

Mod Loaders
Minecraft
26.3 26.2

About

Description

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. 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!


curseforge.svg modrinth.svg patreon.svg youtube.svg

Requires the library modย Collective (Fabric) and the Fabric API.



ย  ย  ย This mod is part of The Vanilla Experience.
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.


Configurable: (ย how do I configure?ย )
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 ecosystem.

Serilum.com contains an overview and more information on all mods available.

Comments are disabled as I'm unable to keep track of all the separate pages on each mod.
For issues, ideas, suggestions or anything else there is theย Github repo. Thanks!


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 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.



Dependencies

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




Configurable

Configuration guide

ย ย ย 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.




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.

For issues, ideas, suggestions or anything else there is theย Github repo. Thanks!