1

Commandblock help needed!

1 emerald 4 replies 382 views | started 04/21/2017 7:07 am by Dark_Alpha_
Is there a way to rotate a players head so it will face it's nearest entity?
Posted by avatar
Dark_Alpha_
Level 24 : Expert Pig
21

4 replies

You've narrowed down to a single reply tree. Click here to return to full comment list.
1
04/21/2017 11:42 am
Level 32 Artisan Engineer
Bertiecrafter
avatar
Eeehhh...
All I can think of is using another entity with slowness and invisibility to look at it's enemy.
E.g: have an zombie look at a villager that you want to track, an iron golem for hostile mobs or a guardian for squids (I think?).
And then use /tp @p @e[type=<mob>,name=<name>] to tp the player to this invisible mob that looks at another mob that you want to track. The /tp command takes rotation into account.
1
04/22/2017 1:24 am
Level 53 Grandmaster Cyborg
Pepijn
avatar
This could work, although Zombie rotation has always been iffy from my experience.

Search

Browse

Site

© planetminecraft.com

Welcome