[MC-9568] Mobs suffocate / go through blocks when growing up near a solid block Created: 10/Feb/13  Updated: 13/May/24  Resolved: 07/May/24

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Snapshot 13w06a, Snapshot 13w07a, Snapshot 13w09a, Snapshot 13w09b, Minecraft 1.5, Minecraft 1.5.1, Minecraft 1.5.2, Snapshot 13w17a, Snapshot 13w19a, Snapshot 13w21a, Minecraft 1.6.1, Minecraft 1.6.2, Minecraft 1.7.9, Minecraft 14w32d, Minecraft 1.8, Minecraft 15w44b, Minecraft 15w45a, Minecraft 15w46a, Minecraft 1.11.2, Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.12.2 Pre-Release 1, Minecraft 1.12.2, Minecraft 18w01a, Minecraft 18w02a, Minecraft 18w03b, Minecraft 1.13-pre2, Minecraft 19w12a, Minecraft 1.14, 1.15.1, 1.15.2, 20w12a, 20w19a, 1.16.2, 1.16.3, 1.16.4, 20w48a, 20w51a, 21w03a, 21w05a, 21w05b, 21w07a, 21w11a, 1.17 Release Candidate 1, 1.17, 1.17.1, 1.18.1, 22w03a, 1.18.2, 1.19, 1.19.1 Pre-release 2, 1.19.1 Pre-release 3, 1.19.2, 1.19.4, 23w14a, 1.20 Pre-release 6, 1.20.6
Fix Version/s: 21w05a, 24w19a

Type: Bug
Reporter: Yasuo Iwakura Assignee: [Mojang] Panda
Resolution: Fixed Votes: 179
Labels: baby, mob

