Hey, i am trying to create a one block command. Although for my command im doing im going to need a way i can save my items and then clear then and then get them back later. if you know any ways i could do this it would help alot!
Unfortunately, there is no way to clear your inventory while dropping or saving the items automatically. However, if you don't mind having to drop every single item that is in your inventory, you can teleport those items to a hopper leading into a double chest. When you want the items back, break the double chest and then teleport the items back to you. Alternatively, you could set your spawn and use /kill. This only works with one person per hopper. These are the commands:
Thanks for the help, although i already have done this, cause im trying to make a one command block command, im trying to make a werewolf one. if you want you can help me? if you would like to email me at [email protected] or reply on this reply, although i would prefer a email.