It's pretty much a copy of `Block.getUnlocalizedName2()` - which is also client-side only (and could do with being un-annotated).