Requires the library mod Collective.
This mod is part of The Vanilla Experience.
Healing Campfire creates an area around the campfire where players and/or passive mobs receive the regeneration effect in a configurable radius. Modded passive entities will be healed as well as long as they are not classified as “EntityClassification.Monster”. When the entity has half of the remaining regeneration effect left and is near the campfire, the effect duration will refresh.
The Soul Campfire in the 1.16 version is compatible! This is configurable.
You may also be interested in No Hostiles Around Campfire.
checkForCampfireDelayInTicks (default = 40, min 1, max 1200): How often in ticks the mod checks for campfires around the player. 1 second = 20 ticks, so by default every 2 seconds.
healingRadius (default = 16, min 1, max 64): The radius around the campfire in blocks where players receive the regeneration effect.
effectDurationSeconds (default = 60, min 1, max 600): The duration of the regeneration effect which the campfire applies.
regenerationLevel (default = 1, min 1, max 50): The level of regeneration which the campfire applies, by default 1.
healPassiveMobs (default = true): When enabled, the campfire heals passive mobs around where the radius is half the width of a bounding box.
hideEffectParticles (default = true): When enabled, hides the particles from the regeneration effect around the campfire.
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.
A GIF showing the effect: