Cucumber
Extended Crafting
Iron Jetpacks
Mystical Agriculture
Awakening Recipes
Mystical Agriculture allows you easily add your own Awakening Crafting recipes using both Datapacks and CraftTweaker.
Datapacks
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.
Field | Required | Description |
---|---|---|
type | ✓ | The recipe type must be mysticalagriculture:awakening . |
input | ✓ | The item that will be placed on the Awakening Altar. |
essences | ✓ | An array of 1-4 items that will be placed in the Essence Vessels. |
ingredients | ✓ | An array of 1-4 items that will be placed on the Awakening Pedestals. |
result | ✓ | The 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.
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>]);
Field | Required | Description |
---|---|---|
name | ✓ | A unique name for this recipe. Must be all lower case and have no spaces. |
output | ✓ | The output item for this recipe. |
input | ✓ | The item that will be placed on the Awakening Altar. |
inputs | ✓ | An array of 1-4 items. The first item is the item that goes on the Awakening Altar, and the rest go on the pedestals. |
essences | ✓ | An 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>);
Field | Required | Description |
---|---|---|
output | ✓ | The item to remove all recipes for. |