How to make player ride a projectile

Started by MegaMacky on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make player ride a projectile

I am making a mod but I need some help. I made a spear item that can be thrown but I want to make it so that the player rides that spear once it is thrown. I tried making using a trigger in the projectile that every tick the immediate source entity rides the event/target entity but it does not work. If anyone can give advice on how to do it, this would be greatly appriciated.

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Nvm I fixed it. I just…
Tue, 10/08/2024 - 02:31

Nvm I fixed it. I just swapped the immediate source entity and event/target entity in the ride block.