Clickable

interface Clickable

Represents something that can be clicked, such as an in-game entity (object, npc, player) or interface entity (item, interface).

Inheritors

Functions

Link copied to clipboard
abstract fun click(): Boolean
Interacts with the entity, with the first action available.
abstract fun click(action: String): Boolean
Interacts with the entity, given a specific action.
Link copied to clipboard
abstract fun hover(): Boolean
Moves the mouse to a human-randomized point on the entity.
open fun hover(action: String): Boolean
Hovers the specified action on this entity.
Link copied to clipboard
open fun hoverMenu(action: String): Boolean
Hovers the specified action on this entity, always right-clicking and hovering over the menu
Link copied to clipboard
abstract fun isHovering(): Boolean
Checks if the mouse is currently over this entity
Link copied to clipboard
abstract fun isVisible(): Boolean
Determines if the entity is on the screen and able to be clicked.