Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
# - gt_canner : Canning Machine Recipe
# - gt_chemical : Chemical Recipe
# - gt_cutter : Cutter Recipe
# - gt_fluidCanner : Fluid Canner Recipe
# - gt_formingPress : Forming Press Recipe
# - gt_lathe : Lathe Machine Recipe
# - gt_laserEngraver: Laser Engraver Recipe
Expand Down
19 changes: 0 additions & 19 deletions src/main/scala/li/cil/oc/integration/gregtech/RecipeHandler.scala
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ object RecipeHandler {
Recipes.registerRecipeHandler("gt_canner", addGTCannerRecipe)
Recipes.registerRecipeHandler("gt_chemical", addGTChemicalRecipe)
Recipes.registerRecipeHandler("gt_cutter", addGTCutterRecipe)
Recipes.registerRecipeHandler("gt_fluidCanner", addGTFluidCannerRecipe)
Recipes.registerRecipeHandler("gt_formingPress", addGTFormingPressRecipe)
Recipes.registerRecipeHandler("gt_lathe", addGTLatheRecipe)
Recipes.registerRecipeHandler("gt_laserEngraver", addGTLaserEngraverRecipe)
Expand Down Expand Up @@ -162,24 +161,6 @@ object RecipeHandler {
}
}

def addGTFluidCannerRecipe(output: ItemStack, recipe: Config) {
val (primaryInputs, _, fluidInput, fluidOutput, _, eu, duration) = parseRecipe(output, recipe)
for (primaryInput <- primaryInputs) {
var recipe = GTValues.RA.stdBuilder().itemInputs(primaryInput)
fluidInput match {
case Some(fluidStack) =>
recipe = recipe.fluidInputs(fluidStack)
case _ =>
}
fluidOutput match {
case Some(fluidStack) =>
recipe = recipe.fluidOutputs(fluidStack)
case _ =>
}
recipe.itemOutputs(output).duration(duration).eut(eu).addTo(RecipeMaps.fluidCannerRecipes)
}
}

def addGTFormingPressRecipe(output: ItemStack, recipe: Config) {
val (primaryInputs, secondaryInputs, _, _, _, eu, duration) = parseRecipe(output, recipe)
secondaryInputs match {
Expand Down