mojira.dev
MC-135670

name= isn't allowed when setblocking structure block, only mode=

if you setblock a structure block and putting a 

'[' on it only lets you choose between 'mode=' and ']'.
/setblock ~ ~ ~ structure_block[ mode=

                                                   ]

it should also say 'name='

Attachments

Comments 4

'name' is not a blockstate for structure blocks so it cannot be targeted. It is NBT.

But how do i set the name in the structure block? Can you give an example?

 

Should be '{name="structure"}'

I just tested it out right now and typed /setblock ^ ^ ^4 structure_block[mode=load]

{name="structure"}

and the text goes red and it says expected ":" but got "=" so I change it to 

{name:"structure"}

and the text goes yellow but when I setblock it places an emty data-structure block.

GruveXp

(Unassigned)

Unconfirmed

Minecraft 1.13

Retrieved