Minecraft 1.15 / setblock?

Us
7

In minecraft (java) 1.15 I want to use the command block with the command / setblock to set buttons to specific coordinates.

How can I do that the button is set in different directions.

Be

As far as I know it doesn't work. Maybe with a plugin or mod

Us

But you can put signs in different orientations, right?

Hu

/ setblock (coordinates) (what you want to place) facing (and then the direction)

it should go like this.

Us

What does "faceing" mean in this context?

Hu

In which direction it should look

Be

/ setblock ~ ~ ~ minecraft: stone_button [facing = north, face = ceiling] replace

You replace north with the direction in which the button should look.

you can replace the ceiling with wall or floor as either the button on the ceiling, wall or floor.

Us

Thank you so much!