Class House
- java.lang.Object
-
- com.runemate.game.api.hybrid.local.House
-
public final class House extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
House.Location
static class
House.Options
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LocatableEntityQueryResults<GameObject>
getAltars()
Gets a list of altars within the current housestatic House.Location
getCurrent()
static LocatableEntityQueryResults<GameObject>
getLecterns()
Gets a list of all lecternsstatic LocatableEntityQueryResults<GameObject>
getMountedGlories()
Gets the amulet of glory that is mounted on the wallstatic LocatableEntityQueryResults<GameObject>
getPortals()
Gets the enterance/exit portal inside the current housestatic Npc
getServant()
Gets your current servantstatic boolean
isInside()
Checks whether your local player is currently inside a house
-
-
-
Method Detail
-
getCurrent
public static House.Location getCurrent()
-
isInside
public static boolean isInside()
Checks whether your local player is currently inside a house- Returns:
- if you're inside
-
getServant
public static Npc getServant()
Gets your current servant- Returns:
- an Npc or null if not available
-
getPortals
public static LocatableEntityQueryResults<GameObject> getPortals()
Gets the enterance/exit portal inside the current house- Returns:
- a portal object
-
getAltars
public static LocatableEntityQueryResults<GameObject> getAltars()
Gets a list of altars within the current house- Returns:
- a list of altars
-
getMountedGlories
public static LocatableEntityQueryResults<GameObject> getMountedGlories()
Gets the amulet of glory that is mounted on the wall- Returns:
- a game object
-
getLecterns
public static LocatableEntityQueryResults<GameObject> getLecterns()
Gets a list of all lecterns- Returns:
- a query results
-
-