WorldTile

public class WorldTile extends AbstractTile

Represents a unique tile position in Runescape.

Constructors

WorldTile
Link copied to clipboard
void WorldTile(int x, int y)
WorldTile
Link copied to clipboard
void WorldTile(int x, int y, int plane)

Functions

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