Uses of Class
net.runelite.api.coords.WorldPoint
-
Packages that use WorldPoint Package Description net.runelite.api net.runelite.api.coords net.runelite.api.worldmap -
-
Uses of WorldPoint in net.runelite.api
Methods in net.runelite.api that return WorldPoint Modifier and Type Method Description WorldPointClient. getHintArrowPoint()Gets the world point that the hint arrow is directed at.WorldPointProjectile. getSourcePoint()Get the point the projectile starts at.WorldPointProjectile. getTargetPoint()Get the point the projectile ends at.WorldPointActor. getWorldLocation()Gets the server-side location of the actor.WorldPointTile. getWorldLocation()Gets the location coordinate of the tile in the world.WorldPointTileObject. getWorldLocation()Get the world location for this object.Methods in net.runelite.api with parameters of type WorldPoint Modifier and Type Method Description booleanWorldView. contains(WorldPoint point)Test if this worldview contains the given pointProjectileClient. createProjectile(int spotanimId, WorldPoint source, int sourceHeightOffset, Actor sourceActor, WorldPoint target, int targetHeightOffset, Actor targetActor, int startCycle, int endCycle, int slope, int startPos)Create a projectile.WorldViewClient. findWorldViewFromWorldPoint(WorldPoint point)Find the worldview a given worldpoint belongs invoidClient. setHintArrow(WorldPoint point)Sets a hint arrow to point to the passed location. -
Uses of WorldPoint in net.runelite.api.coords
Methods in net.runelite.api.coords that return WorldPoint Modifier and Type Method Description WorldPointWorldPoint. dx(int dx)Offsets the x-axis coordinate by the passed value.WorldPointWorldPoint. dy(int dy)Offsets the y-axis coordinate by the passed value.WorldPointWorldPoint. dz(int dz)Offsets the plane by the passed value.static WorldPointWorldPoint. fromCoord(int c)Create a WorldPoint from a packed Jagex coordinatestatic WorldPointWorldPoint. fromLocal(Client client, int x, int y, int plane)Deprecated.static WorldPointWorldPoint. fromLocal(Client client, LocalPoint local)Gets the coordinate of the tile that contains the passed local point.static WorldPointWorldPoint. fromLocal(Scene scene, int x, int y, int plane)Gets the coordinate of the tile that contains the passed local point.static WorldPointWorldPoint. fromLocal(WorldView wv, int x, int y, int plane)Gets the coordinate of the tile that contains the passed local point.static WorldPointWorldPoint. fromLocalInstance(Client client, LocalPoint localPoint)Gets the coordinate of the tile that contains the passed local point, accounting for instances.static WorldPointWorldPoint. fromLocalInstance(Client client, LocalPoint localPoint, int plane)Gets the coordinate of the tile that contains the passed local point, accounting for instances.static WorldPointWorldPoint. fromLocalInstance(Scene scene, LocalPoint localPoint, int plane)Gets the coordinate of the tile that contains the passed local point, accounting for instances.static WorldPointWorldPoint. fromRegion(int regionId, int regionX, int regionY, int plane)Converts the passed region ID and coordinates to a world coordinatestatic WorldPointWorldPoint. fromScene(Client client, int x, int y, int plane)Deprecated.static WorldPointWorldPoint. fromScene(Scene scene, int x, int y, int plane)Converts the passed scene coordinates to a world spacestatic WorldPointWorldPoint. fromScene(WorldView wv, int x, int y, int plane)Converts the passed scene coordinates to a world spacestatic WorldPointWorldPoint. getMirrorPoint(WorldPoint worldPoint, boolean toOverworld)Translate a coordinate either between overworld and real, or real and overworldWorldPointWorldArea. toWorldPoint()Retrieves the southwestern most point of this WorldArea.Methods in net.runelite.api.coords that return types with arguments of type WorldPoint Modifier and Type Method Description static Collection<WorldPoint>WorldPoint. toLocalInstance(Client client, WorldPoint worldPoint)Deprecated.static Collection<WorldPoint>WorldPoint. toLocalInstance(Scene scene, WorldPoint worldPoint)Deprecated.static Collection<WorldPoint>WorldPoint. toLocalInstance(WorldView wv, WorldPoint worldPoint)Get occurrences of a tile on the scene, accounting for instances.List<WorldPoint>WorldArea. toWorldPointList()Accumulates all the WorldPoints that this WorldArea contains and returns them as a listMethods in net.runelite.api.coords with parameters of type WorldPoint Modifier and Type Method Description booleanWorldArea. contains(WorldPoint worldPoint)Checks whether a tile is contained within the area and in the same plane.booleanWorldArea. contains2D(WorldPoint worldPoint)Checks whether a tile is contained within the area while ignoring the plane.intWorldArea. distanceTo(WorldPoint other)Computes the shortest distance to a world coordinate.intWorldPoint. distanceTo(WorldPoint other)Gets the distance between this point and another.intWorldArea. distanceTo2D(WorldPoint other)Computes the shortest distance to a world coordinate.intWorldPoint. distanceTo2D(WorldPoint other)Find the distance from this point to another point.static LocalPointLocalPoint. fromWorld(Client client, WorldPoint point)static LocalPointLocalPoint. fromWorld(WorldView wv, WorldPoint world)Gets the local coordinate at the center of the passed tile.static WorldPointWorldPoint. getMirrorPoint(WorldPoint worldPoint, boolean toOverworld)Translate a coordinate either between overworld and real, or real and overworldbooleanWorldArea. hasLineOfSightTo(WorldView wv, WorldPoint other)Determine if this WorldArea has line of sight to another WorldArea.booleanWorldArea. isInMeleeDistance(WorldPoint other)Checks whether a coordinate is within melee distance of this area.static Collection<WorldPoint>WorldPoint. toLocalInstance(Client client, WorldPoint worldPoint)Deprecated.static Collection<WorldPoint>WorldPoint. toLocalInstance(Scene scene, WorldPoint worldPoint)Deprecated.static Collection<WorldPoint>WorldPoint. toLocalInstance(WorldView wv, WorldPoint worldPoint)Get occurrences of a tile on the scene, accounting for instances.Method parameters in net.runelite.api.coords with type arguments of type WorldPoint Modifier and Type Method Description booleanWorldArea. canTravelInDirection(WorldView wv, int dx, int dy, Predicate<? super WorldPoint> extraCondition)Determines if the area can travel in one of the 9 directions by using the standard collision detection algorithm.Constructors in net.runelite.api.coords with parameters of type WorldPoint Constructor Description WorldArea(WorldPoint location, int width, int height) -
Uses of WorldPoint in net.runelite.api.worldmap
Methods in net.runelite.api.worldmap that return WorldPoint Modifier and Type Method Description WorldPointWorldMapIcon. getCoordinate()Get the coordinate of the map iconMethods in net.runelite.api.worldmap with parameters of type WorldPoint Modifier and Type Method Description voidWorldMap. setWorldMapPositionTarget(WorldPoint worldPoint)Sets the target position of the world map.
-