Package-level declarations

Types

Link copied to clipboard
Attempts independent GUI queue cleanup without skipping later reference release after a failure.
Link copied to clipboard
Orders native Canvas shutdown before the platform destroys its rendering context.
Link copied to clipboard
Version-owned capability for discarding queued GUI references without submitting native draws.
Link copied to clipboard
Version-owned native consumption and device-lifetime bridge.
Link copied to clipboard
class FabricMinecraftScreen : Screen, AutoCloseable, RuntimeUiDiagnosticsOwner, FabricMinecraftInputReset

Fabric client screen backed by one common Minecraft UI host on Minecraft 1.21.8 and compatible primitive-input releases.

Link copied to clipboard
class FabricRemotePayload : CustomPacketPayload
Bounded opaque plugin-message bytes shared by the modern native stream codecs.
Link copied to clipboard
class FabricRemoteRegistration : Record, CustomPacketPayload
Outbound-only native channel advertisement, separate from any installed Fabric networking registry.
Link copied to clipboard
Outbound registration wrapper whose implementation classes are independent of Mixin transformation.
Link copied to clipboard

Native custom-payload endpoint shared by all supported Fabric clients. Client extensions register their factories before the first play connection captures registry. Network callbacks enqueue only owned bytes; all session and rendering work runs on the client tick thread.

Link copied to clipboard
Sends one bounded Strata frame through Minecraft's native play connection.
Link copied to clipboard

Client-thread input bridge using current native mappings and vanilla gameplay handlers.

Link copied to clipboard

Client-thread ownership of native wrappers; every entry has one common retained host for its entire lifetime.

Link copied to clipboard

Borrows an offscreen target and command encoder for one render-thread Canvas callback.

Link copied to clipboard

Owns custom native drawing resources for one attachment resource generation.

Link copied to clipboard

Borrows one ordinary 2D RGBA8 straight-alpha color texture until GPU capture completion.

Link copied to clipboard

Identifies which logical image edge contains native texel row zero.

Link copied to clipboard

Supplies an externally owned native color image for an actual Canvas presentation.

Link copied to clipboard
class StrataFabricClient : ClientModInitializer

Fabric client entrypoint that installs the process-wide Strata screen presenter.

Functions

Link copied to clipboard

Describes an externally owned GPU image provider without acquiring a texture or allocating native storage.

fun canvasSource(depth: Boolean = false, factory: () -> MinecraftCanvasRenderer): CanvasSource

Describes a custom offscreen renderer without invoking its factory or allocating native storage.

Link copied to clipboard
fun createMinecraftScreen(definition: ScreenDefinition, profile: MinecraftUiProfile, parent: Screen? = currentMinecraftScreen()): FabricMinecraftScreen

Compatibility factory sharing the common UI host path.

fun createMinecraftScreen(definition: UiDefinition, profile: MinecraftUiProfile, parent: Screen? = currentMinecraftScreen(), controls: RuntimeUiController? = null, eventSession: UiSession? = controls): FabricMinecraftScreen

Creates a Fabric client screen by transferring definition into one independent common host.

Link copied to clipboard

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

Link copied to clipboard

Snapshots the current client's selected 64 by 64 player skin for portable PlayerHead rendering.

Link copied to clipboard

Loads one immutable UI image from the active resource manager.