AdvancedMenu

class AdvancedMenu(val module: Module)

Provides an advanced menu screen for click gui modules.

Author

Aton

Constructors

Link copied to clipboard
fun AdvancedMenu(module: Module)

Functions

Link copied to clipboard
fun drawScreen(mouseX: Int, mouseY: Int, partialTicks: Float)

Render the menu

Link copied to clipboard

Returns true if any of the elements is listening for key inputs. In that case the esc key should not exit the menu.

Link copied to clipboard
fun keyTyped(typedChar: Char, keyCode: Int): Boolean
Link copied to clipboard
fun mouseClicked(mouseX: Int, mouseY: Int, mouseButton: Int): Boolean
Link copied to clipboard
fun mouseReleased(mouseX: Int, mouseY: Int, state: Int)
Link copied to clipboard
fun scroll(amount: Int, mouseX: Int, mouseY: Int): Boolean

Scrolls the settings by the given number of lines.

Properties

Link copied to clipboard
Link copied to clipboard
var x: Int = 10
Link copied to clipboard
var y: Int = 10