Teleporting an entity to where the player is looking

Started by rohmi on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 weeks ago
Joined May 2022
Points:
436

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
Teleporting an entity to where the player is looking

I need to be able to move an entity 3 blocks in front of where a player is looking. So far i have only been able to achieve the effect using the raytrace blocks however the movement isnt smooth and it only moves in the grid of all other blocks rather than smoothly between them