Create an upwards water column using soul sand, and at the top, place path blocks. The path blocks are taller than the water, but the player is still pushed upwards.
Attachments
Comments 4
This issue still exists in Minecraft 1.19.4.
Code analysis (Yarn mappings)
Bubble column effects (and in general other collision effects applied through an implementation of the Block#onEntityCollision method) apply to blocks in all positions that an entity's bounding box intersects, as per the Entity#checkBlockCollision method. As a result, by default, bubble column effects will apply to entities intersecting with the block position at all.
One fix for this issue would be to check the entity's relative Y position to the bubble column in the BubbleColumnBlock#onEntityCollision method.
Can confirm in 1.19.