Companion

object Companion

Functions

Link copied to clipboard
fun getIcon(id: Key): FontChar?

Gets the FontChar for the texture icon requested in TextureIconContent, where id is the path of texture, i.e. minecraft:item/stone_sword.