FabricUiInput

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

Properties

Link copied to clipboard

True only while native mouse capture must preserve the current UI wrapper.

Link copied to clipboard

True only while calling the original gameplay dispatcher for the current retained owner.

Link copied to clipboard

True only during a second native scroll call after the UI declined the first event.

Functions

Link copied to clipboard
fun attackDelay(original: Int): Int

Replaces only the screen-imposed delay, preserving native attack cooldowns.

Link copied to clipboard
fun beginScroll(window: Long, horizontal: Double, vertical: Double)

Captures raw wheel values before native sensitivity/accumulation, for one event only.

Link copied to clipboard

Camera turning is available only in explicit look mode with the matching permission.

Link copied to clipboard
fun endScroll()

Releases the raw wheel event after native dispatch returns.

Link copied to clipboard
fun reset()

Clears held keys, toggle state, queued clicks, and retained input ownership at every boundary.

Link copied to clipboard
fun tick()

Services forwarded presses once per native tick; no custom movement or interaction packets are emitted.