Liquid data

Discussion in 'Plugin Development' started by BadReuben, Jan 13, 2014.

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

    BadReuben

    I would like to know how to check the liquid levels/metadata without using the data values since they are deprecated. I can't seem to find any way to do this in the bukkit API.

    Code:
    if(block.getData() == 0x0){
     
    }
     
  2. Offline

    breezeyboy

    Use the data values like normal?
     
  3. Offline

    BadReuben

    Is there a way to do that without using deprecated methods?
     
  4. Offline

    _Filip

    Just use the deprecated methods...
     
  5. Offline

    Superckl1

    As far as I know, there is no rational way to get around the deprecated methods.
     
  6. Offline

    _Filip

    Superckl1
    I /think/ you can use .getDamage(), but I don't know if it works on blocks.
     
Thread Status:
Not open for further replies.

Share This Page