make the player look in a certain direction

Started by benji bon on

Topic category: Help with modding (Java Edition)

Last seen on 03:13, 24. Jul 2023
Joined Jun 2023
Points:

User statistics:

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

in have tried using the block below, but when i run the command nothing happens, to make sure the command is getting run, i added the send message, it sends the correct direction yaw and pitch that i am supposed to be looking at, but my player doesn't get affected at all, is this a bug with my code or with mcreator?

 

 

 

 

 

 

 

Last seen on 03:13, 24. Jul 2023
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
edit: i did some testing,…
Fri, 06/23/2023 - 05:42

edit: i did some testing, and when running the command using /execute, it works on every entity except the player, i am so confused

Last seen on 03:13, 24. Jul 2023
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ok so i found out that it…
Sat, 06/24/2023 - 01:28

ok so i found out that it rotates my character, but this doesn't register on the screen. when launching a fireball or shooting an arrow, it shoots off in the direction the character was set to. any ideas on how to make it visual?