As in the video,
When using the /setblock command to place a block [such as chest]
If there is the block[e.g chest] on the coordinates,
Then the nbt data in the command will not work
[The items in the chest will not be placed]
When you need to cycle through command blocks
Keep giving some novice supplies
Then
You can only use the /fill command
/setblock command does not support'replace air'
Related issues
Attachments
Comments


Please provide the full command in text-form.

The video has been demonstrated very clearly,
F3+i can copy block data

It's easier to investigate a extremely long command like that by posting it here - having to type it off of the video would be very very frustrating.

I just use f3+i,
Take the cube data of an ordinary treasure chest,
Just copy it to the nbt data,
The data is not important,
If you really want to reproduce,
Just like me,
Put something in the treasure chest,
f3+i copy this treasure chest,
The coordinates are naturally copied
Then /give @s command_block,
Copy the treasure chest information,
Loop on,
You can return to the treasure chest to see,
You will find that
The items in the treasure chest are gone.
nbt notwork?
Or is there another reason?

duplicates MC-117574