buildComponentStringAsync

fun buildComponentStringAsync(player: Player, variables: Map<String, String> = mapOf(), applyAnchor: Boolean = true, resumeOnMain: Boolean = true, renderContext: String = "default", progressRefresh: Int? = null, strictTextScripts: Boolean = false): CompletableFuture<String?>(source)

异步构建布局字符串,不阻塞调用线程等待脚本求值。 Builds the layout string asynchronously without waiting for scripts on the caller’s thread.