CookRecipesMenu.yml

This interface has specific functions:

  • recipe: This button will automatically load as a cooking recipe when loaded

  • close: Click to close the menu

  • back: Click to return to the previous menu

  • previous: Click to open the previous page

  • next: Click to open the next page

  • none: No effect will occur after clicking, used for decoration (self added)

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

Last updated