mojira.dev
MC-61505

Mob Spawners count min/max spawn delay with a rate of 10 instead of 1

Mob spawners (custom and vanilla) seem to be ignoring their minimum and maximum spawn delay and instead spawning once every 20 ticks or so. Tested with custom mob spawners and vanilla. Also true with entity and item spawners.

Linked issues

Comments 3

Experimenting a bit and looking at a decompilation, it appears that the delay is being counted down 10 times as fast: the delay counter is being decremented by 10 per tick instead of just 1 per tick.

I thought I noticed a strange speedy spawn rate in my map as well.

I've done some testing with this. I don't think the game is ignoring the levels. I think the ticks have been sped up 10x.
To reproduce, create a command block with this

setblock ~ ~1 ~ mob_spawner 0 replace {EntityId:PigZombie,SpawnCount:1,SpawnRange:2,RequiredPlayerRange:16,Delay:200,MinSpawnDelay:200,MaxSpawnDelay:800,MaxNearbyEntities:8}

Watch the speed at which they spawn. The delay is MUCH faster than 200 - 800. But if you change the delay to 2000 - 8000 it seems the same as 200 - 800 delay in previous versions/snapshots.

three_two

michael

Unconfirmed

Minecraft 14w28b

Minecraft 14w29a

Retrieved