
使用 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 有效,则会生效。

Disable unwanted mobs from spawning using JSON configuration.
Supports Forge, Fabric, and Quilt
⭐ Features ⭐
Add the ID of the entity you want to remove in config/ysns/disabled_entities.json5 to completely remove entities from 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.
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.
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.
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.
评论 0
登录后参与评分
还没有评论,来抢沙发吧