add Button
Add a base Minecraft button to the gui
Return
the Gui for method chaining
Parameters
button
the button to add
fun addButton(buttonId: Int, x: Int, y: Int, width: Int = 200, height: Int = 20, buttonText: String): Gui
Content copied to clipboard
Add a base Minecraft button to the gui
Return
the Gui for method chaining
Parameters
button Id
id for the button
x
the x position of the button
y
the y position of the button
width
the width of the button
height
the height of the button
button Text
the label of the button