getBurnTime

fun getBurnTime(material: Material): Int

Gets the burn time of the given Material in ticks, or 0 if the material is not a fuel item.


fun getBurnTime(itemStack: ItemStack): Int

Gets the burn time of the given BukkitStack in ticks, regardless of whether it is a Nova item or not, or 0 if the item is not a fuel item.


fun getBurnTime(itemStack: ItemStack): Int

Gets the burn time of the given MojangStack in ticks, regardless of whether it is a Nova item or not, or 0 if the item is not a fuel item.