Use this command:
/give @p minecraft:structure_block 1 0 {ignoreEntities:0b,posX:1,posY:-1,posZ:1,sizeX:17,sizeY:17,sizeZ:17,mode:"SAVE",name:"My Structure",id:"minecraft:structure_block",showboundingbox:1b}/give @p minecraft:structure_block 1 0 {ignoreEntities:0b,posX:1,posY:-1,posZ:1,sizeX:17,sizeY:17,sizeZ:17,mode:"SAVE",name:"My Structure",id:"minecraft:structure_block",showboundingbox:1b}You'll get a structure block that says it has 11 NBT tags (if you have advanced tooltips on). But when you set it down, you'll see it acts as a regular non-tagged structure block.
We know it's not the tags themselves because they work with /setblock. This command works just fine:
/setblock ~ ~ ~ minecraft:structure_block 0 replace {ignoreEntities:0b,posX:1,posY:-1,posZ:1,sizeX:17,sizeY:17,sizeZ:17,mode:"SAVE",name:"My Structure",id:"minecraft:structure_block",showboundingbox:1b}/setblock ~ ~ ~ minecraft:structure_block 0 replace {ignoreEntities:0b,posX:1,posY:-1,posZ:1,sizeX:17,sizeY:17,sizeZ:17,mode:"SAVE",name:"My Structure",id:"minecraft:structure_block",showboundingbox:1b}So it must be something wrong with the /give command specifically. Thanks.
Potential tile entity data from items goes in the
BlockEntityTagcompound: