The Bumblezone (Quilt/Fabric)

The Bumblezone (Quilt/Fabric)

12M Downloads

Mob Spawn Rate Options Set to Zero Don't Block Spawns

wtchappell opened this issue ยท 2 comments

commented

The recent spawn rate feature doesn't seem to prevent either Endermen or Phantoms from spawning when I set the corresponding configuration fields to 0.0.

Relevant config section from my save's serverconfig/the_bumblezone-server.toml:

["Mob Spawning Options"]
	# 
	#-----------------------------------------------------
	#
	# Controls Phantoms spawnrate in the Bumblezone.
	# 1 for max spawnrate and 0 for no spawning. 0.5 is half the rate.
	#Range: 0.0 ~ 1.0
	phantomSpawnrate = 0.0
	# 
	#-----------------------------------------------------
	#
	# Controls Endermen spawnrate in the Bumblezone.
	# 1 for max spawnrate and 0 for no spawning. 0.5 is half the rate.
	#Range: 0.0 ~ 1.0
	endermanSpawnrate = 0.0
	# 
	#-----------------------------------------------------
	#
	# Controls Spider spawnrate in the Bumblezone.
	# 1 for max spawnrate and 0 for no spawning. 0.5 is half the rate.
	#Range: 0.0 ~ 1.0
	spiderSpawnrate = 1.0
	# 
	#-----------------------------------------------------
	#
	# Controls Cave Spider spawnrate in the Bumblezone.
	# 1 for max spawnrate and 0 for no spawning. 0.5 is half the rate.
	#Range: 0.0 ~ 1.0
	caveSpiderSpawnrate = 1.0

Sorry to be such a bug magnet today... :(

commented

I think it might as simple as the numbers might be backwards, actually; I think 1.0 is actually no spawning:

else if ((entity.getType() == EntityType.PHANTOM && Bumblezone.BzConfig.phantomSpawnrate.get() > world.getRandom().nextFloat()) ||

commented

Yeah, v1.3.10 should resolve this issue as well.