extractMinecraftUiProfile

Extracts the complete Minecraft UI profile from the active resource manager.

Every resource is acquired for this call only. Image streams and native images are closed after their pixels are copied, and the resulting common profile retains no Minecraft or native resource object. The active resource manager may replace the vanilla images with conforming pack assets, but multi-resource font JSON stacks are rejected because this bounded extractor does not reproduce Minecraft's provider-stack merge. The call belongs on the active Minecraft client thread; resource-manager and native-image failures escape without substitution. The active client must use the regular bitmap font selection; the forced Unicode font option is outside this profile's verified ASCII contract.

Return

an immutable profile containing the active conforming menu, container, Slot, button, and ASCII assets.

Throws

when a required resource, dimension, metadata contract, or font contract is invalid.

when called away from the Minecraft client thread.

when a required resource cannot be read.