WorldTile

open class WorldTile : AbstractTile

Represents a unique tile position in Runescape.

Constructors

Link copied to clipboard
constructor(x: Int, y: Int)
constructor(x: Int, y: Int, plane: Int)

Properties

Link copied to clipboard
protected val rsTile: RSTile

Functions

Link copied to clipboard
Moves the camera to a position where the given entity or position is in view.
Link copied to clipboard
open fun click(): Boolean
Interacts with the entity, with the first action available.
open fun click(action: String): Boolean
Interacts with the entity, given a specific action.
Link copied to clipboard
Clicks the tile on the minimap interface.
Link copied to clipboard
open fun distance(): Int
Determines the distance between this entity/tile and the local player
Link copied to clipboard
open fun distanceTo(position: Positionable): Int
Determines the distance between this entity/tile and the given entity/tile
Link copied to clipboard
open fun equals(@Nullable o: @Nullable Any): Boolean
Link copied to clipboard
Gets the bounds of this tile on the screen
Link copied to clipboard
open fun getLegacyTile(): RSTile
Link copied to clipboard
open fun getPlane(): Int
Gets the plane of this tile
Link copied to clipboard
open fun getRegionId(): Int
Gets this tile's region id.
Link copied to clipboard
open fun getTile(): WorldTile
Returns "this".
Link copied to clipboard
open fun getX(): Int
Gets the x coordinate of this tile
Link copied to clipboard
open fun getY(): Int
Gets the y coordinate of this tile
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
Unmaintained.
Link copied to clipboard
open fun hover(action: String): Boolean
Hovers the specified action on this entity.
open fun hover(): Boolean
Moves the mouse to a human-randomized point on the 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
Attempts to hover the tile on the minimap
Link copied to clipboard
open fun interact(action: String): Boolean
open fun interact(action: String, interruptCondition: BooleanSupplier): Boolean
Attempts to interact with the entity using the given action.
Link copied to clipboard
open fun isHovering(): Boolean
Checks if the mouse is currently over this entity
Link copied to clipboard
Unmaintained.
Link copied to clipboard
open fun isOnMinimap(): Boolean
Determines if this tile is visible on the minimap interface.
Link copied to clipboard
open fun isRendered(): Boolean
Checks if this tile is currently being rendered (a tile is not rendered if it's covered by the 'black fog')
Link copied to clipboard
open fun isVisible(): Boolean
Determines if the entity is on the screen and able to be clicked.
Link copied to clipboard
Attempts to left-click this tile on the screen.
Link copied to clipboard
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
open fun translate(x: Int, y: Int): WorldTile
Translates (shifts) this tile by the specified x and y
open fun translate(x: Int, y: Int, z: Int): WorldTile
Translates (shifts) this tile by the specified x, y, and z