getName

fun getName(block: Block): Component

Gets the name of block as a Component. Works for Nova blocks, custom item services and vanilla blocks.