mojira.dev
MC-1524

Baby mob collision boxes are too large.

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.

Related issues

Attachments

Comments

migrated
[media][media][media]
migrated

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.

migrated

Can we extend this to all baby creatures?

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

migrated

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.

migrated

Thanks for updating/improving your bug request.

migrated

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.

migrated

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

migrated

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

migrated

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

migrated

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.

migrated

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.

migrated

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.

migrated

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

migrated

Jens Bergensten

Confirmed

baby, collisionboxes, mob

Minecraft 1.4.2, Snapshot 13w05b

Snapshot 13w06a

Retrieved