FzzyKeybind

Representation of a keybind in Fzzy Config, based on ContextType handling with the Relevant interface. These keybinds are not "linked" into anything by default, handling of the context input has be handled by you as introduced on the wiki https://moddedmc.wiki/en/project/fzzy-config/docs/features/Context-Actions

Author

fzzyhmstrs

Since

0.6.5

Inheritors

Types

Link copied to clipboard
class Builder

Builds a FzzyKeybind from 0 or more individual keybind inputs. If 0 inputs are provided, an unbound keybind will be supplied. Multiple inputs are evaluated as "OR" arguments. Any 1 input can pass for the keybind to pass.

Functions

Link copied to clipboard
abstract fun clone(): FzzyKeybind

Copies the current keybind object where possible.

Link copied to clipboard

Creates a compound keybind (multiple-choice) with other. If this compound is already compound, the new addition will be added as a further choice.

Link copied to clipboard

Keybinds contained within this keybind.

Link copied to clipboard
abstract fun keybind(): MutableText

Creates a Text representation of the current keybind

Link copied to clipboard
abstract override fun relevant(inputCode: Int, ctrl: Boolean, shift: Boolean, alt: Boolean): Boolean

Override from Relevant. Determines if an input is relevant for the handler or not.