Attachments: PNG File 2017-10-02_00.11.57.png     PNG File DpP41Mf.png     Text File MC-9568 Proposal.txt     File MC-9568 Still not fixed.mp4     File MC-9568 not fixed.mp4     File Minecraft 21w05a - Singleplayer.mp4     File Video_2024-05-10_18-58-13.mp4    
Issue Links:
Duplicate
is duplicated by MC-9435 Adult chicken die when you pushing th... Resolved
is duplicated by MC-9540 Adult chickens eventually die if cage... Resolved
is duplicated by MC-9626 Glitching mob that kill them Resolved
is duplicated by MC-9635 Baby chickens glitching into solid bl... Resolved
is duplicated by MC-9742 Mobs suffocating by walking into walls Resolved
is duplicated by MC-9776 Chicken Suffocation Resolved
is duplicated by MC-9805 Mobs walking into walls and suffocating Resolved
is duplicated by MC-9838 Baby sheeps disappear Resolved
is duplicated by MC-9976 Breaded animals (babies) are disappea... Resolved
is duplicated by MC-10012 Hitbox for child mobs error when grow... Resolved
is duplicated by MC-10157 Animals suffocate in walls Resolved
is duplicated by MC-10181 Dying animals Resolved
is duplicated by MC-10229 Mobs suffocate in walls upon growing ... Resolved
is duplicated by MC-10268 Mob's collision boxed don't update wh... Resolved
is duplicated by MC-10287 Chickens randomly die. Resolved
is duplicated by MC-10370 13w06a: Rare Baby Animal hitbox bug, ... Resolved
is duplicated by MC-10552 Cows getting damage from blocks Resolved
is duplicated by MC-10797 Random animal death Resolved
is duplicated by MC-11492 Baby cows used to die in 13w snapshot... Resolved
is duplicated by MC-11543 Chickens Phasing through walls or dyi... Resolved
is duplicated by MC-11727 Chickens crazy Resolved
is duplicated by MC-12208 Animals !! get killd Resolved
is duplicated by MC-12481 Chickens die as they grow to adult Resolved
is duplicated by MC-13507 Animals glitching through blocks when... Resolved
is duplicated by MC-16239 Horses in Walls Resolved
is duplicated by MC-16603 Animals growing up outside of fences. Resolved
is duplicated by MC-16950 Baby chickens can be pushed through f... Resolved
is duplicated by MC-17096 Baby Chickens Hitboxes seem to be too... Resolved
is duplicated by MC-19969 Baby chickens glitch in to blocks and... Resolved
is duplicated by MC-22924 Baby chickens die when they grow Resolved
is duplicated by MC-27175 Foal died randomly Resolved
is duplicated by MC-28116 SHeep not regrowing wool, lambs disap... Resolved
is duplicated by MC-53646 Any nee villager get trapped in wall ... Resolved
is duplicated by MC-68433 Animals that grow up near fences get out Resolved
is duplicated by MC-72576 Mobs glitch into walls and suffocate Resolved
is duplicated by MC-73317 Sheep suffocating in walls or appeari... Resolved
is duplicated by MC-77304 Villagers Get Stuck In And Suffocate ... Resolved
is duplicated by MC-78216 Calf Despawns! Resolved
is duplicated by MC-80366 Mobs Suffocating When Loading World Resolved
is duplicated by MC-92524 Growing up mobs can glitch through fe... Resolved
is duplicated by MC-150657 Baby animals suffocate when they grow up Resolved
is duplicated by MC-167398 make the fence a complete block Resolved
is duplicated by MC-168590 Baby Bees growing up and glitching th... Resolved
is duplicated by MC-172571 Bee Glitching Resolved
is duplicated by MC-175788 little bees get through edges Resolved
is duplicated by MC-183131 Spontaneously vanishing villagers and... Resolved
is duplicated by MC-183139 Spontaneously vanishing villagers and... Resolved
is duplicated by MC-183179 Baby Bees despawn when they grow up Resolved
is duplicated by MC-185783 Bees clip through blocks when aging. Resolved
is duplicated by MC-203318 bee Resolved
is duplicated by MC-213951 Villagers teleporting through glass w... Resolved
is duplicated by MC-221452 Baby animal NoClip through fences whe... Resolved
is duplicated by MC-227605 mobs still glitch out fences when gro... Resolved
is duplicated by MC-229065 When baby chickens grow up, they pop ... Resolved
is duplicated by MC-230739 Mobs ghosting through solid blocks Resolved
is duplicated by MC-232496 Chickens when growing from adults on ... Resolved
is duplicated by MC-241571 Cows glitching through fences Resolved
is duplicated by MC-248319 Cows excaping through fences. Resolved
is duplicated by MC-250012 Baby villagers when grown can grow in... Resolved
Relates
relates to MC-165846 Pufferfish can take suffocation damag... Resolved
relates to MC-172466 Entities misaligning when growing up Resolved
relates to MC-1524 Baby mob collision boxes are too large. Resolved
relates to MC-2025 Mobs going out of fenced areas/suffoc... Resolved
relates to MC-129994 Pufferfish can go through glass panes... Open
relates to MC-13632 Horses can be pushed into blocks and ... Resolved
relates to MC-92729 Horses spawn in blocks during world g... Resolved
relates to MC-212284 Crammed enitities pushed through bloc... Resolved
CHK:
Confirmation Status: Confirmed
Category:
Hitboxes
Mojang Priority: Low
Area: Gameplay

 Description   

The bug

Animals seem to suffocate when growing up near a solid block.

How to reproduce

  1. Create a one block large, two block high enclosure. Use solid blocks like cobble.
  2. Throw chicken eggs in it until 4 chickens have spawned
  3. Wait until all chickens are grown up
  4. Count the chicken

Most of the time all of the chickens have died, sometimes 1 or 2 survive. This happens not only in tight enclosure but also randomly near walls or blocks.
If the blocks are transparent (glass, fence) the animal just can walk through.

I think this is probably due to a smaller hitbox, that is immediately enlarged, when the animal grows up.

See this comment and ticket: https://bugs.mojang.com/browse/MC-1524?focusedCommentId=43968&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-43968

Also note DpP41Mf.png which provides a concrete way to reproduce and an explanation.

Code analysis

Code analysis by Xcom6000 can be found in this comment.



 Comments   
Comment by [Mojang] Panda [ 13/May/24 ]

