Make the player look in a direction.

Started by troglodo on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 years ago
Joined Aug 2022
Points:
391

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
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.

Active 2 years ago
Joined Aug 2022
Points:
391

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
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?