Can I make someone turn around in Minecraft using Command Blocks?

Can I make someone turn around in Minecraft using Command Blocks? - Content female customer with long curly hair wearing casual outfit sitting at wooden table with netbook in classic interior restaurant while making online order

I am Building an archery range in Minecraft. When the person Hits the bullseye, I want a command block command make them turn around (look away from the target). This is so they can't cheat and keep scoring by keeping the same direction.



Best Answer

There is indeed a way to do this with the new command blocks as mentioned by MBraedly. SethBling did a very nice cover of all the new command block neatness in one of his snapshot previews and shows one that makes you spin around. Find the video here:

The new features to the tp command are what you are after, about 4:30 in the video and it is as @MBraedley mentioned, adding in the heading and pitch values to it.

/tp @p ~ ~ ~ [heading]

The ~ are XYZ shorthand for where you currently are, for heading values use the ones displayed in the F3 overlay text. And I think that will take care of your needs.




Pictures about "Can I make someone turn around in Minecraft using Command Blocks?"

Can I make someone turn around in Minecraft using Command Blocks? - Crop hacker silhouette typing on computer keyboard while hacking system
Can I make someone turn around in Minecraft using Command Blocks? - From above of crop anonymous male hacker typing on netbook with data on screen while sitting at desk
Can I make someone turn around in Minecraft using Command Blocks? - Crop unrecognizable man cleaning computer system unit



How do you make someone rotate in Minecraft?

Command blocks always point towards you, and if the arrows are pointing in the wrong directions, the command won't run.

Are command blocks directional?

You cannot. There are various commands that are unavailable, probably due to the ability for abuse (such as reopping yourself after having your admin privileges revoked).



3 Deadly Command Blocks (Minecraft PE)




Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Yan Krukov, Anete Lusina, Sora Shimazaki, Anete Lusina