/moveslot command (moves the exact item from one slot to another)
/moveslot would move the exact item (including quantity) from one slot to another. When you type /help moveslot you would be receive these messages: (I based these off the official outputs of /help)
"/moveslot block <position> <slot 1> <slot 2> [clone/swap/replace]"
"/moveslot entity <targets> <slot1> <slot 2> [clone/swap/replace]"
"/moveslot transfer [entity/block] <position/targets> <slot 1> [entity/block] <position/targets> <slot 2> [clone/swap/replace]"
"clone" will make a copy of the item in slot 1 and places it in slot 2. "swap" will swap two items. "replace" will move slot 1 to slot 2 and delete anything that used to be in slot 2". the first two are for one block/entity. transfer is for use between multiple blocks, entities, or one of each.
P.S. some example of ways to use this are: swapping what's in someone's hand with what's in their off hand. moving the items of one container to another far away (like an instant hopper), moving all your items to a container to collect later. I can think of many, but i don't want to extend this much longer.
Please sign in to leave a comment.