Getting damage value of Blocks

Discussion in 'Plugin Development' started by Gamestar, Aug 15, 2012.

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

    Gamestar

    I don't know how to get the damage value of a block. Any suggestions?
     
  2. Offline

    gamerzap

    First, get the Block. Then, do:
    Code:
    byte data = <block>.getData();
    Where <block> is the name of the Block.
     
Thread Status:
Not open for further replies.

Share This Page