mojira.dev
MC-204423

Items are glitching through blocks if they are pushed by are piston while they are in the water.

Hi here now in english:

If you throw an item between two water currents and then push it with a piston (you have to spam the piston) it will glitch out.

Like on the screenshots then spam the piston and the item will glitch out.

Attachments

Comments

migrated
[media][media][media][media][media]
ampolive

Can confirm in 1.17.1.

migrated

This is not a bug.
It is the consequence of pushing item entities into a wall/floor. When the piston attempts to move any entities (through `pushEntities` method) it will use `move()` method from `Entity.class()`. Because the entity will collide against the block on the bottom, it will fail to be pushed by the piston, glitching inside it's head.
The expected behavior is the behavior that is being reported as a bug:

  • Entity attempting to escape by using `pushOutOfBlocks()` method. 

migrated

Additionally, it is not related to MC-278182 . One is a consequence of 2 intentional features:

  • Block collision when entity is moved and entity is not in `noClip`

  • Item entities attempting to escape when their hitbox interescts with a block with collision, through `pushOutOfBlocks()` method

The other (MC-278182 ) is a mistake from mojang developers

migrated

(Unassigned)

Community Consensus

Entities, Redstone

item, piston, water

1.16.4, 1.17.1, 1.20.4, 24w09a

Retrieved