I tried to use the command setblock ~1 ~ ~ stone_button
but then it places a button on air.
I'm running Minecraft 14w11b snapshot from the 1.8 snapshots.
Does someone know how to fix this?
Pictures below:
minecraft-commandsminecraft-java-edition
I tried to use the command setblock ~1 ~ ~ stone_button
but then it places a button on air.
I'm running Minecraft 14w11b snapshot from the 1.8 snapshots.
Does someone know how to fix this?
Pictures below:
Best Answer
You have to set the
Datavalue
of the button too, as this tells the button which direction to face. Luckily in the newest snapshots it is really easy to determine the correct datavalue by pressing F3, and then looking at the button you want to place.At the top right corner it says:
Block: minecraft:stone_button/1
which you want to place. So the full command would be: