The bug
When sitting in boats and boats with chest mobs legs penetrate the hull.
Does not affect the bamboo raft or bamboo raft with chest.
Reproduce steps
Use the following command:
/summon boat ~ ~1 ~ {NoGravity:1b,Passengers:[{id:zombie_villager}]}
After the version 1.9-pre4:
Wither skeleton
Guardian
Elder guardian
Zombie villager
Husk
Cave spider
Spider
Evoker
Illusioner
Salmon
Phantom
Drowned
Dolphin
Pillager
Axolotl
Camel(when sitting)
Sniffer
Cat(tail)
Fox(tail)
Ghast
Glow squid
Ocelot(tail)
Ravager
Squid
Turtle
CreeperFixed in 23w31aSlimeFixed in 23w31aMagma cubeFixed in 23w31aSkeletonFixed in 23w31aZombieFixed in 23w31aEndermanFixed in 23w31aVillagerFixed in 23w31aWitchFixed in 23w31aPolar bearFixed in 23w31aVindicatorFixed in 23w31aCodFixed in 23w31aPufferfishFixed in 23w31aTropical fishFixed in 23w31aPandaFixed in 23w31aWandering traderFixed in 23w31aPiglinFixed in 23w31aPiglin bruteFixed in 23w31aIron golemFixed in 23w31aSnow golemFixed in 23w31aWardenFixed in 23w31aBatFixed in 23w31aMule(tail)Fixed in 23w31aStrayFixed in 23w31aTadpoleFixed in 23w31aZoglinFixed in 23w31aZombie horse(tail)Fixed in 23w31aZombified piglinFixed in 23w31aShulkerFixedAllayFixed
Code Analysis / Potential Fix
Code analysis and fix by @unknown can be found in this comment.
Linked issues
is duplicated by 13
relates to 7
Attachments
Comments 37
Personally I do not think this is worth fixing.
Nearly every mob has different leg length or no legs at all. Implementing for every single mob a special case is in my opinion not worth it and not even possible.
For Endermen it looks already strange because they are kind of floating...
Damaging is hitbox based and very likely MC-80877
Can confirm in 1.18.1 (I only checked villagers and players with and without armour, but I'm sure it works with the other mobs too).
Confirmed for 16w04a
Still affects Creeper.
Mod please reopened.