How to launch player to where projectile hits

Started by StxllarPlanes on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to launch player to where projectile hits

I am currently making a grappling hook and want to make it so that it launches the player to where the projectile hits. I have tried overriding the velocity of the player, but it doesn't work.

Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Have you tried getting theā€¦
Mon, 08/21/2023 - 14:22

Have you tried getting the location storing in as a player variable (in resources) then overriding the velocity (wait 20 ticks then on server side) teleporting them to that x y+0.5 z