Item data

Discussion in 'Plugin Development' started by HackintoshMan, Jul 8, 2013.

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

    HackintoshMan

    I need to be able to get the data value of a block...like 44:5

    But how can I get it and store it as an integer?
     
  2. Offline

    kreashenz

    Code:java
    1. String[] strings = String.valueOf(id).split(":");
    2. strings[0] = getId();
    3. strings[1] = getData();

    I think that's what you were looking for, not entirely sure though.
     
  3. Offline

    HackintoshMan

    Yeah, thanks
     
Thread Status:
Not open for further replies.

Share This Page