Help! Finding Slabs In Bukkit List Of Materials...

Discussion in 'Plugin Development' started by SnowGears, Aug 12, 2012.

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

    SnowGears

    Simply put, I cannot find all of the slabs in the bukkit material list.

    My plugin needs to have all of the slabs in an arraylist but I can't find them. Is this an issue with bukkit not having them in their database or are they labeled as something else? Thanks
     
  2. Offline

    ron975

    All slabs have the same block ID, so I don't think that all of them will be in the list.
     
  3. Offline

    SnowGears

    Oh they do? Do you know what that ID is by chance?
     
  4. Offline

    ron975

  5. Offline

    SnowGears

    All ive been able to find on this page is this. Which one should I use?
    EDIT: Do I use the dec value?
    Double Stone Slab
    dec: 43 hex: 2B
    Single Stone Slab
    dec: 44 hex: 2C
    Double Wooden Slab
    dec: 125 hex: 7D
    Single Wooden Slab
    dec: 126 hex: 7E
     
  6. Offline

    ron975

    use the decimal value with the getDurability() method
     
    Tooner101 likes this.
  7. Offline

    SnowGears

    Thanks!
     
Thread Status:
Not open for further replies.

Share This Page