介绍
YepBlocked gives you complete control over entity spawns — any mob from any mod, controlled via simple in-game commands with tab completion. No manual config editing needed (but it’s there if you want it).
Features
- Global toggles — block or allow all natural / spawner / trial spawner / egg spawns at once
- Per-entity overrides — fine-tune specific mobs (e.g. block phantom natural spawns but allow spawn eggs)
- Glob & regex patterns — use
minecraft:*or.*golemto match entire groups at once - Hot-reload — apply config changes instantly with
/yb reload, no restart required - Persistence — config auto-saves to
config/YepBlocked.jsonon first run
Commands
All commands require operator privileges (permission level 2):
| Command | Description |
|—|—|
| /yb reload | Reload config from disk. Only needed after manual edits — changes via /yb add, /yb remove, /yb global apply immediately |
| /yb global [flags] | Set global spawn defaults for all entities. Run without flags to see current settings |
| /yb add <entity> [flags] | Add an override for a specific entity |
| /yb remove <entity> | Remove a specific entity override |
Example:
/yb global natural— disable natural spawns for all entities at once.
Example:
/yb global ~natural— re-enable natural spawns globally.
Example:
/yb global natural egg— disable natural spawns AND spawn eggs for all entities.
Example:
/yb add minecraft:creeper natural=false egg=true— block natural creeper spawns but allow eggs.
How flags work
Each override (global or per-entity) can control four spawn sources independently:
natural— natural world spawns (day/night cycle, biomes)spawner— monster spawnerstrial— trial spawnersegg— spawn eggs
Flag syntax:
- Bare flag = block:
/yb add zombie natural ~prefix = allow:/yb add zombie ~natural=syntax:/yb add zombie natural=false egg=true
Dependencies
| Platform | Required dependency |
|—|—|
| Fabric | Fabric API + Fabric Language Kotlin |
| Forge | Kotlin for Forge (5.12.0+) |
| NeoForge | Kotlin for Forge (NeoForge variant, 6.x) |
Supported versions
- Minecraft: 1.21.1, 26.1, 26.2
- Platforms: Fabric, Forge (only 1.21.1), NeoForge
常见问题
YepBlocked 支持哪些 Minecraft 版本?
YepBlocked 支持 Minecraft Java 版 1.21.1–26.2,共 15 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
YepBlocked 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
评论
登录后评论和评分