How to get the direction that a player is facing, then launch an entity in that direction

Started by AlexTheDolphin0 on Thu, 10/29/2020 - 16:50

Topic category: Help with modding (Java Edition)

Last seen on 23:18, 21. Nov 2020
Joined Jun 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to get the direction that a player is facing, then launch an entity in that direction
Thu, 10/29/2020 - 16:50

How do you make a procedure that will get a player's direction, then launch a new entity(e.g., Dragon Fireball) in that direction? The "Ranged Weapon" thing won't work for what I'm trying to do because it does not have attack speed and stuff. Can anyone help?