Does the /clone command save NBT dat?
//ads -- adsterra.com -- native banner
?>
I've been working on a small Minecraft map that uses the /clone command to copy command blocks to certain locations and I was wondering, does the /clone command save the NBT data of command blocks?
Pictures about "Does the /clone command save NBT dat?"



How do you save NBT data on Minecraft?
You can use the /data command to get, merge and remove NBT tags (formerly called data tags) for entities and block entities. The /data command is most useful for changing attributes of a mob after the mob has spawned or modifying attributes of a block entity after you have placed it.How do I get NBT data from a block?
Look at the chest, hold ctrl , and press your pick block button (configurable in options). This should give you a chest item with identical NBT data.Minecraft Datapack Tech - Tutorial - Copying entity data and storing it in arrays
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Ivan Babydov, ready made, Karolina Grabowska, Karolina Grabowska
