Recipes

Structure
recipe:
  permission: "baseraiders.craft.random"
  shape:
    - "III"
    - "ISI"
    - "III"
  ingredients:
    I:
      item: "IRON_INGOT"
      amount: 1
    S:
      item: "Items/Currency/scrap.yml"
      amount: 1
  placeholder-item: "Items/Currency/scrap.yml"
  result:
    pool:
      1:
        item: "Items/Currency/scrap.yml"
        amount: 1
        weight: 1
        execute:
          - "[SOUND] ui.button.click 1 1"
          - "[MESSAGE] <red>The iron discombobulated!"
      2:
        item: "Items/Protections/basic-protection.yml"
        amount: 1
        weight: 1
        execute:
          - "[SOUND] ui.button.click 1 1"
          - "[MESSAGE] <green>Crafted a protection!"
  • permission - Permission to craft

  • shape - Shape of the recipe

  • ingredients - Ingredients of the recipe, used in shape

  • placeholder-item - Item to display when preparing the craft (visual only)

  • result.pool - Item pool - a random item will be chosen from here to be the result of the craft

Last updated