mojira.dev
MC-159959

Items are moved above the player's hitbox when picking them up while swimming/crawling

The bug

When a player is picking up items while swimming, the items are moved above the players head. This looks somewhat weird and is also not the case when the player is not swimming.

I have not tested whether this is the case when flying with elytra as well, but I assume it is.

To reproduce

  1. Enter a place that's 1 block tall

  2. Enable F3+B

  3. Drop an item
    → ❌ The item is moved above your hitbox when it's picked up

Videos

[media]
[media]

Attachments

Comments 13

I don't believe that this is a bug, just because of where items go to when picked up, though the behaviour could be changed.

Confirmed in 1.16-pre2.

Can confirm. Whenever you have a 1x1 hitbox (climing, swimming, using riptide or elytra) the item you pick up goes above your hitbox because normally you hvae a 1x2 hitbox.

Confirmed in 1.16-pre5.

Can confirm in 20w49a.

3 more comments

Can confirm in 21w06a.

Can confirm in 21w07a.

Can confirm in 1.17.1.

Can confirm in 24w18a. I would argue this is caused by MC-160217 (and could maybe even duplicate it depending on whether this issue should be fixed unrelated to MC-160217). The item actually travels to an expected location (the center of the player's hitbox) but due to being elevated appears above the entity.

Here is a demonstration:

[media]

violine1101

(Unassigned)

Confirmed

Player Animation

item-pickup

1.14.4, 1.15.1, 1.16 Pre-release 5, 1.16.4, 20w49a, ..., 21w06a, 21w07a, 1.17.1, 22w11a, 1.21

Retrieved