getName

abstract fun getName(item: ItemStack, locale: String): Component?

Gets a localized name for an ItemStack


abstract fun getName(block: Block, locale: String): Component?

Gets a localized name from a placed Block