Does the /clone command save NBT dat?

Does the /clone command save NBT dat? - Unrecognizable woman holding paw of dog

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?"

Does the /clone command save NBT dat? - Overhead of smartphone with simple recycling sign on screen placed on white eco friendly mesh bag on marble table in room
Does the /clone command save NBT dat? - From above of dollar bills in opened black envelope placed on stack of United states cash money as concept of personal income
Does the /clone command save NBT dat? - From above of United States currency folded in roll placed on USA flag illustrating concept of business profit and wealth



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