1
How do I rotate blocks?
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.
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.
Create an account or sign in to comment.
2
1
/setblock ~ ~-1 ~ piston_head 1
Insert any number where the one is, I just usedbone for an example.
Insert any number where the one is, I just usedbone for an example.
1
Thank you so much!!!