Mystical Agriculture allows you easily add your own Soul Extraction recipes using both Datapacks and CraftTweaker.
Prerequisites- You can learn more about using vanilla datapacks here.
- You can learn more about creating recipe JSON files here.
This section will go over the values available to use in a Soul Extraction recipe. Syntax can be inferred from the example JSON below.
Field | Required | Description |
---|
type | ✓ | The recipe type must be mysticalagriculture:soul_extraction . |
input | ✓ | The item that will be placed in the input slot. |
output | ✓ | The souls granted from this item. |
{
"type": "mysticalagriculture:soul_extraction",
"input": {
"item": "minecraft:blaze_rod"
},
"output": {
"type": "mysticalagriculture:blaze",
"souls": 0.5
}
}
Mystical Agriculture allows you easily add your own Soul Extraction recipes using CraftTweaker.
mods.mysticalagriculture.SoulExtractorCrafting.addRecipe(name, <output>, <input>);
Field | Required | Description |
---|
name | ✓ | A unique name for this recipe. Must be all lower case and have no spaces. |
input | ✓ | The item that is required to make the output. |
type | ✓ | The id of the resulting mob soul type. |
souls | ✓ | The amount of the resulting mob soul type. |
mods.mysticalagriculture.SoulExtractorCrafting.addRecipe("test", <tag:forge:ingots/iron>, "mysticalagriculture:spider", 0.5);
mods.mysticalagriculture.SoulExtractorCrafting.remove(<output>);
Field | Required | Description |
---|
output | ✓ | The item to remove all recipes for. |
mods.mysticalagriculture.SoulExtractorCrafting.remove("type");
Field | Required | Description |
---|
type | ✓ | The mob soul type to remove all recipes for. |