Make the player look in a direction.

Started by troglodo on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make the player look in a direction.

Hi, 

Im making a sword that when you hit an entity, teleports you in their back (This is for PvP purposes mostly.)

Can i make the player turn 180 degrees to look directly to the entity without doing a flick? 

Thanks and sorry for bad english.

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So, ive found out the…
Fri, 08/05/2022 - 15:04

So, ive found out the rotation block, but im stuck anyways bc I dont know how to use it.

Any help?