How know the idType of a block with his location

Discussion in 'Plugin Development' started by 4z3rty, Jun 15, 2012.

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

    4z3rty

    Hi,
    My question is in the title...

    Thank to help me.

    Escuse me for my spelling, I'm french !
     
  2. 'idType' I don't know what you mean by that. Or do you just want the type?
     
  3. Offline

    4z3rty

    When a player breaks a block, I want to know if other blocks are present.
    After I want to place a block with coordinates...

    I have find the solution : plugin.getServer().getWorlds().get(0).getBlockAt(-14, 6, -458).getTypeId();

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 26, 2016
Thread Status:
Not open for further replies.

Share This Page