Fixing Bugged Open Chests + Improvements
hammy275 opened this issue ยท 3 comments
A couple things that I think may cause the issue:
- Moving far away causes the packet to close to be sent, but it's never processed as we're too far away for the closeness check to pass.
- Chest closing lid should have a bigger hitbox
- Chest open close cooldown may not work. Are we removing the immersive on close?
Confirmed the first bullet point. We only remove immersives when we're 20 blocks away, but the ChestShulkerOpenPacket
uses the max limit of 16 blocks, so we never actually close the chest by getting far away. Going to decrease the immersive range to 12 blocks, since I don't think anyone needs to be interacting with immersives from so far away.
Third bullet point confirmed. Will move openCloseCooldown
to be global to immersive chests as a whole, rather than per-immersive.