Difference between revisions of "Mods:BuildCraft Support"

From MineTweaker 3
Jump to: navigation, search
Line 1: Line 1:
NOTE: BuildCraft 6.1 is not yet supported!
+
== Handlers Supported ==
  
This mod support is currently being documented.
+
The following handlers are supported:
 +
* Assembly Table
 +
* Combustion Engine
 +
* Integration Table
 +
* Refinery
  
Meanwhile, have some example code, as usage should be fairly straightforward from this:
+
Each of these handlers can have recipes added or removed:
  
  import mods.buildcraft.AssemblyTable;
+
  Parameters marked as <span style="color:red">red</span> are optional and can be left out
import mods.buildcraft.IntegrationTable;
+
import mods.buildcraft.Fuels;
+
import mods.buildcraft.Refinery;
+
 
   
 
   
  AssemblyTable.addRecipe(<minecraft:lever>, 1000, [<minecraft:cobblestone>, <minecraft:stick>]);
+
  //Assembly Table Recipes
  AssemblyTable.remove(<BuildCraft|Silicon:redstoneChipset>);
+
//OutputStack, InputRF, InputArray
  AssemblyTable.removeRecipe(<*>, [<minecraft:redstone>], true);
+
mods.buildcraft.AssemblyTable.addRecipe(<BuildCraft|Transport:pipePlug>, 5000, [<minecraft:gravel>, <minecraft:cobblestone> * 2, <minecraft:glass>]);
 +
  //OutputStack, <span style="color:red">InputArray</span>, <span style="color:red">isWildcard</span>
 +
  mods.buildcraft.AssemblyTable.removeRecipe(<BuildCraft|Silicon:redstoneChipset>, [<minecraft:redstone>], false);
 
   
 
   
  IntegrationTable.addRecipe(<minecraft:lever>, 1000, <minecraft:cobblestone>, <minecraft:stick>);
+
  //Combustion Engine Recipes
  IntegrationTable.removeRecipe(<*>, <*>, <BuildCraft|Silicon:redstoneChipset:4>);
+
//InputFluid, OutputRF per Cycle, BurningTime in Ticks
 +
mods.buildcraft.Fuels.addCombustionEngineFuel(<liquid:lava>, 5000, 200);
 +
//InputFluid
 +
mods.buildcraft.Fuels.removeCombustionEngineFuel(<liquid:fuel);
 +
//InputFluid, OutputCooling by mB
 +
mods.buildcraft.Fuels.addCombustionEngineCoolant(<liquid:oil>, 100);
 +
//InputStack, OutputFluid
 +
mods.buildcraft.Fuels.addCoolantItem(<minecraft:ice>, <liquid:water> * 1000);
 +
  //InputStack, OutputFluid, Multiplier
 +
mods.buildcraft.Fuels.addCoolantItemWithMultiplier(<minecraft:packed_ice>, <liquid:water> * 4000, 2);
 +
//InputFluid
 +
mods.buildcraft.Fuels.removeCombustionEngineCoolant(<liquid:water);
 +
//InputStack
 +
mods.buildcraft.Fuels.removeCoolantItem(<minecraft:water_bucket>);
 
   
 
   
  Fuels.removeCombustionEngineFuel(<liquid:fuel>);
+
  //Integration Table Recipes
  Fuels.addCombustionEngineFuel(<liquid:coal>, 1, 1000);
+
  //W.I.P
 
   
 
   
  Fuels.addCombustionEngineCoolant(<liquid:fuel>, 10);
+
  //Refinery Recipes
  Fuels.removeCombustionEngineCoolant(<liquid:water>);
+
  //OutputFluid, RF per mB, Ticks per mB, InputFluid1, <span style="color:red">InputFluid2</span>
+
  mods.buildcraft.Refinery.addRecipe(<liquid:oil> * 2, 25, 25, <liquid:water>, <liquid:lava>);
  Refinery.addRecipe(<liquid:lava>, 1, 1, <liquid:water>, <liquid:oil>);
+
  //OutputFluid
  Refinery.remove(<liquid:fuel>);
+
mods.buildcraft.Refinery.removeRecipe(<liquid:fuel);

Revision as of 21:41, 31 August 2015

Handlers Supported

The following handlers are supported:

  • Assembly Table
  • Combustion Engine
  • Integration Table
  • Refinery

Each of these handlers can have recipes added or removed:

Parameters marked as red are optional and can be left out

//Assembly Table Recipes
//OutputStack, InputRF, InputArray
mods.buildcraft.AssemblyTable.addRecipe(<BuildCraft|Transport:pipePlug>, 5000, [<minecraft:gravel>, <minecraft:cobblestone> * 2, <minecraft:glass>]);
//OutputStack, InputArray, isWildcard
mods.buildcraft.AssemblyTable.removeRecipe(<BuildCraft|Silicon:redstoneChipset>, [<minecraft:redstone>], false);

//Combustion Engine Recipes
//InputFluid, OutputRF per Cycle, BurningTime in Ticks
mods.buildcraft.Fuels.addCombustionEngineFuel(<liquid:lava>, 5000, 200);
//InputFluid
mods.buildcraft.Fuels.removeCombustionEngineFuel(<liquid:fuel);
//InputFluid, OutputCooling by mB
mods.buildcraft.Fuels.addCombustionEngineCoolant(<liquid:oil>, 100);
//InputStack, OutputFluid
mods.buildcraft.Fuels.addCoolantItem(<minecraft:ice>, <liquid:water> * 1000);
//InputStack, OutputFluid, Multiplier
mods.buildcraft.Fuels.addCoolantItemWithMultiplier(<minecraft:packed_ice>, <liquid:water> * 4000, 2);
//InputFluid
mods.buildcraft.Fuels.removeCombustionEngineCoolant(<liquid:water);
//InputStack
mods.buildcraft.Fuels.removeCoolantItem(<minecraft:water_bucket>);

//Integration Table Recipes
//W.I.P

//Refinery Recipes
//OutputFluid, RF per mB, Ticks per mB, InputFluid1, InputFluid2
mods.buildcraft.Refinery.addRecipe(<liquid:oil> * 2, 25, 25, <liquid:water>, <liquid:lava>);
//OutputFluid
mods.buildcraft.Refinery.removeRecipe(<liquid:fuel);