Line of sight between a player and a block

Discussion in 'Plugin Development' started by Ne0nx3r0, Apr 4, 2011.

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

    Ne0nx3r0

    Just pondering ideas for plugins; is there a simple way to check if a player has line of sight to a block, or a mob to a player, etc?

    Also, what's the recommended method of detecting when a player/mob is within n blocks of a block? Should this just be done on a timer, or is there a more effective way/
     
Thread Status:
Not open for further replies.

Share This Page