Difference between revisions of "ModTweaker:Factorization Support"

From MineTweaker 3
Jump to: navigation, search
Line 12: Line 12:
 
  //OutputStack
 
  //OutputStack
 
  mods.factorization.Crystallizer.removeRecipe(<factorization:ore/crystal:2>);
 
  mods.factorization.Crystallizer.removeRecipe(<factorization:ore/crystal:2>);
 
+
 
  //Lacerator
 
  //Lacerator
 
  //InputStack, OutputStack, Probability (Chances are decimals, 1 = 100%)
 
  //InputStack, OutputStack, Probability (Chances are decimals, 1 = 100%)

Revision as of 15:49, 24 January 2015

Handlers Supported

The following handlers are supported:

  • Crystallizer
  • Lacerator
  • Slag Furnace

Each of these handlers can have recipes added or removed:

//Crystallizer
//InputStack, OutputStack, SolutionStack, OutputCount
mods.factorization.Crystallizer.addRecipe(<minecraft:dirt>, <minecraft:log>, <minecraft:sapling>, 2.5);
//OutputStack
mods.factorization.Crystallizer.removeRecipe(<factorization:ore/crystal:2>);

//Lacerator
//InputStack, OutputStack, Probability (Chances are decimals, 1 = 100%)
mods.factorization.Lacerator.addRecipe(<minecraft:stone>, <minecraft:gravel>, 5.55);
//OutputStack
mods.factorization.Lacerator.removeRecipe(<minecraft:gravel>);

//Slag Furnace
//InputStack, OutputStack1, Chance1, OutputStack2, Chance2 (Chances are decimals, 1 = 100%)
mods.factorization.SlagFurnace.addRecipe(<minecraft:furnace:*>, <minecraft:iron_ingot>, 1, <minecraft:gold_ingot>, 2.225);
//InputStack
mods.factorization.SlagFurnace.removeRecipe(<minecraft:gold_ore>);