Package | Description |
---|---|
simple.hooks.interfaces | |
simple.hooks.queries | |
simple.hooks.simplebot | |
simple.hooks.wrappers |
Modifier and Type | Interface and Description |
---|---|
interface |
SimpleActor
Created by Seth on Nov 4, 2019 at 6:40:44 PM.
|
interface |
SimpleInteractable
Created by Seth on Nov 4, 2019 at 6:49:17 PM.
|
Modifier and Type | Method and Description |
---|---|
default int |
SimpleLocatable.distanceTo(SimpleLocatable to)
Distance to object {to}
|
default boolean |
SimpleLocatable.withinRange(SimpleLocatable to,
int range)
If object is within {range} of {to}
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleEntityQuery<K extends SimpleActionable & SimpleIdentifiable & SimpleNamable & SimpleLocatable> |
class |
SimplePlayerQuery<K extends SimpleActionable & SimpleNamable & SimpleLocatable> |
Modifier and Type | Method and Description |
---|---|
SimplePlayerQuery<K> |
SimplePlayerQuery.filter(SimpleLocatable... locatables)
Will filter out all items whose location doesn't match any of the locatable objects in the {locatables} array
|
SimpleEntityQuery<K> |
SimpleEntityQuery.filter(SimpleLocatable... locatables)
Will filter out all items whose location doesn't match any of the locatable objects in the {locatables} array
|
SimplePlayerQuery<K> |
SimplePlayerQuery.nearest(SimpleLocatable locatable)
Will sort the query by closest distance to the location of said {locatable} object
|
SimpleEntityQuery<K> |
SimpleEntityQuery.nearest(SimpleLocatable locatable)
Will sort the query by closest distance to the location of said {locatable} object
|
Modifier and Type | Method and Description |
---|---|
double |
Pathing.collisionDistance(SimpleLocatable locatable)
Will return the collision collisionDistance to said locatable from players location
|
int |
Pathing.collisionDistance(SimpleLocatable locatable1,
SimpleLocatable locatable2) |
boolean |
Pathing.onTile(SimpleLocatable locatable) |
boolean |
Pathing.reachable(SimpleLocatable locatable)
will return {true} if the specified tile is not blocked and will return {false} if it is.
|
boolean |
Pathing.reachable(SimpleLocatable locatable1,
SimpleLocatable locatable2)
will return whether or not point1 can reach point2
|
boolean |
Viewport.turnTo(SimpleLocatable locatable) |
Modifier and Type | Class and Description |
---|---|
class |
SimpleGroundItem |
class |
SimpleLocalPlayer |
class |
SimpleNpc |
class |
SimpleObject |
class |
SimplePlayer |