dynamicLine

abstract fun dynamicLine(alignment: GuiTexture.TitlePosition.Alignment = Alignment.DEFAULT, offset: Vector2ic = Vector2i(0, 0), fonts: Set<Key> = setOf(Key.key("minecraft", "default")))

Adds a dynamic title line whose contents are supplied to GuiTexture.getTitle.

fonts should list all fonts that may be used during runtime. Vertically moved variants will be automatically generated for them.