Class House.Options

  • Enclosing class:
    House

    public static class House.Options
    extends java.lang.Object
    • Constructor Detail

      • Options

        public Options()
    • Method Detail

      • isTabOpened

        @OSRSOnly
        public static boolean isTabOpened()
        Gets whether or not the house options tab is currently opened.
        Returns:
        true if the tab is opened, otherwise false.
      • openTab

        @OSRSOnly
        public static boolean openTab()
        Opens the house options tab and the options tab, if necessary.
        Returns:
        true if the tab is opened or is already open, otherwise false.
      • closeTab

        @OSRSOnly
        public static boolean closeTab()
      • isTeleportInsideOn

        public static boolean isTeleportInsideOn()
        Gets whether or not the teleport inside option is turned on.
        Returns:
        true if teleport inside is turned on, otherwise false.
      • isDefaultBuildingModeEnabled

        public static boolean isDefaultBuildingModeEnabled()
        Gets whether or not the default building mode option is enabled.
        Returns:
        true if default building mode is enabled, otherwise false.
      • isRenderDoorsOpenOn

        public static boolean isRenderDoorsOpenOn()
        Gets whether or not the render doors open option is turned on.
        Returns:
        true if render doors open is turned on, otherwise false.
      • isRenderDoorsClosedOn

        @OSRSOnly
        public static boolean isRenderDoorsClosedOn()
        Gets whether or not the render doors closed option is turned on.
        Returns:
        true if render doors closed is turned on, otherwise false.
      • isDoNotRenderDoorsOn

        @OSRSOnly
        public static boolean isDoNotRenderDoorsOn()
        Gets whether or not the do not render doors option is turned on.
        Returns:
        true if do not render doors is turned on, otherwise false.
      • isBuildingModeOn

        public static boolean isBuildingModeOn()
        Gets whether or not the building mode option is turned on.
        Returns:
        true if building mode is turned on, otherwise false.
      • setRenderDoorsOpen

        @OSRSOnly
        @Deprecated
        public static boolean setRenderDoorsOpen​(boolean on)
        Deprecated.
        Sets the render doors open option to the value of on or off
        Parameters:
        on - whether to turn the option on or off
        Returns:
        true if the render doors open option is turned to the value of on or if it was already at the value of on.
      • setRenderDoorsOpen

        @OSRSOnly
        public static boolean setRenderDoorsOpen()
      • setRenderDoorsClosed

        @OSRSOnly
        public static boolean setRenderDoorsClosed()
      • setDoNotRenderDoors

        @OSRSOnly
        public static boolean setDoNotRenderDoors()
      • setBuildingMode

        @OSRSOnly
        public static boolean setBuildingMode​(boolean on)
        Sets the building mode option to the value of on
        Parameters:
        on - whether to turn the option on or off
        Returns:
        true if the building mode option is turned to the value of on or if it was already at the value of on.
      • setTeleportInside

        @OSRSOnly
        public static boolean setTeleportInside​(boolean on)
        Sets the teleport inside option to the value of on
        Parameters:
        on - whether to turn the option on or off
        Returns:
        true if the teleport inside option is turned to the value of on or if it was already at the value of on.
      • setDefaultBuildingMode

        @OSRSOnly
        public static boolean setDefaultBuildingMode​(boolean enabled)
        Sets the default building mode option to the value of enabled
        Parameters:
        enabled - whether to turn the option on or off
        Returns:
        true if the default building mode is turned to the value of on or if it was already at the value of on.
      • expelGuests

        public static boolean expelGuests()
        Clicks the expel guests button.
        Returns:
        true if the button to expel guests was successfully clicked, otherwise false.
      • leaveHouse

        public static boolean leaveHouse()
        Clicks the leave house button.
        Returns:
        true if the button to leave the house was successfully clicked, otherwise false.
      • callServant

        public static boolean callServant()
        Clicks the call servant button.
        Returns:
        true if the button to call your servant was successfully clicked, otherwise false.