No Hostiles Around Campfire
🔥 Prevents hostile mob spawns and burns them around the campfire in a configurable radius.
介绍
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.
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 ‘#’.
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 的其他作品
查看全部 →Collective
🎓 Collective 是 Serilum 所有模组共用的前置库,包含通用代码。
Starter Kit
📦 为加入世界的新玩家提供可配置的初始装备、物品、药水效果、Curios 和 Trinkets 饰品槽位和/或命令。兼容 FTB Team Islands。
Villager Names
为所有村民实体添加默认名称或自定义名称,让世界更加生动。
Double Doors
🚪 多个相同的双开门、活板门和栅栏门可以同时打开。

评论
登录后评论和评分