The item command from snapshot 20w46a is really useful for player inventory modification. Item modifiers being separated from loot tables is also really useful. However, while I've been working with it, sometimes item modifiers were just not good enough, so I would have to copy the player's inventory to a chest, then modify it there. However, chests require a set-up location, have a smaller inventory than the player... so being able to work in storage would be great.
You can run
item storage <storage> <path> ...
And you can also use it in the copy section
item ... copy storage <storage> <path>
If the item in storage is invalid, then the command throws an error but does nothing.
Please sign in to leave a comment.
1 Comments