
用途
本模组提供了配置刷怪笼的方法,旨在 discourages(劝阻)在刷怪农场中使用它们,或激励玩家去寻找并摧毁它们。它可以在带有原版客户端的 Forge 服务器上使用,但在这种情况下,建议避免使用自定义刷怪笼功能。
默认选项
默认情况下,本模组会在刷怪笼生成 100 个生物后使其失效。
配置
不过,您可以将其配置为:
- 更改使刷怪笼失效前生成的最大生物数量
- 在失效后禁用刷怪笼,而不是销毁它
- 禁用所有针对原版刷怪笼的更改,仅修改模组自带的刷怪笼。
- 将生物的计数改为在其被击杀时进行,而不是在生成时。这样可以防止玩家通过等待刷怪笼耗尽来“卡关”地牢。
- 更改玩家破坏刷怪笼时掉落的经验值数量。计算公式为:
exp = xpDropped + rand(randXpVariation) + rand(randXpVariation)
其中 xpDropped 是配置文件中的常数,rand(randXpVariation) 是 0 到 randXpVariation(在配置文件中定义)之间的随机值。 - 添加当刷怪笼被玩家破坏时掉落的物品。这在配置文件中以物品列表的形式完成,格式为 "modid:itemid:count:meta:chance",其中 count、meta 和 chance 是可选的数字。Chance 是一个介于 0 和 1 之间的数字,对应条目掉落的概率。(例如:"minecraft:porkchop", "minecraft:wool:5:13", "minecraft:diamond:1:0:0.75")
- 改变刷怪笼随时间变化的冷却时间。每次计数一个生物(生成或击杀),关联的刷怪笼的冷却时间会乘以配置中设置的数值,默认值为 1(无变化)。因此,您可以将其设置为 0 到 1 之间的值以实现指数级生成,或者设置为大于 1 的值以使刷怪笼效率递减。也可以设置为负数以实现怪异的行为,由您决定。
- 更改生物生成条件
- 通过禁用任何特定实体的生成检查(例如动物需要草地)
- 通过禁用任何特定生物的生成检查(这与上述相同,但仅限于敌对生物,允许史莱姆在非史莱姆区块生成)
- 启用此选项后,您可以确保阳光仍然阻止生成,以避免僵尸生成后立即燃烧。
- 更改生成生物掉落的经验值数量
自定义刷怪笼
本模组允许您在配置中定义自定义刷怪笼。这些刷怪笼将作为新方块动态添加,并使用其自己的配置。它们的行为与原版刷怪笼完全相同,但不受 alterVanillaSpawner 配置选项的影响(NBT 的工作原理也相同,任何使用原版刷怪笼的功能都应适用于这些自定义刷怪笼)。这允许地图制作者根据需要随意使用任意数量的刷怪笼,每个刷怪笼都有自己的一套规则。与原版刷怪笼类似,默认情况下只能通过命令获得它们。(其 ID 为 spawnercontrol:<name>)。不过,您可以为模组启用创造模式标签页,其中将显示所有自定义刷怪笼。
演示自定义刷怪笼的视频(警告:游戏内帧率较低):
注意:由于 Forge 的限制,本模组不适用于原始实体,如物品、经验球、投射物等。如果它们看起来没有反应,那么它们的刷怪笼可能不受影响。另一方面,任何拥有正常工作的刷怪蛋的实体都保证能正常工作。
本模组是根据 Shivaxi

Purpose
This mod provides ways to configure mob spawners, to discourage their use in mob farms or to incentivize players to seek and destroy them. It can be used on a forge server with vanilla clients, though you should refrain from using the custom spawners feature when doing so.
Default options
By default, this mod makes spawners break after having spawned 100 mobs.
Configuration
You can however configure it to :
- Change the max amount of mobs spawned before obsolescence
- Disable the spawner after obsolescence, instead of destroying it
- Disable all changes made for vanilla spawners, altering only the mod's own spawners.
- Make mobs be counted when they are killed rather than when they are spawned. This avoids cheesing a dungeon by waiting for the spawners to run out.
- Change the amount of experience dropped when broken by a player. The formula for this is :
exp = xpDropped + rand(randXpVariation) + rand(randXpVariation)
where xpDropped is a constant in the config and rand(randXpVariation) is a random value between 0 and randXpVariation (defined in the config) - Add items to drop when the spawner is broken by a player. This is done in the config as a list of items, with the notation "modid:itemid:count:meta:chance", with count, meta and chance being optional numbers. Chance is a number between 0 and 1 corresponding to the probability an entry has to drop. (ex: "minecraft:porkchop", "minecraft:wool:5:13", "minecraft:diamond:1:0:0.75")
- Change spawners' cooldown over time. Each time a mob is counted (spawn or kill), the associated spawner sees its cooldown multiplied by the amount set in the config, which is 1 by default (no change). So you can set it to something between 0 and 1 for exponential spawns or higher than 1 to have spawners with diminishing efficiency. Or negative for wacky behaviours, your call.
- Alter mob spawn conditions
- By disabling any entity-specific spawning check (like animals needing grass)
- By disabling any mob-specific spawning check (this is the same as above but restricted to hostile mobs, allowing slimes to spawn outside slime chunks for example)
- With this option enabled, you can make it so sunlight still prevents spawning, to avoid zombies spawning and burning instantly.
- Change the amount of experience dropped by spawned mobs
Custom Spawners
This mods lets you define custom spawners in its configuration. Those spawners will be dynamically added as new blocks and use their own config. They act exactly the same as the vanilla one but aren't affected by the alterVanillaSpawner config option (nbt works the same as well, anything using vanilla spawners should work with those ones). This allows you as a map maker to use as many spawners as you want, each with its own set of rules. Similar to vanilla spawners, they are by default only obtainable through commands. (their id is spawnercontrol:<name>). You can however enable a creative tab for the mod, in which every custom spawner will appear.
Video demonstrating custom spawners (bad in-game framerate warning) :
Note: Due to Forge's constraints, this mod doesn't work with primitive entities such as items, xp orbs, projectiles... If it looks inert there's a chance spawners of it won't be affected. On the other hand, anything that has an associated working spawn egg is guaranteed to work.
This mod was made on a request by Shivaxi
下载 Mob Spawner Control
下载 Mob Spawner Control
下载 Mob Spawner Control
下载 Mob Spawner Control
下载 Mob Spawner Control
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Mob Spawner Control
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Mob Spawner Control
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Mob Spawner Control
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Mob Spawner Control
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Mob Spawner Control
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
添加了配置选项以控制生成生物的掉落物。
包括:
- 一个禁用由刷怪笼生成的实体所有掉落物的选项
- 一个移除特定掉落物的选项
- 一个添加新掉落物的选项(应用于前两项之后)
本次更新的所有功劳归于 Laike-Endaril (Pyrofab)
不过,Pyrofab也提供了帮助 (Laike Endaril)
此版本最初发布为 1.6.3,但由于 jar 文件存在奇怪的构建问题,因此进行了重新构建、测试,确认在新构建中问题已修复后,重新发布为 1.6.3b。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
原版世界生成优化模组
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
评论 0
登录后参与评分
还没有评论,来抢沙发吧