> For the complete documentation index, see [llms.txt](https://gyzer.gitbook.io/legendarycook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gyzer.gitbook.io/legendarycook/product-guides/configurations/gui-configurations/cookrecipesmenu.yml.md).

# CookRecipesMenu.yml

{% hint style="info" %}
This interface has specific functions:&#x20;

* recipe: This button will automatically load as a cooking recipe when loaded&#x20;
* close: Click to close the menu&#x20;
* back: Click to return to the previous menu&#x20;
* previous: Click to open the previous page&#x20;
* next: Click to open the next page&#x20;
* none: No effect will occur after clicking, used for decoration (self added)
  {% endhint %}

```
gui:
  title: '%pot% &0- %category%'
  layout:
    - '#########'
    - '##bbbbb##'
    - '##bbbbb##'
    - '##bbbbb##'
    - '###←x→###'
    - '#########'
  recipe-item-format:
    has-recipe:
      display: '%recipe%'
      lore:
        - '%lore%'
        - '&f '
        - '%placeholder-level%'
        - '%placeholder-recipe-exp%'
        - '%placeholder-details%'
        - ' '
        - '%placeholder-state%'
        - '&a>Right-Click &fto preview the result'
    no-recipe:
      display: '...'
      lore: []
  placeholder:
    recipe-exp: '&bRecipe Experience: &a%recipe-exp%'
    level: '&bCooking Level: &a%level%'
    state:
      no-permission: '&f[ &cUnable to cook this recipe &f]'
      locked: '&f[ &cLocked &f]'
      unlock: '&a>Left-Click &fto cooking'
  Items:
    'b':
      material: BLACK_STAINED_GLASS_PANE
      data: 15
      #When the function is recipe, display will not take effect, so there is no need to configure it here
      display: ''
      #When the function is recipe, lore will not take effect, so there is no need to configure it here
      lore: []
      #button function
      #recipe: For cooking recipes, this button will be loaded as a cooking recipe when the GUI is opened
      #back: Back previous menu
      #close: Close inventory
      #previous：For the previous page
      #next：For the next page
      #none: After clicking, there will be no effect, for decorative purposes
      function:
        type: recipe
    'x':
      material: REDSTONE
      display: '&cBack'
      lore: []
      function:
        type: back
    '←':
      material: ARROW
      display: '&fPrevious Page'
      lore: []
      function:
        type: previous
    '→':
      material: ARROW
      display: '&fNext Page'
      lore: []
      function:
        type: next
```
