toggle menu
MoulConfig
3.2.0
jvm
switch theme
search in API
legacy
/
io.github.notenoughupdates.moulconfig.gui.elements
/
GuiElementBoolean
Gui
Element
Boolean
open
class
GuiElementBoolean
:
GuiElement
(
source
)
Members
Constructors
Gui
Element
Boolean
Link copied to clipboard
constructor
(
x
:
Int
,
y
:
Int
,
value
:
Supplier
<
Boolean
>
,
toggleCallback
:
Consumer
<
Boolean
>
)
constructor
(
x
:
Int
,
y
:
Int
,
value
:
Supplier
<
Boolean
>
,
clickRadius
:
Int
,
toggleCallback
:
Consumer
<
Boolean
>
)
Properties
x
Link copied to clipboard
open
var
x
:
Int
y
Link copied to clipboard
open
var
y
:
Int
Functions
keyboard
Input
Link copied to clipboard
open
fun
keyboardInput
(
keyboardEvent
:
KeyboardEvent
)
:
Boolean
mouse
Input
Link copied to clipboard
open
fun
mouseInput
(
mouseX
:
Int
,
mouseY
:
Int
,
mouseEvent
:
MouseEvent
)
:
Boolean
render
Link copied to clipboard
open
fun
render
(
)