How to check for an entity or projectile around entity

Started by burning on

Topic category: Help with modding (Java Edition)

Last seen on 05:51, 19. Mar 2023
Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to check for an entity or projectile around entity

i want to add a procedure that checks the surrounding of the player for an entity or projectile then knock back the player in the opposite direction of where the player is looking and knock back entity in direction of where the player is looking