When using 'setblock' and 'fill', I can't set a colored block anymore.
Here's what happens in 1.12.2:
/setblock ~ ~ ~ wool 4
places a yellow wool block at your feet.
/fill ~ ~ ~ ~1 ~1 ~1 wool 4
fills in an area with yellow wool.
Here's what happens in 17w46a:
/setblock ~ ~ ~ wool 4
returns an error "Incorrect argument for command at position 20: ... ~ ~ wool <-- [HERE]"
/fill ~ ~ ~ ~1 ~1 ~1 wool 4
returns an error "Incorrect argument for command at position 25: ...1 ~1 wool <-- [HERE]"
It appears that I can't place blocks with color values down anymore. I tried a bunch of other arguments with these commands and all it does is generate an error or place a white wool block. Is this a bug?
Comments 3
Note that in future versions, it will be cyan_wool
in that example, but the precedent holds for other states 😉
You no longer can use metadata, as metadata is in the process of being phased out. Instead, use block states, as part of the block itself:
/setblock ~ ~ ~ minecraft:wool[color=cyan]
. (A similar syntax is available in 1.12.2:/setblock ~ ~ ~ minecraft:wool color=cyan
)