mojira.dev
MC-208015

Squid / Glow Squid hitbox doesn't match its model

The Bug

The squid or glow squid hitbox doesn't properly match with its model.

Steps to Reproduce

  • Summon either a squid or a glow squid.

    /summon minecraft:squid ~ ~ ~ {NoAI:1b,NoGravity:1b}
    /summon minecraft:glow_squid ~ ~ ~ {NoAI:1b,NoGravity:1b}
  • Enable entity hitboxes. (F3 + B).

  • Take note as to whether or not the lower body and tentacles of squids are included within squid hitboxes.

Observed Behavior

The lower body and tentacles of squids aren't included within squid hitboxes.

Expected Behavior

The lower body and tentacles of squids would be included within squid hitboxes.

Linked issues

Attachments

Comments 28

Relates to MC-197028

Can confirm in 21w03a.

Can confirm in 1.16.5.

In 21w11a

Would like to note that this, of course, applies to Glow Squid as well

[media]
18 more comments

In 23w32a

In 1.20.2 Pre-Release 2

In 1.20.2

can confirm in 24w34a

It seems to me that it is a feature request to expect a hitbox for the squid tentacles. Ghast tentacles also do not have a hitbox.

Likewise for hitbox matching the lower part of the body. All hitboxes in the game are square in the horizontal plane. Squid being visually longer than they are wide and having a collision box that better fits the width than the length is just like all of the quadrupeds in the game, as well as boats.

However, the squid hitbox is also offset down and forward compared to its model. This seems like a genuine bug. I think this is what the reporter of MC-197028 tried to describe. I suspect that the resolution of that report may have been based on misunderstanding “rotation” as roll when the reporter meant pitch. The offset of the the squid hitbox only occurs when its pitches horizontally--when the squid is oriented vertically the hitbox aligns perfectly with the top and sides of the of visual model. The cause of the misalignment is that the Y pivot point of the squid’s body bone is too high. I believe it is set twice as high above the model center as it should be, i.e. it is set to 3.2 pixels above center when it should be set to 1.6.

VALENTINX110

(Unassigned)

Confirmed

Gameplay

Low

Hitboxes

glow_squid, squid

20w49a, 20w51a, 21w03a, 1.16.5, 21w06a, ..., 1.20.2, 1.20.4, 24w12a, 1.21.1, 24w34a

Retrieved