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

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

{
  "type": "mysticalagriculture:awakening",
  "essences": [
    {
      "id": "mysticalagriculture:diamond_essence",
      "count": 20
    },
    {
      "id": "minecraft:carrot",
      "count": 40
    },
    {
      "id": "minecraft:cobblestone",
      "count": 10
    },
    {
      "id": "mysticalagriculture:supremium_essence",
      "count": 15
    }
  ],
  "input": {
    "item": "minecraft:apple"
  },
  "ingredients": [
    {
      "item": "minecraft:carrot"
    },
    {
      "item": "minecraft:carrot"
    },
    {
      "item": "minecraft:carrot"
    },
    {
      "item": "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 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"
}

CraftTweaker

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

Recipe Manager Support

CraftTweaker integration supports Recipe Managers! Access all applicable methods using <recipetype:mysticalagriculture:awakening>!

Adding A Recipe

<recipetype:mysticalagriculture:awakening>.addRecipe(name, <output>, <input>, [<inputs>], [<essence>, <essence>, <essence>, <essence>]);
FieldRequiredDescription
nameA unique name for this recipe. Must be all lower case and have no spaces.
outputThe output item for this recipe.
inputThe item that will be placed on the Awakening Altar.
inputsAn array of 1-4 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

<recipetype:mysticalagriculture:awakening>.addRecipe("test", <item:minecraft:stick> * 10, <item:minecraft:diamond>,
  [<tag:item:c: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]
);

Removing Recipes

<recipetype:mysticalagriculture:awakening>.remove(<output>);
FieldRequiredDescription
outputThe item to remove all recipes for.