跳到正文

No Hostiles Around Campfire

作者:Serilum

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

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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. Campfires added by other mods work as well. 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:

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.

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.

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

常见问题

No Hostiles Around Campfire 支持哪些 Minecraft 版本?

No Hostiles Around Campfire 支持 Minecraft Java 版 1.14.4–26.3,共 40 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。

No Hostiles Around Campfire 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

Serilum 的其他作品

查看全部 →