Clickable

public interface Clickable

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

Functions

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

Inheritors

Widget
Link copied to clipboard
Item
Link copied to clipboard
Interactable
Link copied to clipboard