mojira.dev
MC-90084

When sitting in boats and boats with chest mobs legs penetrate the hull

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

  • Creeper Fixed in 23w31a

  • Slime Fixed in 23w31a

  • Magma cube Fixed in 23w31a

  • Skeleton Fixed in 23w31a

  • Zombie Fixed in 23w31a

  • Enderman Fixed in 23w31a

  • Villager Fixed in 23w31a

  • Witch Fixed in 23w31a

  • Polar bear Fixed in 23w31a

  • Vindicator Fixed in 23w31a

  • Cod Fixed in 23w31a

  • Pufferfish Fixed in 23w31a

  • Tropical fish Fixed in 23w31a

  • Panda Fixed in 23w31a

  • Wandering trader Fixed in 23w31a

  • Piglin Fixed in 23w31a

  • Piglin brute Fixed in 23w31a

  • Iron golem Fixed in 23w31a

  • Snow golem Fixed in 23w31a

  • Warden Fixed in 23w31a

  • Bat Fixed in 23w31a

  • Mule(tail) Fixed in 23w31a

  • Stray Fixed in 23w31a

  • Tadpole Fixed in 23w31a

  • Zoglin Fixed in 23w31a

  • Zombie horse(tail) Fixed in 23w31a

  • Zombified piglin Fixed in 23w31a

  • Shulker Fixed

  • Allay Fixed

Code Analysis / Potential Fix

Code analysis and fix by @unknown can be found in this comment.

Linked issues

Attachments

Comments 37

Confirmed for 16w04a
Still affects Creeper.
Mod please reopened.

also affects the player when a passenger is in the boat

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...

Creeper is still not fixed.
Players can attack Creeper from boat bottom.

Damaging is hitbox based and very likely MC-80877

27 more comments

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).

Can confirm in 1.18.2.

@unknown Please stop confirming tickets for outdated versions.

TomatoClownfish

Can confirm in 23w03a.

Can confirm in 23w13a

[Mod]Les3awe

(Unassigned)

Confirmed

Platform

Low

Entities, Rendering, Textures and models

boat, boat-hull, boat-with-chest, legs, mobs, player, sit

Minecraft 15w41b, Minecraft 15w42a, Minecraft 15w43a, Minecraft 15w43b, Minecraft 15w43c, ..., 1.21.5 Release Candidate 1, 1.21.5, 25w17a, 1.21.6 Pre-Release 3, 1.21.6

Minecraft 16w04a

Retrieved