Skip to content

Custom Fluid Converter Recipe (MC 1.8)

Enver Bral edited this page Feb 3, 2016 · 1 revision

By default, this mod allows you to enable/disable a default recipe for every fluid converter by setting the hasDefaultRecipe property, see the config format page for more information about this.

Should the default recipe however not satisfy your needs, we also supply support for custom recipes through Cyclops' Recipe XML system (more info here).

When Fluid Converters is launched for the first time, it should add a file custom_recipes.xml in config/fluidconverters which contains an example similar to the following recipe:

<recipe type="shaped">
  <input>
    <grid>
      <gridrow>
        <item>minecraft:ender_pearl</item>
        <item>minecraft:ender_pearl</item>
        <item>minecraft:ender_pearl</item>
      </gridrow>
      <gridrow>
        <item>minecraft:ender_pearl</item>
        <item>minecraft:redstone</item>
        <item>minecraft:ender_pearl</item>
      </gridrow>
      <gridrow>
        <item>minecraft:ender_pearl</item>
        <item>minecraft:ender_pearl</item>
        <item>minecraft:ender_pearl</item>
      </gridrow>
    </grid>
  </input>
  <output>
    <item type="predefined">fluidconverters:fluidconverter_lava_water</item>
  </output>
</recipe>

This example adds a recipe that allows you to craft a Fluid Converter for the fluid group with id lava_water by surrounding a piece of redstone by 8 ender pearls.

If you wanted to create a recipe for a fluid converter for a fluid group with id some_other_fluid_group, you would simply replace the output element by:

<output>
  <item type="predefined">fluidconverters:fluidconverter_some_other_fluid_group</item>
</output>

Note that recipes can be defined in any other xml file, so long as it is somewhere in config/fluidconverters. Also note that all recipes inside these files will be loaded, independent of the fact that they output a fluid converter or not.

Clone this wiki locally