[MC-1524] Baby mob collision boxes are too large. Created: 31/Oct/12  Updated: 07/Sep/15  Resolved: 06/Feb/13

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.2, Snapshot 13w05b
Fix Version/s: Snapshot 13w06a

Type: Bug
Reporter: Aaron Graham Assignee: [Mojang] Jeb (Jens Bergensten)
Resolution: Fixed Votes: 24
Labels: baby, collisionboxes, mob
Environment:

Kubuntu 12.04
Oracle Java 1.7


Attachments: PNG File 2012-10-31_15.33.26.png     PNG File 2012-11-01_07.56.23.png     PNG File 2012-11-17_11.47.19.png    
Issue Links:
Duplicate
is duplicated by MC-11638 Baby Villagers Hit Stars too high Resolved
is duplicated by MC-3979 Baby Villager Hitbox Resolved
Relates
relates to MC-4268 Wither skeletons have wrong hitbox Resolved
relates to MC-9568 Mobs suffocate / go through blocks wh... Resolved
CHK:
Confirmation Status: Confirmed

 Description   

Baby mobs are visually much smaller than their adult counterparts, but they appear to use the larger adult collision boxes. For example, in the attached screenshots baby villagers and sheep appear that they should be small enough to be pushed by the water current out of their holding cells. Different size collision boxes would allow for the ability to sort adult and baby mobs.



 Comments   
Comment by Gregory Brown [ 09/Mar/13 ]

Any one see a trend for ubuntu users for these things?

Comment by eleazzaar [ 07/Feb/13 ]

The same size hit-boxes make it hard to avoid hitting the babies when you are trying to harvest the adults when they are crowded together.

Comment by Eris [ 06/Feb/13 ]

Oh. This was actually done to prevent baby animals from wandering into a smaller space than an adult would it in, growing up, then immediately suffocating. Can't find the source, but I am pretty sure Notch himself said so.

Comment by Daniel [ 03/Jan/13 ]

That makes sense, but in that case there should be two boxes, one that prevents them from fitting in smaller spaces and one that enables the player to hit the parents.

Comment by nomono1 [ 02/Jan/13 ]

I think this orginaly was so baby animals wouldn't wander of from their parents, as they don't fit in smaller spaces.

Comment by Daniel [ 13/Dec/12 ]

Tomas, I agree. I have this issue with cows.

Comment by Tomas Watchorn [ 17/Nov/12 ]

If you look my crosshair is above the red baby villager, but the red shows he is still taking damage

Comment by Tomas Watchorn [ 17/Nov/12 ]

The hitbox also means you can hit baby villagers above their head and they will take damage, I find this annoying because, when I spawn baby villagers, I want to kill the adult I spawned them from because it ruins the effect but when I try to hit it,I always hit the baby villagers even though I am not looking at them.

Comment by eleazzaar [ 01/Nov/12 ]

Thanks for updating/improving your bug request.

Comment by Aaron Graham [ 01/Nov/12 ]

John: I've updated this bug report's summary and description to refer to all baby mobs. Thank you for the suggestion. I've also attached another screenshot showing the same behavior with sheep. I suspect that Mojang may have done this intentionally to avoid cases where a mob becomes an adult in a confined space (low ceiling) which then causes them to take suffocation damage and die. That should be avoidable if they prevent the mob from growing from a baby to an adult if there is not sufficient headroom. This would also let players create galleries of baby animals that never grow up.

Comment by eleazzaar [ 01/Nov/12 ]

Can we extend this to all baby creatures?

It looks like all baby animals also used adult sized hitboxes.

Comment by Chalmes (Jon) [ 31/Oct/12 ]

Code-wise, a baby villager is the same as a normal villager, but rendered half size and with bonus AI to play or follow parents/golems.

I agree though, the bounding box should be halved as well.

Generated at Sun Jan 12 11:54:44 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.