make the player look in a certain direction

Started by benji bon on

Topic category: Help with Minecraft modding (Java Edition)

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?

 

 

 

 

 

 

 

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

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?