3

How do I spawn a button facing a certain direction?

bballbilly's Avatar bballbilly3/31/20 5:33 pm
3 emeralds 1.1k 4
4/4/2020 6:18 am
Quintupple's Avatar Quintupple
Posted by bballbilly's Avatar
bballbilly
Level 1 : New Miner
1

Create an account or sign in to comment.

4

1
04/02/2020 8:39 am
Level 12 : Journeyman Button Pusher
BlazeDrake
BlazeDrake's Avatar
You'd use /setblock (coords) stone_button [value], with a value from 0-5.

  • 0: facing down
  • 1: facing east
  • 2: facing west
  • 3: facing south
  • 4: facing north
  • 5: facing up
(info taken from https://minecraft.gamepedia.com/Button#Block_data)
1
03/31/2020 6:48 pm
Level 14 : Journeyman Architect
Quintupple
Quintupple's Avatar
/setblock (coordinates) minecraft:stone_button[​facing=(direction)]

This might work?
2
04/02/2020 8:34 am
Level 12 : Journeyman Button Pusher
BlazeDrake
BlazeDrake's Avatar
That wouldn't work on bedrock sadly, as bedrock doesn't use block states
1
04/04/2020 6:18 am
Level 14 : Journeyman Architect
Quintupple
Quintupple's Avatar
Oh! Haha, I didn't see the Bedrock help part.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome