need help with player direction

Started by minotheboy on

Topic category: Help with modding (Java Edition)

Last seen on 12:45, 27. Nov 2021
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
need help with player direction

when this specific entity is spawned i want it to only move in a specific direction, the direct the player is facing. also like if the player is looking up a bit i want it to go straight to that place. im making a small black hole gun and i want it to move slowly in that direction

Last seen on 13:58, 21. Jan 2023
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you can use the look ray…
Sat, 12/18/2021 - 02:41

you can use the look ray cast tools to spawn a mob at that position