No Hostiles Around Campfire (Forge)

Mods
1,047,917 Downloads Last Updated: Mar 1, 2022 Game Version: 1.18.2   +1

a1



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.






b1
c1c2c3