recipe.yml

Here is an example of the crafting recipe additions so far:

# recipe.yml
recipes:
  crafting_shaped123: # 3x3 recipe
    name: "test1"
    namespace: "coreextensions" # Namespace
    id: "crafting_shaped_test" # Recipe ID
    types: "crafting_shaped" # Type: Shaped Crafting
    properties:
      result: "minecraft:bedrock" # Output item
      count: 1 # Crafting output count
      category: "MISC" # Crafting category (BUILDING_BLOCKS, DECORATIONS, REDSTONE, TRANSPORTATION, TOOLS, COMBAT, FOOD, BREWING, MISC)
      pattern: #Shape Setting
        topRowPattern:    " A "
        middleRowPattern: " B "
        bottomRowPattern: " C "
      key:
        A: "minecraft:diamond_block"
        B: "minecraft:diamond_block"
        C: "minecraft:diamond_block"
        D: "minecraft:air"
        E: "minecraft:air"
        F: "minecraft:air"
        G: "minecraft:air"
        H: "minecraft:air"
        I: "minecraft:air"
  crafting_shaped1232: # 2x2 recipe
    name: "test1"
    namespace: "coreextensions"
    id: "crafting_shaped_test2"
    types: "crafting_shaped"
    properties:
      result: "minecraft:bedrock"
      count: 1
      category: "MISC"
      pattern:
        SizeX: 2
        SizeY: 2
      key:
        A: "minecraft:diamond_block"
        B: "minecraft:diamond_block"
        C: "minecraft:air"
        D: "minecraft:diamond_block"
        E: "minecraft:diamond_block"
        F: "minecraft:air"
        G: "minecraft:air"
        H: "minecraft:air"
        I: "minecraft:air"
  crafting_shapeless123:
    name: "test2"
    namespace: "coreextensions"
    id: "crafting_shapeless_test"
    types: "crafting_shapeless" # Shapeless crafting
    properties:
      result: "minecraft:bedrock"
      count: 4
      category: "MISC"
      key:
        A: "minecraft:bedrock"
        B: "minecraft:bedrock"
        C: "minecraft:bedrock"
        D: "minecraft:air"
        E: "minecraft:air"
        F: "minecraft:air"
        G: "minecraft:air"
        H: "minecraft:air"
        I: "minecraft:air"
  smelting123:
    name: "test2"
    namespace: "coreextensions"
    id: "smelting_test"
    types: "smelting" # Smelting (optional types: smelting, smoking, blasting)
    properties:
      input: "minecraft:diamond_block" # Input item
      result: "minecraft:bedrock" # Output item
      experience: 1.5 # Experience
      cookingTime: 100 # Cooking time
      category: "MISC"
      key:
        placetitle: null #Not adding this key will crash the game
  trimRecipe123:
    name: "test2"
    namespace: "coreextensions"
    id: "trimrecipe_test"
    types: "trim" # Smithing Table (cannot craft)
    properties:
      category: "MISC"
      key:
        template: "minecraft:diamond" # Smithing template
        base: "minecraft:bedrock" # Base
        addition: "minecraft:gold_ingot" # Addition
  transformRecipe123:
    name: "test2"
    namespace: "coreextensions"
    id: "transform_test"
    types: "transform" # Smithing Table Transformation (craftable)
    properties:
      category: "MISC"
      result: "minecraft:command_block"
      key:
        template: "minecraft:diamond"
        base: "minecraft:bedrock"
        addition: "minecraft:gold_ingot"

Last updated