可以使用Sponge核心自带的TileEntity-Activation功能
方法如下:
1、找到../config/Sponge/global.conf文件;
2、在Modules下找到关键字:“tileentity-activation”,将其值设置为“tileentity-activation=true”
3、在tileentity-activation下找到关键字“auto-populate”,将其值设置为:“auto-populate=true”
4、重启服务器;
5、重启后,Global.conf会更新,在在tileentity-activation下找到关键字“mob_spawner”
6、将mob_spawner
里面的数字更改即可,数字越大越慢
同理将这个参数复制到\config\sponge\worlds\minecraft\overworld里面的一个世界的配置文件中,就可以单独更改这个世界的配置