1

How do I rotate blocks?

Denisowator's Avatar Denisowator5/18/16 10:45 pm
1 emeralds 393 2
5/19/2016 12:34 am
Denisowator's Avatar Denisowator
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's Avatar
Denisowator
Level 20 : Expert Warrior
12

Create an account or sign in to comment.

2

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

Website

© 2010 - 2024
www.planetminecraft.com

Welcome