detecting if an entity is in front, behind, and to the side of the player

Started by Lqe on Tue, 06/14/2022 - 00:27

Topic category: Help with modding (Java Edition)

Last seen on 00:51, 26. Jun 2022
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
detecting if an entity is in front, behind, and to the side of the player
Tue, 06/14/2022 - 00:27

I'm trying to make an item that will damage any mob near the player, but the damage depends on whether the mob is to the side, in front, or behind the player.