createMinecraftUiHost
Creates one owner-thread host by atomically consuming a definition.
Successful construction leaves the definition empty and transfers metadata and content to the new host.
Return
a distinct owner-thread host.
Parameters
the available one-shot definition.
the complete immutable Minecraft asset profile.
Throws
when definition was already transferred or closed.
Creates one owner-thread host with version-specific services by atomically consuming a definition.
Successful construction transfers platform to the host, which refreshes it before frames and closes it on every terminal path. This privileged overload is for a versioned runtime adapter; application code receives the resulting screen from that adapter instead.
Return
a distinct owner-thread host.
Parameters
the available one-shot definition.
the complete immutable Minecraft asset profile.
version-specific services transferred to the host.
Throws
when definition was already transferred or closed.