Mods:BuildCraft Support

From MineTweaker 3
Revision as of 19:49, 19 October 2014 by Stan (Talk)

Jump to: navigation, search

NOTE: BuildCraft 6.1 is not yet supported!

This mod support is currently being documented.

Meanwhile, have some example code, as usage should be fairly straightforward from this:

import mods.buildcraft.AssemblyTable;
import mods.buildcraft.IntegrationTable;
import mods.buildcraft.Fuels;
import mods.buildcraft.Refinery;

AssemblyTable.addRecipe(<minecraft:lever>, 1000, [<minecraft:cobblestone>, <minecraft:stick>]);
AssemblyTable.remove(<BuildCraft|Silicon:redstoneChipset>);
AssemblyTable.removeRecipe(<*>, [<minecraft:redstone>], true);

IntegrationTable.addRecipe(<minecraft:lever>, 1000, <minecraft:cobblestone>, <minecraft:stick>);
IntegrationTable.removeRecipe(<*>, <*>, <BuildCraft|Silicon:redstoneChipset:4>);

Fuels.removeCombustionEngineFuel(<liquid:fuel>);
Fuels.addCombustionEngineFuel(<liquid:coal>, 1, 1000);

Fuels.addCombustionEngineCoolant(<liquid:fuel>, 10);
Fuels.removeCombustionEngineCoolant(<liquid:water>);

Refinery.addRecipe(<liquid:lava>, 1, 1, <liquid:water>, <liquid:oil>);
Refinery.remove(<liquid:fuel>);