Locating mobs & players around a Location

Discussion in 'Plugin Development' started by bijx, Nov 12, 2016.

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


    I am making a plugin that utilizes where mobs and players are in a radius around a block. If there is a mob or player within a radius of three blocks from the Location object when a command is executed, each mob/player will receive a potion effect.

    I don't know how to scan and check the area around the block for a mob. Should I use event handlers or is there a simple algorithm to solve this? If so, what might I need?

    I am using Spigot 1.10
  2. Offline


  3. Offline


    I believe this issue has been solved? If so could you please mark the thread as solved @bijx
Thread Status:
Not open for further replies.

Share This Page