This report collected a lot of dust over the years.
The core of the issue has been fixed a while back, but it got reopened with changed repo steps.
So this time it was fixed according to the repo steps. Chickens did suffocate when spawned from eggs, because they would end up slightly in blocks. That's fixed, spawning chickens from eggs no longer does that.
Addionally MC-253791 (the frogs) and MC-252846 are fixed. Both were issues that were hidden in the duplicates of this issue and MC-2025.
Which brings me to the reason for my little rant: If there is new repos for suffocating mobs showing up, please make sure this issue is not reopened, but they are reported as new issues. Otherwise easy to fix issues can get lost behind lots of outdated information of old reports. Thank you! (and thank you for testing if the fix worked!)

Comment by [Mod] tryashtar [ 11/May/24 ]

Video_2024-05-10_18-58-13.mp4
Is this really fixed?
EDIT: the pushing out seems to work okay when the mob is squished properly against the wall, with no suffocation. I think the change was just for tadpoles

Comment by LordEnder_Kitty [ 10/May/24 ]

i see this a lot whenever i breed a bunch of cows in fences. i'll get cows roaming around outside the fences because the children grow up near the fence and phase through it.

Comment by Brevort [ 07/Apr/23 ]

Can confirm in 23w14a. This is extremely severe for frogs. They don't even try to escape the block they are stuck in and usually just die of suffocation.

Comment by Dschinghis Khan [ 07/Jul/22 ]

Can confirm in 1.19.1-pre3.

Comment by Dschinghis Khan [ 06/Jul/22 ]

Can confirm in 1.19.1-pre2.

Comment by socrlax24 [ 07/May/22 ]

Cows growing up inside a 1x7 space teleport through the walls. They don't seem to suffocate as often as they just pop out the other side. 

Comment by Daniel L [ 10/Apr/22 ]

Is this still an issue? Since I cannot reproduce it, although in my survival world, there is something going on with my animals, still researching and testing.

Comment by Jacob the person [ 08/Oct/21 ]

I noticed while trying to make a fox powered chicken cooker that this bug does not often happen for me under normal circumstances, however if there is a carpet on top of a slab that the chicken is growing up into, it moves into the wall and suffocates. the chicken is safely not suffocated if it merely grows up on a slab in an enclosed space without a carpet.
even with one chicken, it still gets shoved into the wall
EDIT: it appears that this is the case not only for carpets, but for mostly any block being above the slab the animal grows up on. it makes them move into the wall

Comment by [Mod] Avoma [ 18/Jul/21 ]

Can confirm in 1.17.1.

Comment by [Mod] ampolive [ 07/Jun/21 ]

Affects 1.17 Release Candidate 1 per MC-227605.

Comment by bugsbugsbugs [ 19/Feb/21 ]

Affects 21w07a

Comment by [Mojang] slicedlime [ 08/Feb/21 ]

If there are new issues introduced, please post new issues.

Comment by [Mod] Avoma [ 05/Feb/21 ]

Can confirm in 21w05b.

Comment by [Mojang] Panda [ 04/Feb/21 ]

If you summon it with a large negative age you can also push it into the wall before it growing up? I think baby pigs are 0.45 wide, so if it's at 0.82 that puts the side of it's AABB at 1.045, slightly into the wall.

Comment by bugsbugsbugs [ 04/Feb/21 ]

Seems to depend on how close they are near the wall. If they are very close, they can still suffocate. MC-9568 Still not fixed.mp4 If the mob is further away from the wall, it will move away from wall when growing up, preventing it from suffocating. Command I was using is

/summon pig 112.82 78.00 158.25 {Age:-5}
Comment by JohannesM [ 04/Feb/21 ]

But it seems like it introduced a new performance issue along with the bug fix: https://youtu.be/H8PZgqm7fGc?t=678

Comment by [Mod] tryashtar [ 04/Feb/21 ]

According to the updated video that issue is indeed fixed: https://youtu.be/syRAo-I_600?t=938

Comment by JohannesM [ 03/Feb/21 ]

@[Mojang] Panda
In my previous comment (link to comment) I linked to a video showing this bug happening. From what I can see neither A nor B is the reason that this is happening.

Comment by [Mojang] Panda [ 03/Feb/21 ]

Thank you for testing this!

