getId

abstract fun getId(item: ItemStack): String?

Gets a namespaced name from an ItemStack


abstract fun getId(block: Block): String?

Gets a namespaced if from a placed Block