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

Started by Rsx1tz on

Topic category: Help with Minecraft modding (Java Edition)

Active 11 months ago
Joined Sep 2024
Points:
59

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 0
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?