Line of sight detection

Discussion in 'Plugin Development' started by R3YGamer, Aug 19, 2020.

Thread Status:
Not open for further replies.
  1. Offline

    R3YGamer

    What would the code be for when a villager can see the player and then something happens and if it cannot be done with a villager, lets say a hostile mob like a vindicator instead then. How would you code this?
     
  2. Offline

    Kars

    Last edited: Aug 29, 2020
Thread Status:
Not open for further replies.

Share This Page