YepBlocked 让你完全掌控实体的生成——可以控制来自任何模组的任何生物,通过简单的游戏内命令进行操作并支持 Tab 补全。无需手动编辑配置文件(但如果你愿意,也可以进行手动配置)。
功能
- 全局开关 — 一次性阻止或允许所有自然生成 / 刷怪笼生成 / 试炼刷怪笼生成 / 生成蛋生成
- 单个实体覆盖 — 微调特定生物(例如:阻止幻翼的自然生成,但允许使用生成蛋)
- 通配符与正则表达式模式 — 使用
minecraft:*或.*golem一次性匹配整个群体 - 热重载 — 通过
/yb reload即时应用配置更改,无需重启游戏 - 持久化 — 首次运行时自动将配置保存到
config/YepBlocked.json
命令
所有命令都需要操作员权限(权限等级 2):
| 命令 | 描述 |
|---|---|
/yb reload |
从磁盘重新加载配置。仅在手动编辑后需要——通过 /yb add、/yb remove、/yb global 进行的更改会立即生效 |
/yb global [flags] |
设置所有实体的全局生成默认值。不带参数运行可查看当前设置 |
/yb add <entity> [flags] |
为特定实体添加覆盖规则 |
/yb remove <entity> |
移除特定实体的覆盖规则 |
示例:
/yb global natural— 一次性禁用所有实体的自然生成。
示例:/yb global ~natural— 在全局范围内重新启用自然生成。
示例:/yb global natural egg— 同时禁用所有实体的自然生成和生成蛋生成。
示例:/yb add minecraft:creeper natural=false egg=true— 阻止苦力怕的自然生成,但允许使用生成蛋。
标志(Flags)工作原理
每个覆盖规则(全局或单个实体)都可以独立控制四种生成来源:
natural— 自然世界生成(昼夜循环、生物群系)spawner— 怪物刷怪笼trial— 试炼刷怪笼egg— 生成蛋
标志语法:
- 单独使用标志 = 阻止:
/yb add zombie natural ~前缀 = 允许:/yb add zombie ~natural=语法:/yb add zombie natural=false egg=true
依赖项
| 平台 | 所需依赖 |
|---|---|
| Fabric | Fabric API + Fabric Language Kotlin |
| Forge | Kotlin for Forge (5.12.0+) |
| NeoForge | Kotlin for Forge (NeoForge 版本, 6.x) |
支持版本
- Minecraft: 1.21.1, 26.1, 26.2, 26.3
- 平台:Fabric, Forge (仅限 1.21.1), NeoForge
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, 26.3
- Platforms: Fabric, Forge (only 1.21.1), NeoForge
下载 YepBlocked
下载 YepBlocked
下载 YepBlocked
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 YepBlocked
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 YepBlocked
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 YepBlocked
下载 YepBlocked
下载 YepBlocked
下载 YepBlocked
下载 YepBlocked
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