Page 1 of 1

Quick move of items in inventory?

PostPosted: Wed Feb 15, 2017 00:15
by echosa
In Minecraft, I can shift-click items to move them directly into a chest from my inventory, etc. In Minetest, I currently have to manually pick up each item and move it. Is there anything that makes moving items around different inventories easier/faster/better? I'd love it there's built-in ways, but if not, I'll take mod suggestions.

Thanks in advance!

Re: Quick move of items in inventory?

PostPosted: Wed Feb 15, 2017 02:54
by octacian
Minetest already has this exact feature. You must be using either a different chest mod or an old version of Minetest. Do you know off hand what version you are using? The above feature was introduced quite a while back, but..

Re: Quick move of items in inventory?

PostPosted: Wed Feb 15, 2017 05:36
by echosa
I'm using default:chests with 0.4.15 (that's the latest, I believe). This has never worked for me. I've tried shift-click, option-click, cmd-click, ctrl-click... I'm on OS X, if that makes a difference. How is it supposed to work? Shift click? If so, then this might be part of a larger problem. Shift seems to be sending two keystrokes. For instance, if I type a colon (which is shift-semicolon) in the console, I'll get a space followed by a colon. That space is the extra keystroke. Discussed and documented here: https://github.com/minetest/minetest/issues/4531

Re: Quick move of items in inventory?

PostPosted: Wed Feb 15, 2017 12:36
by texmex
echosa wrote:I'm using default:chests with 0.4.15 (that's the latest, I believe). This has never worked for me. I've tried shift-click, option-click, cmd-click, ctrl-click... I'm on OS X, if that makes a difference. How is it supposed to work? Shift click? If so, then this might be part of a larger problem. Shift seems to be sending two keystrokes. For instance, if I type a colon (which is shift-semicolon) in the console, I'll get a space followed by a colon. That space is the extra keystroke. Discussed and documented here: https://github.com/minetest/minetest/issues/4531

I can confirm these longstanding macOS issues.
• The sneak button is bound to "Left Shift" out of the box. But there's only "Shift" on a Mac, so sneaking doesn't work until you change the binding.
• Changing binding doesn't seem to enable shift+click in inventory still however, which leads me to think that the "Left Shift" is hardcoded in the engine for that action, since it doesn't follow suit.

Re: Quick move of items in inventory?

PostPosted: Wed Feb 15, 2017 12:49
by Wuzzy
Jeez, you're right. Another hardcoded key in Minetest. :-(
Minetest has way too many hardcoded keys.

Re: Quick move of items in inventory?

PostPosted: Wed Feb 15, 2017 12:54
by texmex
Other shift+clicks in-world works fine once key is rebound however, but perhaps clicks in formspecs are different.

Re: Quick move of items in inventory?

PostPosted: Wed Feb 15, 2017 20:23
by TenPlus1
Protector Redo gives you protected chests which have buttons to quickly transfer ALL items to and from player inventory.

viewtopic.php?t=9376

Re: Quick move of items in inventory?

PostPosted: Wed Feb 15, 2017 22:58
by echosa
I'm really glad I'm not the only one having this issue. Hopefully it gets fixed.

I'll look at Protector Redo, but I'm not really wanting to transfer all items. If the engine could be fixed such that shift-click works on Macs, that would be best.

Re: Quick move of items in inventory?

PostPosted: Thu Feb 16, 2017 16:41
by ShadMOrdre
Also consider that Unified Inventory does not support Shift+ for moving items through inventory.

Re: Quick move of items in inventory?

PostPosted: Wed Feb 22, 2017 16:51
by sorcerykid
On my server I have "Get Items" and "Put Items" buttons in the formspecs of most containers. It makes transferring inventory to and from chests, mailboxes, bookshelves, and bones extremely quick. It's esp. helpful for tablet and phone users.

Image

Re: Quick move of items in inventory?

PostPosted: Wed Feb 22, 2017 17:23
by texmex
sorcerykid, may we have the code? =)