How To Make An Ender Pearl Like Item

Started by Shlokplayzz on

Topic category: Help with modding (Java Edition)

Last seen on 12:02, 19. Aug 2022
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How To Make An Ender Pearl Like Item

So I'm trying to make an ender pearl like item called prism pearl which teleports you where you throw it at but I want it to be so that it moves in a straight line and never falls down and you only get teleported if it hits something.

Last seen on 13:21, 6. Apr 2024
Joined Mar 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This can be done through…
Thu, 08/18/2022 - 17:13

This can be done through ranged weapons.
Teleport is a simple part, ( Set location of [Event/target entity] to XYZ )
But how to make a projectile flying just in a straight line is a good question...

Last seen on 19:28, 16. Aug 2023
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well- I have two possible…
Thu, 08/18/2022 - 17:30

Well- I have two possible ideas although I can only explain them-

First way would be to override the movement of the projectile

Or just straight up use ray-tracing

Last seen on 12:02, 19. Aug 2022
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I override the…
Fri, 08/19/2022 - 07:55

How can I override the projectile's movement?