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, reusable component evaluator until terminal release, one resource-image resolver shared by initial and deferred evaluation until terminal release, and any version services transferred by an adapter until terminal release, but does not directly retain the definition object. The core session exclusively retains application content and its capture graph until terminal release before node cleanup; the component evaluator retains only profile and presentation services. Content evaluates during the first attach and reevaluates before a later frame after observed state changes. 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.
Properties
Functions
Dispatches one keyboard event to the focused component in the most recently committed frame. When focused handlers ignore a Tab press, the retained tree traverses visible accepting owners in cyclic paint order, with Shift reversing direction. Dirty retained geometry synchronizes as described by dispatchPointer.
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. Dirty retained geometry synchronizes as described by dispatchPointer.
Produces one immutable frame for the supplied viewport.
Produces one immutable frame with an explicit host-clock timestamp for animated nodes.
Cancels captured pointer input and clears hover and focus when the native window loses input ownership.