buildComponentString

fun buildComponentString(player: Player, variables: Map<String, String> = mapOf(), applyAnchor: Boolean = true, renderContext: String = "default"): String?(source)

同步构建布局原始字符串;无元素时返回 null。 Synchronously builds the raw layout string, returning null for an empty layout.

Parameters

applyAnchor

GUI 标题使用 false,不应用百分比锚点。 / Pass false for inventory titles to ignore percentage anchors.