
使用 JSON 配置文件禁用不需要的生物生成。
支持 Forge、Fabric 和 Quilt
⭐ 功能 ⭐
- 禁用实体生成
在 config/ysns/disabled_entities.json5 中添加想要移除的实体的 ID,即可完全阻止该实体生成。
- 控制实体生成
无论是按维度还是全局(通过使用 "!.*"),你都可以配置 config/ysns/per_dimension_entities.json5 来控制实体的生成率。
- 正则表达式支持
需要禁用来自某个模组(mod)的多个实体?或者它们之间存在某种规律?那么无需重复操作!
借助正则表达式,你可以在单个条目中禁用多个实体、禁用某个模组的所有实体,以及实现更多功能!只需以 "!" 开头,然后编写你的正则表达式即可。
- 带注释的配置文件
配置文件中包含注释,解释了你需要添加的内容并提供了使模组正常工作的示例!如果需要额外帮助,欢迎加入我的 Discord 服务器并在 #elocins-projects 频道留言。
常见问题解答
- 我可以在整合包中使用此模组吗?
当然可以!它专为整合包创作者设计,用于移除可能导致游戏失衡或引发问题的不期望实体。
- 我还能让这些实体生成吗?
如果使用 disabled_entities 配置,不可以。一旦将生物加入黑名单,就无法通过任何方法使其生成。无论是自然生成还是通过刷新蛋/指令。此模组旨在彻底移除不期望的实体。
对于 per_dimension 配置,它是基于概率工作的,因此当值为 0.0 时它们将完全不会生成。但如果设置为 0.5,则会有 50% 的概率生成。
- 是客户端还是服务端模组?
所有处理都在服务端进行。不过建议也为客户端保留此模组及其配置文件,以便他们游玩单人世界。请务必在服务端整合包中始终包含此模组及其配置文件。
- 如果我将已经生成的实体加入黑名单会怎样?
已生成的实体仍会存在,因此是否清除它们由你决定。正因如此,建议在创建世界之前配置好此模组。
- 如果我在配置文件中拼错了实体 ID 会怎样?
什么都不会发生。添加无效的 ID 不会导致问题,但显然该实体不会被列入黑名单,因为它在技术上不存在。如果模组未安装也会发生同样的情况;但如果之后安装了该模组且 ID 有效,则会生效。

Disable unwanted mobs from spawning using JSON configuration.
Supports Forge, Fabric, and Quilt
⭐ Features ⭐
- Disable Entity Spawning
Add the ID of the entity you want to remove in config/ysns/disabled_entities.json5 to completely remove entities from spawning.
- Control Entity Spawning
Whether per dimension or globally (by using "!.*"), you can control the spawn rate of an entity in the config/ysns/per_dimension_entities.json5 config.
- Regex Support
Need to disable multiple entities from 1 mod? Or is there a pattern in them? Then no need to repeat yourself!
With regular expressions, you can disable multiple entities in a single entry, disable all entities from a mod, and a lot more! Simply start the entry with "!" and then write your regular expression.
- Commented Config File
The config files have comments explaining and giving examples of what you need to add to make the mod work! If you need extra help, feel free to hop in my Discord in the #elocins-projects channel.
FAQ
- Can I use this in my modpack?
Of course! It was designed for modpack creators to remove undesired entities that may unbalance the game or create issues.
- Can I still make the entities spawn?
In the case of using the disabled_entities config, no. Once a mob is added to the blacklist, there is no way to spawn it by any method. Both natural or through eggs/commands. This mod is meant to completely remove undesired entities.
In the case of the per_dimension config, it works via chance, so at 0.0 they won't spawn at all. But at 0.5 it'll have a 50% chance of spawning.
- Client or server?
Everything happens on the server's side. Though it is recommended to leave the mod and config for clients too, for the case they want to play a single-player world. You should always leave this mod in the server pack alongside its config.
- What if I add an entity to the blacklist that was already spawned?
Spawned entities will still exist, so it's up to you if you want to kill them or not. For this reason, it's recommended to configure the mod before creating a world.
- What if I misspell an entity's ID in the config file?
Nothing will happen. Adding invalid IDs won't cause issues, but obviously, the entity won't be blacklisted as it technically doesn't exist. The same thing would happen if the mod isn't present, but it will be if it's added later and the ID is valid.
下载 You Shall Not Spawn!
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 You Shall Not Spawn!
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 You Shall Not Spawn!
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 You Shall Not Spawn!
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 You Shall Not Spawn!
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 You Shall Not Spawn!
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 You Shall Not Spawn!
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 You Shall Not Spawn!
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 You Shall Not Spawn!
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 You Shall Not Spawn!
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
2.0.2
- 修复了在对每个维度禁用实体时使用正则表达式导致的崩溃问题
2.0.1
- 添加了回退调用,以防止在某些情况下实体仍然生成
- 修复了在服务器上可能发生的崩溃问题
2.0.0
You Shall Not Spawn v2 初始版本发布
- 现在可以全局、按维度禁用实体,或降低生成几率。
- 配置文件已迁移至 JSON5 格式
- 新增正则表达式支持(例如可用于禁止除特定一种生物外的所有生物)
- 修复了与其他模组交互时遇到的许多问题
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
缓冲的原始输入和线程化的事件轮询
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
原版世界生成优化模组
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
评论 0
登录后参与评分
还没有评论,来抢沙发吧