When reproducing it in 21w05a, can you confirm that the mobs are not glitched into the blocks before growing up already?
I can currently only get the mobs to grow up into blocks or suffocate if
a) the mobs are partially inside blocks already or
b) there is not enough space to grow into.
For a) the conditions that lead to the mob already being inside blocks should be their own reports. I'm not sure what to do with b), but it at least shouldn't be part of this report.

If it still happens without a) or b) being the reason it would be great to get more precise reproduction steps, like the exact entity coordinates and block configuration.

Comment by bugsbugsbugs [ 03/Feb/21 ]

Can confirm, indeed still not fixed in 21w05a.

Comment by Ismael Rosillo [ 03/Feb/21 ]

Not fixed in 21w05a

Comment by [Mojang] slicedlime [ 01/Feb/21 ]

Please do not comment on the issue tracker if you do not have additional information to add.

Comment by David G [ 29/Jan/21 ]

I have been subscribed to this bug for a VERY long time now..

 

How is it that it has been marked resolved twice now but not actually resolved ?

From the various videos it isn't hard to reproduce / test? 

xisumavoid 21w03a https://youtu.be/P7PncU3lLfI?t=546

Comment by WitherSlayer5000 [ 29/Jan/21 ]

Confirm for 20w51a

Comment by JohannesM [ 21/Jan/21 ]

Indeed not fixed in 21w03a: Ilmango's snapshot video

Comment by bugsbugsbugs [ 20/Jan/21 ]

Not fixed in 21w03a MC-9568 not fixed.mp4

Comment by [Mod] Avoma [ 24/Dec/20 ]

Can confirm in 20w51a.

Comment by [Mod] Avoma [ 01/Dec/20 ]

Can confirm in 20w48a.

Comment by pulpetti [ 16/Jul/20 ]

Affects 20w29a

Comment by Numeritos [ 02/Jul/20 ]

Affects 1.16.1 and 20w27a

Comment by Numeritos [ 24/Jun/20 ]

Affects 1.16

Comment by Orbic [ 18/Mar/20 ]

In 20w12a

Comment by user-2a4c8 (Inactive) [ 21/Mar/19 ]

19w12a

Comment by Greg Milson [ 19/Jun/18 ]

Affects 1.13-pre2

Comment by Michael Kreitzer [ 02/Oct/17 ]

I had some issues with escapees syill when trying out the code provided by Xcom. I've built on his idea and come up with the attached. The screenshot shows a pen with a mix of iron bars, cobblestone walls, and full blocks in a ring shape, and all of the cows in the pen started as baby variants. I've managed to reproduce this a few times with various combinations of blocks without any animals escaping thus far.

The changed code first sends "null" as the first argument to "this.world.getCollisionBoxes" to prevent it sending nearby entity collision boxes. After that it walks through the list of all block collision boxes that intersect the new entity collision box that did not intersect the old one. It then checks the X and Z axis independently, and if the new collision box collides with the block collision box it moves the new entity collision box in the direction opposite of the relative position to the old entity collision box on that axis only if the old entity collision box completely clears the block collision box on that axis.

It's a bit of a mouthful, but it seems to work.


MC-9568 Proposal.txt

Comment by Xcom6000 [ 24/Sep/17 ]

The proposed fix is to simply change the size of the hitbox based on the centre position. Then check if the entity is overlapping any other hitbox. If its overlapping any other hitbox it should move the entity back out but only by first checking if its not overlapping with the old hitbox (the last check is to make sure that entity's aren't moved out of blocks they were previously occupying).

These two images shows a code proposal.

https://i.imgur.com/8sVcGr2.png
and
https://i.imgur.com/tdyxPtR.png

Comment by Xcom6000 [ 24/Sep/17 ]

Pokechu22 helped point out the code where mobs are resized. It happens in EntityAgeable.java in "setScale" (MCP code). This line is called when a mob changes size to an adult. This then calls a method "setSize" (MCP code) in Entity.java where the size is changed. Studying the code it shows clearly that the resizing is done in a very odd fashion.

If the resizing is done towards smaller then the entity simply shrinks without problems keeping the centre position as the reference point, no problems observed. If it's done towards expanding then its done differently and is the reason this problem happens. The expansion strictly expands the current hitbox towards the positive axies as shown here

