Getting nearby blocks

Discussion in 'Plugin Development' started by nikihmue, Jan 7, 2014.

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

    nikihmue

    i want if a player is in a certain radius of a block and after that he got some effects or messages.
    i hope you can help me
     
  2. Offline

    FourOhFour

    you want to be iterating through nearby blocks I think. Not going to spoonfeed you, but a repeating task could be useful (bukkit.getscheduler.schedulerepeatingsynctask), as could looping through co-ords of blocks.
     
  3. Offline

    nikihmue

    Okey thanks i'll try it out

    Mhh.. how do i check if there is the block in the radius

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 6, 2016
  4. Offline

    nikihmue

    Now it works thanks for you're help
    Solved!
     
Thread Status:
Not open for further replies.

Share This Page