Topic category: Help with modding (Java Edition)
Step 1. By pressing a key, move all things from an open chest to inventory.
Step 2. Press a certain key, for example "N" (it opens the Ender chest on the server).
Step 3. Move all items automatically to open chest.
Step 4. Close the chest (closed with the ESC key)
I ask for your help.