ServerEvents.recipes(event => {

      // Removes everything first
  event.remove({ type: "create_mechanical_extruder:extruding" });

  // Adds custom recipes.
  event.custom({
    "type": "create_mechanical_extruder:extruding",
    "catalyst": {
      "blocks": "minecraft:deepslate"
    },
    "blockIngredients": {
      "first": {
        "blocks": "minecraft:lava"
      },
      "second": {
        "blocks": "minecraft:water"
      }
    },

    "result": {
      "id": "minecraft:tuff"
    },
    "requiredBonks": 2,
    "advanced": true,
  });

  // Next recipe.
  event.custom({
    "type": "create_mechanical_extruder:extruding",
    "blockIngredients": {
      "first": {
        "blocks": "minecraft:water"
      },
      "second": {
        "blocks": "minecraft:magma_block"
      }
    },

    "result": {
      "id": "minecraft:cobbled_deepslate"
    },
  });

  // Next recipe.
  event.custom({
    "type": "create_mechanical_extruder:extruding",
    "blockIngredients": {
      "first": {
        "blocks": "minecraft:smooth_sandstone"
      },
      "second": {
        "blocks": "minecraft:netherrack"
      }
    },
    //The item with chance
    "result": {
      "id": "minecraft:end_stone",
      "chance": 0.25
    },
    "requirements": [
      {
        "value": 32.0,
        "type": "mechanicals:max_speed"
      },
    ],
    "requiredBonks": 100,
    "advanced": true,
    "consumeBlocks": {
      "first": true,
      "second": true
    }
  });

  // Next recipe.
  event.custom({
    "type": "create_mechanical_extruder:extruding",
    "blockIngredients": {
      "first": {
        "blocks": "aeronautics:levitite_blend"
      },
      "second": {
        "blocks": "minecraft:end_stone_bricks"
      }
    },
    "requirements": [
      {
        "value": 128.0,
        "type": "mechanicals:max_speed"
      },
    ],
    "result": {
      "id": "minecraft:end_stone"
    },
    "advanced": true,
  });





//THIS IS THE LAST LINE.
});