Skip to content

Recipe XML

Ruben Taelman edited this page Oct 3, 2019 · 4 revisions

Note: The Recipe XML system has been deprecated since Minecraft 1.14 in favor of Vanilla recipe JSON files

From the moment this mod is loaded, a folder everlastingabilities will be created in the configuration folder. You can place any *.xml inside this folder. You can choose your own folder hierarchy inside this folder, so everlastingabilities/folder1/folder2/recipes.xml will also be loaded.

This is an example of an xml file containing a recipe for crafting a Speed 3 Ability Totem using 3 ender pearls:

<?xml version="1.0" encoding="utf-8"?>
<recipes>
    <recipe type="shaped">
        <input>
            <grid>
                <gridrow>
                    <item>minecraft:ender_pearl</item>
                    <item>minecraft:ender_pearl</item>
                    <item>minecraft:ender_pearl</item>
                </gridrow>
            </grid>
        </input>
        <output>
            <item type="predefined">everlastingabilities:abilityTotem_speed_3</item>
        </output>
    </recipe>
</recipes>

You can refer to ability totems like this: everlastingabilities:abilityTotem_[abilityname]_[level]. Levels start counting from 1.

Feel free to open an issue or contact the developers if you require more information about this.

Clone this wiki locally