跳到正文

SpawnForce

作者:Bahanos

Forces specific entities to spawn by bypassing canSpawn checks. Config-driven, mod-agnostic. Works with AdventureZ, Marium's Soulslike Weaponry, and any mod whose mobs refuse to spawn due to restrictive predicates.

收藏

介绍

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

SpawnForce is a lightweight Fabric mod that forces specific entities to spawn by bypassing Minecraft’s three canSpawn gates. Many modded mobs (AdventureZ orcs/shamans/fungi, Marium’s Soulslike Weaponry bosses, and others) ship with strict spawn predicates (light level, specific blocks, biome hardcoded lists) that prevent them from ever appearing in custom biomes – even when a datapack or worldgen mod declares them. SpawnForce lets you whitelist entity IDs in a config file and bypasses those checks only for them.

Features

  • Config-driven whitelist: list any entity ID (modid:entity_name) in config/spawnforce.json and it will spawn where biome/mobcap allow
  • Bypasses the three vanilla spawn gates:
  • SpawnHelper.canSpawn (location check: ground, block type, light)
  • SpawnRestriction.canSpawn (registered spawn predicate)
  • MobEntity.canSpawn (per-mob override)
  • Each gate has its own toggle – enable only what you need
  • Optional debug logging shows bypass hits per entity and periodic stats
  • Mod-agnostic: works with any mod’s mobs, no hardcoded list
  • Does NOT touch mobcap, spawn weight, or biome tags – a mob still needs to be declared in a biome (vanilla spawners or Big Globe bigglobe_extra_mob_spawns, etc.)

Configuration

{
“enabled”: true,
“debug”: false,
“bypass_spawn_helper_can_spawn”: true,
“bypass_spawn_restriction”: true,
“bypass_mob_entity_can_spawn”: true,
“force_spawn_entities”: [
“adventurez:orc”,
“adventurez:soul_reaper”,
“soulsweapons:draugr_boss”
]
}

  • enabled: master switch
  • debug: logs each bypass + 10s summary to console
  • bypass_\*: toggle each gate individually (leave all true unless you want finer control)
  • force_spawn_entities: the whitelist. Missing IDs are ignored with a warning

Restart the game after editing.

Recommended For

  • Modpacks combining mob mods with custom worldgen (Big Globe, Terralith, Biomes O’ Plenty, etc.) where modded mobs refuse to spawn
  • Adventure/RPG packs that need specific mobs in specific biomes without writing Java patches
  • Anyone using In Control! on Forge who needs the equivalent "result":"allow" on Fabric

Used in the Legends Reborn: Medieval modpack.

常见问题

SpawnForce 支持哪些 Minecraft 版本?

SpawnForce 支持 Minecraft Java 版 1.20.1,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

SpawnForce 怎么安装?

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

评论

登录后评论和评分

Bahanos 的其他作品

查看全部 →