Skip to main content
1 of 13
randomuser922
  • 1.1k
  • 1
  • 8
  • 20

You have to copy the selected item to a container like a chest. Modify the container's item (the item from the player's hand) to what you want. Then use the loot command to loot the container to the player's hand. You need a datapack for this so if you cant use datapacks this wont work for you. This method requires a loot table for destroying a specific block. The loot table has to drop the contents of the container and not the block plus the contents like a chest does. The following video will show you how to use the loot command and will show you the loot table for this method.

I hope this helped.

randomuser922
  • 1.1k
  • 1
  • 8
  • 20