Pull Player Toward Projectile

Started by LocalModCreator on Sun, 05/08/2022 - 18:48

Topic category: Help with modding (Java Edition)

Last seen on 15:00, 19. May 2022
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Pull Player Toward Projectile
Sun, 05/08/2022 - 18:48

I Have Made A Ranged Item And I Want It So When Your Projectile Hits [In a 15 block radius] You Get Pulled Towards It

Think Of It As A Grappling Hook

Last seen on 08:23, 31. May 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
The only thing that I could…
Mon, 05/09/2022 - 06:25

The only thing that I could think of right now is that when Projectile hits the ground the player teleports to it. Well if you want this you need to use procedurs. I cant check now what procedure you need to use, but its something to do with: teleport Player x y z. U put this in bullet event - went bullet hits the ground.

My discord if u need more help BlueGamer19#2663

Last seen on 15:00, 19. May 2022
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Ive Done That But I Do Want…
Mon, 05/09/2022 - 18:36

Ive Done That But I Do Want To Have It More Realistic Because Im Making Something Out Of A Game

Last seen on 10:31, 7. Jul 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Subtract the XYZ of the…
Thu, 06/16/2022 - 02:24

Subtract the XYZ of the entity with the XYZ of the hit location and times it by a number less than 0.4 and add it to the current velocity of the entity your wanting to pull. Or maybe the other way around, I did this to get the projectile to hone in on the target, so the opposite of what you want, but same principle