When using the /setblock command for a container e.g. chests or suspicious sand, you can not set the loot content of the block.
Attachments
Comments 4
Used to be able to do this /setblock ~ ~1 ~ barrel{Items:[
{Slot:0,id:diamond,Count:1}
]} replace
but now with the changes you can't /setblock a container block with prefilled content
If the issue you're facing is not being able to spawn container blocks with prefilled content then I cannot reproduce, everything is okay and the command works
[media]. Can you please attach a screenshot/video showcasing the issue/bug when executing the command?
Please provide the command you used.