how to launch a projectile relative to where the player's looking

Started by ICanDoodle on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how to launch a projectile relative to where the player's looking

the title explains it all, ive tried doing this for almost 5 months and still can't figure it out (i.e. if you have fire charge in your hand you throw it in the direction the player's looking)

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
To give a quick answer: You…
Tue, 07/20/2021 - 01:49

To give a quick answer:
You might be able to disguise a ranged weapon as a fire charge with a single durability point and the weapon launches a fire charge.
(You'd need to setup a procedure that replaces all the fire charges with the ranged weapon fire charge.)
Is this what you are looking for?