getComponent

fun getComponent(text: String, x: Float, y: Float, scale: Float = 1.0f): Component

text with the placement encoded in its color; put it in a title, action bar, boss bar, …