The bug
When positioned in a certain way directly next to a shulker box, the player is pushed upwards when opening the shulker box, although it is not standing on top of it.
To reproduce
Place a bed with the head facing south
Place a shulker box west of the bed, next to the bottom end of the bed
Sleep in the bed
Wake up
Open the shulker box
→ ❌ You're pushed upwards even though you're not standing on top of the shulker box
Video
Linked issues
testing discovered 1
Attachments
Comments 11
I know how to recreated, you have to sleep in a bed with a sulker on it side, https://youtu.be/Pj8mxEAkFMk.
Movement fix it
Hmm, interesting. I was able to confirm. The fact that the player is positioned like that in the first place seems to be a separate issue to me, which I just filed as MC-158906.
Can confirm, it depends on where the bed puts you when you wake up, but it will push you up. Confirmed for 19w35a and 19w34a as well.
This can sometimes happen just by walking towards the shulker box, as for example seen here: https://youtu.be/264gN4cWDnk?t=954
But I can't reliably reproduce it that way, even though it did happen to me many times.
Here's a Youtube video I made where you take the fall damage. The exact moment you cancel opening doesn't seem important, just that you close the shulker box before it completely opens. If you let it completely open you will fall and it will play that strange softer noise but you don't take any fall damage.
I just tried it in 1.16-pre2 and it happens in the conditions I laid out. If the player is exactly 0.3 away from the Shulker box in both X and Z then you still get caught on the corner of the hit box. So if you place a Shulker box at 10, 10 and then are at exactly 9.7, 9.7 then it will still happen. The box lifts you up and then you fall off it, playing a "soft fall" sound. If you close the box mid-opening then you fall and take 2 hearts of damage.
Because spawning from a bed is fixed, I can't find any other way to get to EXACTLY .7 .7 during normal game play. If you place 2 blocks and try to align yourself to them you don't end up at exactly .7 .7 even though the debug screen shows it. You end up at .699999988079701 (which you can see by using the TP ~ ~ ~ command I guess?)
So the fact that you can clip into the corner of a shulker box hit box and take fall damage from falling off it is still a bug, however there does not seem to be a way to achieve that other than using the TP command.
I cannot reproduce this by walking up to the shulker box. Please attach a screenshot while this issue occurs while having the F3 screen open.