Spider spawner's MaxNearbyEntities tag counts Cave Spiders
When testing spawn conditions regular Spider Spawners include the count of Cave Spiders when testing for nearby entities. This is odd behaviour because the mobs have different EntityIDs and spawners "should" only count entities with the same ID.
How to recreate:
1. Take a Spider Spawner
2. Put the MaxNearbyEntity count of Cave Spiders in it's Spawnrange.
3. No spider will spawn.
Other hostile mobs do not interfere with the spawning.
Also: Regular spiders do not prevent a Cave Spider Spawner from spawning.
Environment
OS: Windows 7 6.1 amd64
Java: 1.7.0_25 Oracle Corporation 64 Bit
Minecraft 1.6.2
Linked Issues
Created Issue:
Spider spawner's MaxNearbyEntities tag counts Cave Spiders
When testing spawn conditions regular Spider Spawners include the count of Cave Spiders when testing for nearby entities. This is odd behaviour because the mobs have different EntityIDs and spawners "should" only count entities with the same ID.
How to recreate:
1. Take a Spider Spawner
2. Put the MaxNearbyEntity count of Cave Spiders in it's Spawnrange.
3. No spider will spawn.Other hostile mobs do not interfere with the spawning.
Also: Regular spiders do not prevent a Cave Spider Spawner from spawning.Environment
OS: Windows 7 6.1 amd64
Java: 1.7.0_25 Oracle Corporation 64 Bit
Minecraft 1.6.2
When testing spawn conditions regular Spider Spawners include the count of Cave Spiders when testing for nearby entities. This is odd behaviour because the mobs have different EntityIDs and spawners "should" only count entities with the same ID.
How to recreate:
1. Take a Spider Spawner
2. Put the MaxNearbyEntity count of Cave Spiders in it's Spawnrange.
3. No spider will spawn.Other hostile mobs do not interfere with the spawning.
Also: Regular spiders do not prevent a Cave Spider Spawner from spawning.When testing spawn conditions regular Spider Spawners include the count of Cave Spiders when testing for nearby entities. This is odd behaviour because the mobs have different EntityIDs and spawners "should" only count entities with the same ID.
How to recreate:
1. Take a Spider Spawner
2. Put the MaxNearbyEntity count of Cave Spiders in it's Spawnrange.
3. No spider will spawn.Other hostile mobs do not interfere with the spawning.
Also: Regular spiders do not prevent a Cave Spider Spawner from spawning.
relates to
This bug was first reported in MC-26274. Since it has been closed for many years (erroneously), I am reopening under a new issue.
Before spawning, spawners check if there are more than MaxNearbyEntities entities of the same type as the spawner. If so, it skips spawning. However, this miscounts entities that are similar. This could be WAI, if not for the fact that it's not symmetric:
Cave spiders count toward a Spider spawner's mob cap, but spiders don't count toward a cave spider spawner.
Magma cubes block slime spawners, but not vice versa.
Pigmen, husks, and drowned block zombie spawners, but not vice versa.
To reproduce, spawn many pigmen. Place a zombie spawner nearby. No zombies will spawn.
Is this still a concern in the current Minecraft version 1.7.2 / Launcher version 1.3.4 or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.
This ticket is incomplete without the requested information, no response has been received within a reasonable time and we are assuming the issue has been resolved. If you are still experiencing this issue, we can reopen it at your request.
Please review the guidelines before reporting issues.