this.setEntityBoundingBox(new AxisAlignedBB(axisalignedbb.minX, axisalignedbb.minY, axisalignedbb.minZ, axisalignedbb.minX + (double)this.width, axisalignedbb.minY + (double)this.height, axisalignedbb.minZ + (double)this.width));

"axisalignedbb.minX + (double)this.width". After the hitbox is resized its moved back by the total width amount.

this.moveEntity(MoverType.SELF, (double)(f - this.width), 0.0D, (double)(f - this.width));. 

Basically moved back by a full expanded amount.

Two observed issues that can be seen by this is
A. The mob expands and shifts its original position.
B. As illustrated in the picture some edge cases results in mobs never being moved properly back and placing them inside other blocks.
https://i.imgur.com/DpP41Mf.png

Comment by Dylan [ 02/Jan/17 ]

I can confirm that this is still an issue in 1.11.2.

Comment by [Mod] Michael Wobst [ 01/Nov/16 ]

Is this still an issue in the most recent versions (currently that is 1.10.2, or 16w43a) of Minecraft? If so, please update the affected versions and help us keeping this ticket updated from time to time. If you are the owner/reporter of this ticket, you can modify the affected version(s) yourself.

Comment by Mark Herget [ 21/Jun/16 ]

Pigs, Cows, Chicken.... all disappearing frequently. I filled the whole ground of my enclosures with Hoppers to see wether they are despawning or dying.
Hoppers are filling with meat, leather, etc. so it seems they are indeed dying.
Pretty annoying... hope this gets fixed soon

After there was invested so much time to add many new features recently, I hope you will now get rid of some of the ancient nasty bugs like this one

Comment by Gothrung [ 18/Mar/16 ]

This also happens with villagers.

Comment by Warren Liddell [ 17/Nov/15 ]

I have seen this also in 15w46a

Comment by [Mod] redstonehelper [ 30/Oct/15 ]

Confirmed.

Comment by [Mod] Michael Wobst [ 30/Oct/15 ]

Can this be confirmed 1.8.8 onwards? Should consider closing this bug for now until someone can confirm this with a more recent version.

Comment by WellyPL [ 21/Oct/14 ]

There might be many reasons. That should be fixed ASAP

Comment by Daniel McQ [ 20/Oct/14 ]

My guess is the problem is related to rounding errors and/or the hit box of the mobs.
Probably what happens is their location gets saved with a very precise floating point number and then when the chunk they're in gets re-loaded, that number gets rounded to something less precise and the mob is moved and they end up in a solid block or on the other side of a fence. The other thing could be that their hit box overlaps with other mobs and there's some sort of algorithm which attempts to keep all mobs a certain distance apart and their location is put to one of those unfavorable locations. The problem could also be a problem of those two things.
Just my two cents.

Comment by WellyPL [ 20/Oct/14 ]

Because they kinda cant move

Comment by Spencer Stith [ 19/Oct/14 ]

But it doesn't appear to happen with Item Frames, which are also entities

Comment by WellyPL [ 19/Oct/14 ]

So this bug appears when entitles are rendering, nevermind if you've just started the server, logged in or came back from a journey. Please fix it ASAP

Comment by Spencer Stith [ 19/Oct/14 ]

It appears to be a bug in the loading of the coordinates of the mobs. I did a test in my survival world; I had cows in an underground area, so they were in an area encased by stone. When I logged back in, every single time (as I could see through parts of the world as it was loading, and entities always render before blocks), I saw that they were being damaged. Then, at another time, I had them above ground, enclosed with fences. When j logged back in, or came back from the Nether, some would be outside of the fences. So, I thinkmors a problem in their coordinate locations. Like off by a block, or they can walk through blocks for a bread moment upon loading, then die, or escape like with fences...

Comment by WellyPL [ 19/Oct/14 ]

Animals randomly suffocate or appear outside the fence/solid block even when they are already grown.

It's really annoying. I have to breed my animals 2 times a day to prevent extinction.

Comment by Destinee Trenberth [ 13/Aug/14 ]

