mojira.dev
MC-2102

Mobs spawning inside leaves

The animals are trapped in pastures to spawn...in survival and creative
http://www.youtube.com/watch?v=l3wLq5VnM5E

Linked issues

Attachments

Comments 41

Please provide a description of your issue, and not just pictures.

Luke Anderson (stuntguy3000)

This has been around since before 1.4, Basically animals spawn on the grass, in the leaf blocks.

Duplicate of MC-1998

The fix is quite simple I think. The spawning Algo currently checks if the the block to spawn on is translucent, but instead it should check if the block has a bounding box where entities collide on.

@Tyron That And It Also Spawn The Jungle Over The Mobs A Lot Of Times During World Generation

31 more comments

1.8.4 17 sheep spawned in a leaf block, jungle, and suffocated\ Creative

Confirmed for

  • 1.8.7 I assume the game treats the leaves as non-solid blocks when spawning the animals

Still present in 1.9 snapshots (as of 15w35a). The sheep I saw didn't seem to be suffocating, though.

Was this fixed as a result of MC-64492 being fixed?

Certainly seems fixed; I flew around for a while in the jungle that Markku provided and all the animals seemed to have spawned correctly.

Ignacio Romang

Erik Broes

Confirmed

animal, bush, leaves, mob, spawn, tree

Minecraft 1.4.2, Minecraft 1.4.6, Minecraft 1.4.7, Snapshot 13w09a, Snapshot 13w09b, ..., Minecraft 1.8.4, Minecraft 1.8.7, Minecraft 15w35a, Minecraft 15w44b, Minecraft 15w45a

Minecraft 15w47c

Retrieved