ofItem

fun ofItem(item: ItemStack?): ToolTier?

Returns the ToolTier of the given ItemStack. This method works for both vanilla and Nova items. If the provided ItemStack is not a tool, null will be returned.