If your animal can walk a straight 20 blocks in any direction it will despawn. My issue appears to be fixed as of the last update, no more dead chickens! However I now have new issues I didn't have before, ones that were supposedly fixed with this update are now causing ME trouble. WTF

Comment by Niknokinater [ 11/Aug/14 ]

This could be my problem. I would have a Baby Cow in an area that has fence for the bottom block, and wood planks on top. I'd leave to do some mob killing and I would come back and discover a missing cow. When I see them grow up, they don't suffocate in the wall or something, but when I am gone and suppose they grow while I'm away, they disappear. There are no drops or evidence of them dying, but they could be despawning.

Comment by Spencer Stith [ 09/Aug/14 ]

Happens in 14w32d. My baby cows keeps dying, and I can't repopulate!

Comment by Jonathan Neufeld [ 11/Jul/14 ]

This just happened to one of my donkeys. Donkey got pushed inside a wall, suffocated, and died. All the items inside the donkey's chest flew all over the place and I had no room to store them anywhere.

Comment by Destinee Trenberth [ 26/May/14 ]

Not only are animals dying but so are villagers; suffocating or getting stuck in the stupidest spots. I can't stupid proof my village anymore than I already have!

Comment by Daniel McQ [ 05/Apr/14 ]

This is definitely happening to me in 14w11b with both chickens and cows (haven't tested with pigs). My chickens have a smaller enclosure (2x2) and die more frequently (during gameplay, probably when chunk gets unloaded then loaded). The cows' enclosure is a larger one (approx 8x15) and they seem to only die when I log back into my world.

Comment by Hartspoon [ 04/Mar/14 ]

I just tested this in many versions from 1.6.2 to 14w08a, with 200 chickens in a 1x1 pit. Not even one chicken died when growing up. Can someone who noticed the bug before can test it on a recent snapshot?

Comment by Dominick Page [ 31/Jan/14 ]

This still holds true for the current snapshot 14w05a. I've had a donkey and wolf both suffocate after I accidentally nudged them near a wall.

Comment by Kevin Lane [ 29/Jan/14 ]

My horse was tethered outside my house and walked up against the wall and just started suffocating. It was free to walk away (not stuck) and the tether was even pulling it away from the wall, yet it stood there and died.

Can't you just make mob's hitboxes (for damage/suffocation) slightly smaller than their collision hitbox to allow room for error? ...or as with players, let them be pushed out of a block when inside it?

Comment by John Smith [ 29/Jan/14 ]

Not only does this still happen in 1.7.4, but it's a frightfully common bug and all mobs can do that, not just animals and not just babies. I have a zoo map where I have rooms with mobs of each kind, and each mob has PersistenceRequired:1 and Invincibility:1 tags. If a mob (let's say a cow) is near a thin wall (glass pane, iron bars, doors etc.) and then you quit and reload the world, in most cases it will already be on the other side of the wall. This can also happen if a mob pushes another one into a wall - mobs get stuck in it even if it's a solid thick wall made of 3 layers of stone. Thanks to invincibility tag, mobs didn't suffocate on my map and they were really stuck in the wall, with blackened colours. Squids and bats are especially prone to execute this bug.
Newest snapshot doesn't fix that yet either.

Comment by someone314 [ 29/Jun/13 ]

this seems to happen almost all the time with baby sheep growing up close to a wall and it ruins my sheep farm in survival

Comment by ArmEagle [ 18/Jun/13 ]

A fix for this seems to have been made by people here, on a related issue:
https://mojang.atlassian.net/browse/MC-2025

Comment by Swiftykitty2K [ 18/Jun/13 ]

13w25b confirmation. Baby Horses are a pain to look after in a pen due to them getting pushed into solid blocks and suffocating or just walking through fences/non-solid blocks. I really thought that Mojang would have fixed this by now.

Comment by fake fakes [ 23/May/13 ]

Stin in 13w21a. MUCH easier to reproduce with horses.

Comment by user-7ff2f (Inactive) [ 10/May/13 ]

