Damage in a certain direction

Started by Umchen on Sat, 06/27/2020 - 16:29

Topic category: Help with modding (Java Edition)

Last seen on 17:17, 27. Jun 2020
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Damage in a certain direction
Sat, 06/27/2020 - 16:29

I wanted to make a procedure which gives damage to mobs in my face direction, but I don't know how I get the face direction of the player. The damage itself is supposed to be applied to all mobs within certain box in front of me, so basically no dmg behind me

 

its in 1.15.2 btw