createMinecraftUiProfile

Creates one complete immutable Minecraft UI profile.

The callback and builder are confined to the calling thread and the callback's dynamic lifetime. The builder closes in finally, so escaped use fails after both success and failure.

Return

a complete immutable profile with referential identity.

Parameters

content

the profile declaration callback.

Throws

when a declared slot is invalid, duplicated, or missing.

when content fails; the exact callback failure is propagated unchanged.