1

How do I rotate blocks?

Denisowator •5/18/16 10:45 pm
•
670
•
5/19/2016 12:34 am
I've been trying for the past 3 hours to spawn a block with a specific direction using the /setblock command.

I want to spawn a piston head facing upwards. This is the command I have:
/setblock ~ ~-1 ~ piston_head
What do I add to it, to make the piston head face up instead of down? (the "~ ~-1 ~" is just so that it spawns below the command block which executes the command)

P.S. I'm doing this on 1.8.9.
Posted by
Denisowator
Level 25 : Expert Warrior
12

  Have something to say?

Join • Sign in

2

JozyP
• 05/19/2016 12:17 am
• Level 42 : Master Pixel Painter
/setblock ~ ~-1 ~ piston_head 1
Insert any number where the one is, I just usedbone for an example.
1
Denisowator
• 05/19/2016 12:34 am
• Level 25 : Expert Warrior
Thank you so much!!!
1

Welcome