mojira.dev
MCPE-158613

Mobs can spawn inside leaf blocks.

Mobs can spawn inside tree leaves naturally across the world or when the player spawns a tree next to the mobs.

Linked issues

Attachments

Comments 3

I think this is intended behavior. Basically mob spawning requires a solid block to spawn on, with an air block above that, and no solid blocks in their hitbox. A few non-air non-solid blocks are OK for their feet; grass, scaffolding, torches, etc. Mob heads can spawn inside any non-solid block AFAIK.Β  At least according to the wiki.

Certain mob farms rely on the mechanic of mobs spawning with their head in a glass block; it pushes them to the south-eastΒ  and, usually, into the kill chamber. "fixing" that would nerf some awesome farms.

So IMO this is a feature request that should not be accepted.

As for spawning the tree next to the mob that's completely different; the mob isn't spawning so it's rules aren't checked. But again I suspect this is intended behavior. Trees COULD check for mobs but that would be a feature request. And what would happen? The mob gets pushed out? Or the tree fails to spawn? Or the affected leaf blocks break? There's no existing mechanic to handle any of those AFAIK. Trees check for blocks, but not mobs, by design.

Can confirm this is not a bug and is intended.

Thank you for your report!
We're tracking this issue in MCPE-47846, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
πŸ““ Bug Tracker Guidelines – πŸ’¬ Community Support – πŸ“§ Mojang Support
πŸ““ Project Summary – ✍️ Feedback and Suggestions – πŸ“– Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

correctboss

(Unassigned)

Unconfirmed

Android

Android 12

1.19.2 Hotfix

Retrieved