MinecraftUiHost
Owner-thread bridge for one Minecraft screen definition host.
Lifecycle, frame, input, and close calls are synchronous and must run on the construction thread. The host retains its independent core runtime session, transferred metadata, one-shot evaluator until evaluation or terminal release, and any version services transferred by an adapter until terminal release, but does not directly retain the definition object. The evaluator temporarily retains the complete profile and every caller object, including a definition reference, captured by application content. Content evaluates during the first attach, while later synchronous changes use retained node invalidation before another frame. The host exposes no coroutine, local-state, source-binding, resource, rendering, or version-specific contract. Core lifecycle, first-frame input gating, failure identity, suppression order, and cleanup behavior are delegated unchanged. Every factory call creates distinct retained ownership with referential identity.
Functions
Dispatches one keyboard event to the focused component in the most recently committed frame.
Dispatches one pointer event through the most recently committed frame.
Dispatches one committed-character or input-method preedit event to the focused component in the most recently committed frame.
Produces one immutable frame for the supplied viewport.
Produces one immutable frame with an explicit host-clock timestamp for animated nodes.