How To Make An Ender Pearl Like Item

Started by Shlokplayzz on

Topic category: Help with Minecraft modding (Java Edition)

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.

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...

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

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?