Get the block what has been right clicked and check ..

Discussion in 'Plugin Development' started by ahuby09, Feb 6, 2014.

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

    ahuby09

    how would i get the block somebody clicked and if it was equal to a certain block this is really annoying as block dosn't seem to bring up a list off blocks yet it brings up noises and when i try to use material it says block and material are incompatibale
     
  2. Offline

    L33m4n123

    InteractionEvent
    right click block
    block.getType().equals(Material.STONE); // to check if it was stone that was clicked
     
  3. Offline

    Garris0n

Thread Status:
Not open for further replies.

Share This Page