Awakening Recipes

Mystical Agriculture allows you to easily add your own Awakening recipes using Datapacks.

Datapacks

Prerequisites
  • You can learn more about using vanilla datapacks here.
  • You can learn more about creating recipe JSON files here.

The Recipe File

This section will go over the values available to use in an Awakening recipe. Syntax can be inferred from the example JSON below.

FieldRequiredDescription
typeThe recipe type must be mysticalagriculture:awakening.
inputThe item that will be placed on the Awakening Altar.
essencesAn array of 1-4 items that will be placed in the Essence Vessels.
ingredientsAn array of 1-4 items that will be placed on the Awakening Pedestals.
resultThe item that this recipe will output once finished.

Example File

{
  "type": "mysticalagriculture:awakening",
  "essences": [
    {
      "ingredient": "mysticalagriculture:diamond_essence",
      "count": 20
    },
    {
      "ingredient": "minecraft:carrot",
      "count": 40
    },
    {
      "ingredient": "minecraft:cobblestone",
      "count": 10
    },
    {
      "ingredient": "mysticalagriculture:supremium_essence",
      "count": 15
    }
  ],
  "input": "minecraft:apple",
  "ingredients": [
    "minecraft:carrot",
    "minecraft:carrot",
    "minecraft:carrot",
    "minecraft:carrot"
  ],
  "result": {
    "id": "minecraft:potato"
  }
}

Essence Vessel Colors

By default, the 4 elemental essences have colors assigned. To set the colors for any additional items you plan on using, you can create a datapack containing an mysticalagriculture/essence_vessel_colors.json file.

This file is a single JSON object where the keys are the item IDs and the values are hex color codes. Below is the essence_vessel_colors.json included in the mod by default.

{
  "mysticalagriculture:air_essence": "#DAD64D",
  "mysticalagriculture:earth_essence": "#54DA4D",
  "mysticalagriculture:water_essence": "#4D7EDA",
  "mysticalagriculture:fire_essence": "#DA4D4D"
}