The Bug:
Shulker boxes can be opened when blocked by hanging roots.
Steps to Reproduce:
Place down a shulker box along with some hanging roots adjacent to it.
Attempt to open the shulker box.
Take note as to whether or not shulker boxes can be opened when blocked by hanging roots.
Observed Behavior:
Shulker boxes can be opened.
Expected Behavior:
Shulker boxes would not be able to be opened or shulker boxes would destroy the hanging vines that are blocking them upon being opened.
I did some extra testing in version 1.21.5, and I believe the conditions in the game code just check to see if there is a solid hitbox blocking the shulker boxes fully open state. In the video I have linked I tested it with crimson roots, and the shulker box passes through them also, just like the hanging roots you described. Additionally, to see if the code checked for solid hitboxes in the way rather than just if the block in the opening direction was solid, and being in the way doesn't matter, I tested it with a trapdoor (solid block), and I found that if the trap door is on the block, but is out of the way of the hitbox it does open, but if It is in the way, then it does not. I believe this is what should be expected for solid blocks, and that same code for the fully extended hitbox should be added for blocks that you can walk through. This is just my take on the bug, and how the developers could go about solving it. Also, I am not a mod for Mojira, so if a moderator says something contrary to what I said, their word ranks higher and should be followed. Have a nice day!
-Isaiah0Jackson
[media]