This is still happening in 1.5.2 full release.
Any and all animals which have a smaller hit box when they are babies than when they are adults, will begin to take suffocation damage when they grow, if they are next to a block.
This is because when they grow, their hit boxes embiggen, taking space inside the solid block.
The animal will become stuck and invariably die.
This will happen in ANY sized pen, not necessarily 1x1 boxes. Because the baby animal simply needs to be standing next to any block at the point of growth.

Comment by Christoph Lipka [ 27/Apr/13 ]

still present in 13w17a

Comment by Nathan Gorzelanczyk [ 11/Mar/13 ]

Mark This as Duplicate.

Keep MC-119 Going downward through solid blocks, causing suffocation, death of entries, and entities escaping
Keep MC-2025 Going forward through solid blocks, causing suffocation, death of entries, and entities escaping

Comment by Nathan Gorzelanczyk [ 11/Mar/13 ]

This is related to my post of,,, MC-11349
https://mojang.atlassian.net/browse/MC-11349
which is aparently a duplicate of this according to mods.
https://mojang.atlassian.net/browse/MC-2025
These are also related to it MC-10, MC-18, MC-119, MC-1029, MC-1524, MC-2025, MC-2037, MC-3140, MC-3753, MC-4707, MC-5187, MC-5230, MC-5369, MC-5401, MC-6115, MC-6393, MC-6396, MC-6398, MC-6465, MC-6653, MC-6707, MC-7392, MC-7462, MC-8390, MC-8707, MC-9039, MC-9393, MC-9476, MC-9483, MC-9503, MC-9525, MC-9540, MC-9568, MC-9626 , MC-9635, MC-9742, MC-9753, MC-9772, MC-9777, MC-9805, MC-9838, MC-9894, MC-9926, MC-9976, MC-9988, MC-10012 , MC-10116, MC-10157, MC-10181, MC-10229, MC-10231, MC-10268, MC-10311, MC-10370, MC-10422, MC-10552, MC-10725, MC-10797, MC-10894, MC-11009, MC-11022, MC-11052, MC-11086, MC-11203, MC-11252 ....

Comment by Gregory Brown [ 09/Mar/13 ]

This is still happening in the 1.5 pre- release especially with chickens on top of hoppers for me
Edit: SO while I was sitting here typing the original post and a chicken pops up infrount of me. It apears they also are glitching through blocks (glass in my case)

Comment by Kevin Lane [ 05/Mar/13 ]

There are a lot of related bugs which are essentially duplicates. They are all related to the baby/adult collision box mix-up.

Comment by Kevin Lane [ 05/Mar/13 ]

Still an issue in 13w10a.
This issue exists because of the hitbox bug. The newly grown adult animal keeps the baby-sized hitbox for collision detection, but the adult-sized one for damage/suffocation until you relog. Adult animals with the baby-sized collision box can therefore walk into a wall and suffocate in it.

Comment by Gregory Brown [ 02/Mar/13 ]

This also still happens in 13w09c and another thing to note is when reloading chunks baby mobs will glitch out of the fence if the fence is intersecting in 3 points with a torch on top.

Sorry that I couldn't be more helpful,
jamesloon

Comment by Tommaso Ricci [ 15/Feb/13 ]

I have the same issue: (MC-9838)

Comment by ChrisvA [ 14/Feb/13 ]

See also: https://mojang.atlassian.net/browse/MC-9540

Comment by Morilibus [ 14/Feb/13 ]

Noticed this on a SMP server. Was breeding cows in a fairly large pen, and cows were pushing each other into the walls(2 high stone brick blocks) and suffocating. There was plenty of room in the pen for the cows to go, but they tend to cluster around the sides. And if you have baby cows they will clump together around the closest adult cow, in which they typically force the adult against the wall and it dies.

Comment by Toni Salomäki [ 13/Feb/13 ]

This happens also in bigger areas, at least with cows. I created a 2 high sandstone wall with 4x8 area inside, and over 50% of cows died pretty much immediately after growing up.

Something else is wrong with the collision boxes even if the cows survive this. Rest of the cows that were originally small cows (spawned with eggs, but problem occurs also with the ones born "naturally"), died quite rapidly to suffocation when walking around the wall holding a wheat.

Generated at Sun Jan 12 12:21:31 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.