Siege zombies spawn inside some blocks
The bug
Siege zombies will spawn on the dirt/stone block underneath farmland blocks, slabs, and other non-opaque blocks. If there are two layers of non-opaque blocks, they can even spawn completely buried and unable to escape.
Note this is not the same issue as MC-57831, where mobs from spawners will spawn inside fully-opaque blocks.
How to reproduce
Village sieges only happen
- when the moon is at the zenith
- when a player (not being a spectator) is nearby
- when no second village is close
- when the village has at least 10 doors
- when the village has at least 20 villagers
- with a chance of 1 / 10
Because a siege only happens with a chance of 1 / 10 it is easier to cause one by having a clock (for example repeater) setting the time to day, waiting a short moment (for example one redstone tick), setting the time to 18000 and then waiting a little bit longer.
- Create a Superflat world with the following preset
3;minecraft:stone,minecraft:stone_slab,minecraft:web;1;village
- Get to a nearby village, for example by using /locate Village, and wait for the zombies to spawn
Code analysis
Based on 1.11.2 decompiled using MCP 9.35 rc1
Village sieges only require the method net.minecraft.world.WorldEntitySpawner.canCreatureTypeSpawnAtLocation(SpawnPlacementType, World, BlockPos) to return true. This means zombies can spawn
- in not-normal cube blocks
- even if there are already entities at that position
- right next to a player
- right next to light sources
Note: This method should probably not be used anymore because it always checks for two blocks even if the mob is smaller.
Linked Issues
is duplicated by7
Created Issue:
Siege zombies spawn inside some blocks
Siege zombies will spawn on the dirt/stone block underneath farmland blocks, slabs, and other non-opaque blocks. If there are two layers of non-opaque blocks, they can even spawn completely buried and unable to escape.
Note this is not the same issue as
MC-57831, where mobs from spawners will spawn inside fully-opaque blocks.
is duplicated by
is duplicated by
is duplicated by
Siege zombies will spawn on the dirt/stone block underneath farmland blocks, slabs, and other non-opaque blocks. If there are two layers of non-opaque blocks, they can even spawn completely buried and unable to escape.
Note this is not the same issue as
MC-57831, where mobs from spawners will spawn inside fully-opaque blocks.The bug
Siege zombies will spawn on the dirt/stone block underneath farmland blocks, slabs, and other non-opaque blocks. If there are two layers of non-opaque blocks, they can even spawn completely buried and unable to escape.
Note this is not the same issue as
MC-57831, where mobs from spawners will spawn inside fully-opaque blocks.Code analysis
Based on 1.11.2 decompiled using MCP 9.35 rc1
Village sieges only require the method net.minecraft.world.WorldEntitySpawner.canCreatureTypeSpawnAtLocation(SpawnPlacementType, World, BlockPos) to return true. This means zombies can spawn
- in not-normal cube blocks
- even if there are already entities at that position
- right next to a player
- right next to light sources
Note: This method should probably not be used anymore because it always checks for two blocks even if the mob is smaller.
The bug
Siege zombies will spawn on the dirt/stone block underneath farmland blocks, slabs, and other non-opaque blocks. If there are two layers of non-opaque blocks, they can even spawn completely buried and unable to escape.
Note this is not the same issue as
MC-57831, where mobs from spawners will spawn inside fully-opaque blocks.Code analysis
Based on 1.11.2 decompiled using MCP 9.35 rc1
Village sieges only require the method net.minecraft.world.WorldEntitySpawner.canCreatureTypeSpawnAtLocation(SpawnPlacementType, World, BlockPos) to return true. This means zombies can spawn
- in not-normal cube blocks
- even if there are already entities at that position
- right next to a player
- right next to light sources
Note: This method should probably not be used anymore because it always checks for two blocks even if the mob is smaller.
The bug
Siege zombies will spawn on the dirt/stone block underneath farmland blocks, slabs, and other non-opaque blocks. If there are two layers of non-opaque blocks, they can even spawn completely buried and unable to escape.
Note this is not the same issue as
MC-57831, where mobs from spawners will spawn inside fully-opaque blocks.How to reproduce
Village sieges only happen
- when the moon is at the zenith
- when a player (not being a spectator) is nearby
- when no second village is close
- when the village has at least 10 doors
- when the village has at least 20 villagers
- with a chance of 1 / 10
Because a siege only happens with a chance of 1 / 10 it is easier to cause one by having a clock (for example repeater) setting the time to day, waiting a short moment (for example one redstone tick), setting the time to 18000 and then waiting a little bit longer.
- Create a Superflat world with the following preset
3;minecraft:stone,minecraft:stone_slab,minecraft:web;1;village- Get to a nearby village, for example by using /locate Village, and wait for the zombies to spawn
Code analysis
Based on 1.11.2 decompiled using MCP 9.35 rc1
Village sieges only require the method net.minecraft.world.WorldEntitySpawner.canCreatureTypeSpawnAtLocation(SpawnPlacementType, World, BlockPos) to return true. This means zombies can spawn
- in not-normal cube blocks
- even if there are already entities at that position
- right next to a player
- right next to light sources
Note: This method should probably not be used anymore because it always checks for two blocks even if the mob is smaller.
is duplicated by
is duplicated by
is duplicated by
is duplicated by
relates to
relates to
Duplicate of MC-59440 (I've updated the affected versions on that issue to list 1.10.2).
Note that this is a zombie siege upon your village, not normal spawning.
Zombies spawned within a siege ignore player proximity, light levels, and the presence of other mobs.
That said, them spawning inside of blocks is a glitch, although it's unrelated to the behavior of light levels on slabs (MC-46667).
The bug
Zombies spawned by a village siege do not spawn centered on a block, instead they use the block position coordinates. This can, combined with MC-59440, result in suffocating zombies.
How to reproduce
Village sieges only happen
- when the moon is at the zenith
- when a player (not being a spectator) is nearby
- when no second village is close
- when the village has at least 10 doors
- when the village has at least 20 villagers
- with a chance of 1 / 10
Because a siege only happens with a chance of 1 / 10 it is easier to cause one by having a clock (for example repeater) setting the time to day, waiting a short moment (for example one redstone tick), setting the time to 18000 and then waiting a little bit longer.
- Create a Superflat world with the preset "Classic Flat"
- Get to a nearby village, for example by using /locate Village
- Setup a repeating command block with the following command
/entitydata @e[type=zombie] {NoAI:1b} - Look at the zombies spawned by a village siege
→ They will be in the middle of four blocks
Code analysis
Based on 1.11.2 decompiled using MCP 9.35 rc1
The method net.minecraft.village.VillageSiege.spawnZombie() does not add 0.5 to the X and Z coordinate when calling net.minecraft.entity.Entity.setLocationAndAngles(double, double, double, float, float).
Thank you for your report!
However, this issue is a Duplicate of MC-59440.
It has been linked to this report. If you have additional information, please add it to that report.
Please search before reporting, as it's likely that one exists already.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki
This is probably MC-59440 (Siege zombies spawn inside some blocks). Do you have villagers nearby? Then these are zombies spawned to attack those.
The code analysis of MC-59440 describes this difference and a few other ones, however it is not directly about this issue, so I only linked it as related.
Is this still an issue in 14w33c or newer?
Yes, it still occurs in 14w33c.
Occurs in 14w33c as well. Half-slabbed the entire 128 block radius, got siege zombies spawning inside of them.
Still exists in 14w34b
Still present in 1.8-pre1.
+1 support to confirmation, still present in 1.8-pre1
No one assigned to fixing this? My adventure map is ruined if this doesn't get fixed.
Still present in 1.8-pre2.
+1 support to confirmation, still present in 1.8-pre2
Still present in 1.8-pre3.
+1 to confirmation, still present in 1.8-pre3
Still present in 1.8.
+1 to confirmation, still present in 1.8.
Still present in 1.8.1-pre2.
Is this still an issue in 1.8.1 and 1.8.2-pre1?
Yes, still occurs in 1.8.2-pre1.
Still present in 1.8.2-pre3.
Still present in 1.8.3.
Still present in 1.10.2
Already marked as affected
Does this still occur in the latest release? (Currently 1.14.2)