
需要库模组 Collective (Fabric) 以及 Fabric API。
本模组是 The Vanilla Experience 整合包的一部分。
Healing Campfire 会在营火周围创建一个区域,在该区域内玩家和/或中立生物会获得生命恢复效果,作用半径可配置。只要模组添加的中立生物不属于 非 "EntityClassification.Monster" 分类,它们也会得到治疗。当实体剩余的生命恢复效果时间过半且靠近营火时,该效果的持续时间将会刷新。
1.16 版本中的 Soul Campfire(灵魂营火)兼容!此功能可配置。
你可能也会对 No Hostiles Around Campfire 感兴趣。
可配置项: ( 如何配置? )
checkForCampfireDelayInTicks (默认值 = 40,最小值 1,最大值 1200):模组检查玩家周围是否有营火的频率(以刻为单位)。1 秒 = 20 刻,因此默认为每 2 秒检查一次。
healingRadius (默认值 = 16,最小值 1,最大值 64):营火周围玩家获得生命恢复效果的区块半径。
effectDurationSeconds (默认值 = 60,最小值 1,最大值 600):营火施加的生命恢复效果的持续秒数。
regenerationLevel (默认值 = 1,最小值 1,最大值 50):营火施加的生命恢复效果等级,默认为 1。
healPassiveMobs (默认值 = true):启用后,营火会治疗半径内的一半边界框宽度范围内的中立生物。
hideEffectParticles (默认值 = true):启用后,隐藏营火周围生命恢复效果的粒子特效。
campfireMustBeLit (默认值 = true):启用后,只有当营火方块处于点燃状态时才生效。
campfireMustBeSignalling (默认值 = false):启用后,只有当营火方块正在传递红石信号时才生效。
仅适用于 1.16+ 版本的配置选项:
enableEffectForNormalCampfires (默认值 = true):启用后,模组将对普通营火生效。
enableEffectForSoulCampfires (默认值 = true):启用后,模组将对灵魂营火生效。
效果演示 GIF:

------------------
只要下载仍托管在 CurseForge 生态系统中,您就可以在任何整合包中自由使用此模组。
Serilum.com 提供了所有可用模组的概览及更多信息。
由于我无法追踪各个模组的不同页面,评论区已关闭。
如有问题、想法、建议或其他任何内容,请访问 Github 仓库。谢谢!

Requires the library mod Collective (Fabric) and the Fabric API.
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.
Configurable: ( how do I configure? )
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:

------------------
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!
评论 0
登录后参与评分
还没有评论,来抢沙发吧