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

Started by AlexTheDolphin0 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to get the direction that a player is facing, then launch an entity in that direction

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?