Module gomint.api

Interface BlockDoor

    • Method Detail

      • isTop

        boolean isTop()
        Is the door part top or bottom?
        Returns:
        true when its the top part, false when not
      • isOpen

        boolean isOpen()
        Is the door open or closed?
        Returns:
        true when the door is open, false when not
      • toggle

        void toggle()
        Open or close a door. The target state depends on the isOpen() state