No Hostiles Around Campfire

No Hostiles Around Campfire

Mod

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

Server AdventureGame MechanicsManagement Mobs

93.8k downloads
169 followers
Created2 years ago
Updated4 months ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

Requires the library mod Collective. 

   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 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 all the separate pages on each mod.
For issues, ideas, suggestions or anything else there is the Github repo. Thanks!


External resources



Project members

Serilum

Owner


Technical information

License
ARR
Client side
unsupported
Server side
required
Project ID