mouseClicked

open override fun mouseClicked(event: MouseButtonEvent, doubleClick: Boolean): Boolean(source)

Delivers a native mouse press to the common host.

Return

true only when the common host consumes the press.

Parameters

event

native mouse-button event.

doubleClick

native double-click marker, which is not part of the common pointer protocol.

Throws

when common input, its callback, or terminal cleanup fails.

when invoked away from the Minecraft client thread.