Result recipe

Recipe to craft any item with any ingredient, it's useful if you want to add multiple crafting recipes for the current custom item

result_recipe:
  enabled: true
  pattern:
    - XXX
    - XPX
    - DKD
  ingredients:
    P: philosopher_stone
    K: knife
    D: diamond
  result: # the result item
      item: DIRT
      amount: 1 #amount of resulting item
      damage_value: 0 #amount of damage (green bar under item when damaged)
  return_items: #gives some items back when crafting without consuming them 
                #(like water bucket in vanilla Minecraft)
    play_sound: knife #plays a sound on craft
    reduce_durability: #reduces durability of an item in the crafting table
                       #and doesn't consume it on crafting
                       #(must be a tool or sword to lose durability)
      knife: 1 #<item name or material>: <amount>
    increment_durability:  #increments durability of an item in the crafting table
                           #and doesn't consume it on crafting
                           #(must be a tool or sword to get durability)
      philosopher_stone: 1 #<item name or material>: <amount>
    replace: #replaces an item in the crafting table and doesn't consume it on craft
        DIAMOND: crystal #<old item name or material>: <new item name or material>

#you can create multiple rules for result_recipe
#you just have to make the rule start with "result_recipe"

result_recipe_2:
  #...
result_recipe_3:
  #...
result_recipe_...:
  #...

Last updated