Awakening Recipes

Mystical Agriculture allows you easily add your own Awakening Crafting recipes using both Datapacks and CraftTweaker.

Datapacks

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

The Recipe File (v7.0.0+)

This section will go over the values available to use in an Awakening Crafting 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 (v7.0.0+)

{
  "type": "mysticalagriculture:awakening",
  "input": {
    "item": "minecraft:apple"
  },
  "essences": [
    {
      "item": "mysticalagriculture:air_essence",
      "count": 40
    },
    {
      "item": "mysticalagriculture:earth_essence",
      "count": 40
    },
    {
      "item": "mysticalagriculture:water_essence",
      "count": 40
    },
    {
      "item": "mysticalagriculture:fire_essence",
      "count": 40
    }
  ],
  "ingredients": [
    {
      "item": "minecraft:carrot"
    },
    {
      "item": "minecraft:carrot"
    },
    {
      "item": "minecraft:carrot"
    },
    {
      "item": "minecraft:carrot"
    }
  ],
  "result": {
    "item": "minecraft:potato"
  }
}

Essence Vessel Colors (v7.0.0+)

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 resource pack containing an 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"
}

The Recipe File (v6.0.0+)

This section will go over the values available to use in an Awakening Crafting 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 object containing the amount of Elemental Essences required in each Essence Vessel.
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 (v6.0.0+)

{
  "type": "mysticalagriculture:awakening",
  "input": {
    "item": "minecraft:apple"
  },
  "essences": {
    "air": 40,
    "earth": 40,
    "water": 40,
    "fire": 40
  },
  "ingredients": [
    {
      "item": "minecraft:carrot"
    },
    {
      "item": "minecraft:carrot"
    },
    {
      "item": "minecraft:carrot"
    },
    {
      "item": "minecraft:carrot"
    }
  ],
  "result": {
    "item": "minecraft:potato"
  }
}

CraftTweaker

As of version 6.0.4, Mystical Agriculture allows you easily add your own Awakening Crafting recipes using CraftTweaker. Here's how you do it.

Recipe Manager Support

As of version 7.0.4, CraftTweaker integration now supports Recipe Managers! Access all applicable methods using <recipetype:mysticalagriculture:awakening>!

Adding A Recipe (v7.0.0+)

mods.mysticalagriculture.AwakeningCrafting.addRecipe(name, <output>, [inputs], [essences]);
FieldRequiredDescription
nameA unique name for this recipe. Must be all lower case and have no spaces.
outputThe output item for this recipe.
inputsAn array of 1-5 items. The first item is the item that goes on the Awakening Altar, and the rest go on the pedestals.
essencesAn array of 4 items. These are the items that go into the Essence Vessels. These items can have a max count of 40 and cannot be tags.

Example (7.0.0+)

mods.mysticalagriculture.AwakeningCrafting.addRecipe("test", <item:minecraft:stick> * 10,
  [<item:minecraft:diamond>, <tag:forge:ingots/iron>, <item:minecraft:stick>],
  [<item:mysticalagriculture:air_essence> * 10, <item:mysticalagriculture:earth_essence> * 20, <item:mysticalagriculture:water_essence> * 30, <item:mysticalagriculture:fire_essence> * 40]
);

Adding A Recipe (v6.0.0+)

mods.mysticalagriculture.AwakeningCrafting.addRecipe(name, <output>, [inputs], [essences]);
FieldRequiredDescription
nameA unique name for this recipe. Must be all lower case and have no spaces.
outputThe output item for this recipe.
inputsAn array of 1-5 items. The first item is the item that goes on the Awakening Altar, and the rest go on the pedestals.
essencesAn array of 4 numbers representing the amount of each Elemental Essence is required. In order they are Earth, Air, Water, then Fire.

Example (v6.0.0+)

mods.mysticalagriculture.AwakeningCrafting.addRecipe("test", <item:minecraft:stick> * 10, [<item:minecraft:diamond>, <tag:forge:ingots/iron>, <item:minecraft:stick>], [10, 20, 30, 40]);

Removing Recipes

mods.mysticalagriculture.AwakeningCrafting.remove(<output>);
FieldRequiredDescription
outputThe item to remove all recipes for.