If the player opens an inventory window and moves away from the container (e.g. by water currents), they will still be able to interact with the container inventory from any distance as long as they don't do certain actions (e.g. breaking blocks).
We should probably have a distance check to close the window when the player goes too far away. However I don't know what the appropriate distance would be.
Description
If the player opens an inventory window and moves away from the container (e.g. by water currents), they will still be able to interact with the container inventory from any distance as long as they don't do certain actions (e.g. breaking blocks).
We should probably have a distance check to close the window when the player goes too far away. However I don't know what the appropriate distance would be.
Alternative methods