Question about MaterialData and deprecated API.

Discussion in 'Spigot Plugin Development' started by Lori00, Apr 30, 2017.

  1. sothatsit


    The durability of an item is used as its data value if the item does not have a durability. Hence you can use the (Material type, int amount, short data) constructor, just give the data as a short instead of a byte.