how do i made an entity disappear if the player look at it

Started by Rsx1tz on

Topic category: Help with modding (Java Edition)

Last seen on 12:07, 8. Sep 2024
Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how do i made an entity disappear if the player look at it

basically all i wanted to know is how can i check if the player is looking at an entity is it possible to do with local variables to where i can get the direction and position the entity is looking at with it?