click

fun click(slot: Int, shift: Boolean = false, button: String = "LEFT"): Inventory

Shorthand for ClickAction

Return

this inventory for method chaining

Parameters

slot

the slot to click on

button

the mouse button to use. "LEFT" by default.

shift

whether shift is being held. False by default

Sources

Link copied to clipboard