aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/loaders/oreprocessing/ProcessingPlank.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/gregtech/loaders/oreprocessing/ProcessingPlank.java')
-rw-r--r--src/main/java/gregtech/loaders/oreprocessing/ProcessingPlank.java176
1 files changed, 88 insertions, 88 deletions
diff --git a/src/main/java/gregtech/loaders/oreprocessing/ProcessingPlank.java b/src/main/java/gregtech/loaders/oreprocessing/ProcessingPlank.java
index 921491237a..e36eed66ab 100644
--- a/src/main/java/gregtech/loaders/oreprocessing/ProcessingPlank.java
+++ b/src/main/java/gregtech/loaders/oreprocessing/ProcessingPlank.java
@@ -20,91 +20,91 @@ public class ProcessingPlank implements gregtech.api.interfaces.IOreRecipeRegist
@Override
public void registerOre(OrePrefixes aPrefix, Materials aMaterial, String aOreDictName, String aModName,
- ItemStack aStack) {
+ ItemStack aStack) {
if (aOreDictName.startsWith("plankWood")) {
GT_Values.RA.addLatheRecipe(
- GT_Utility.copyAmount(1L, aStack),
- GT_OreDictUnificator.get(OrePrefixes.stick, Materials.Wood, 2L),
- null,
- 10,
- 8);
+ GT_Utility.copyAmount(1L, aStack),
+ GT_OreDictUnificator.get(OrePrefixes.stick, Materials.Wood, 2L),
+ null,
+ 10,
+ 8);
GT_Values.RA.addCNCRecipe(
- GT_Utility.copyAmount(4L, aStack),
- GT_OreDictUnificator.get(OrePrefixes.gearGt, Materials.Wood, 1L),
- 800,
- 1);
+ GT_Utility.copyAmount(4L, aStack),
+ GT_OreDictUnificator.get(OrePrefixes.gearGt, Materials.Wood, 1L),
+ 800,
+ 1);
GT_Values.RA.addAssemblerRecipe(
- GT_Utility.copyAmount(8L, aStack),
- GT_OreDictUnificator.get(OrePrefixes.dust, Materials.Redstone, 1L),
- new ItemStack(Blocks.noteblock, 1),
- 200,
- 4);
+ GT_Utility.copyAmount(8L, aStack),
+ GT_OreDictUnificator.get(OrePrefixes.dust, Materials.Redstone, 1L),
+ new ItemStack(Blocks.noteblock, 1),
+ 200,
+ 4);
GT_Values.RA.addAssemblerRecipe(
- GT_Utility.copyAmount(8L, aStack),
- GT_OreDictUnificator.get(OrePrefixes.gem, Materials.Diamond, 1L),
- new ItemStack(Blocks.jukebox, 1),
- 400,
- 4);
+ GT_Utility.copyAmount(8L, aStack),
+ GT_OreDictUnificator.get(OrePrefixes.gem, Materials.Diamond, 1L),
+ new ItemStack(Blocks.jukebox, 1),
+ 400,
+ 4);
GT_Values.RA.addAssemblerRecipe(
- GT_Utility.copyAmount(1L, aStack),
- GT_OreDictUnificator.get(OrePrefixes.screw, Materials.Iron, 1L),
- ItemList.Crate_Empty.get(1L),
- 200,
- 1);
+ GT_Utility.copyAmount(1L, aStack),
+ GT_OreDictUnificator.get(OrePrefixes.screw, Materials.Iron, 1L),
+ ItemList.Crate_Empty.get(1L),
+ 200,
+ 1);
GT_Values.RA.addAssemblerRecipe(
- GT_Utility.copyAmount(1L, aStack),
- GT_OreDictUnificator.get(OrePrefixes.screw, Materials.WroughtIron, 1L),
- ItemList.Crate_Empty.get(1L),
- 200,
- 1);
+ GT_Utility.copyAmount(1L, aStack),
+ GT_OreDictUnificator.get(OrePrefixes.screw, Materials.WroughtIron, 1L),
+ ItemList.Crate_Empty.get(1L),
+ 200,
+ 1);
GT_Values.RA.addAssemblerRecipe(
- GT_Utility.copyAmount(1L, aStack),
- GT_OreDictUnificator.get(OrePrefixes.screw, Materials.Steel, 1L),
- ItemList.Crate_Empty.get(1L),
- 200,
- 1);
+ GT_Utility.copyAmount(1L, aStack),
+ GT_OreDictUnificator.get(OrePrefixes.screw, Materials.Steel, 1L),
+ ItemList.Crate_Empty.get(1L),
+ 200,
+ 1);
GT_Values.RA.addAssemblerRecipe(
- GT_Utility.copyAmount(1L, aStack),
- ItemList.Circuit_Integrated.getWithDamage(0L, 1L),
- new ItemStack(Blocks.wooden_button, 1),
- 100,
- 4);
+ GT_Utility.copyAmount(1L, aStack),
+ ItemList.Circuit_Integrated.getWithDamage(0L, 1L),
+ new ItemStack(Blocks.wooden_button, 1),
+ 100,
+ 4);
GT_Values.RA.addAssemblerRecipe(
- GT_Utility.copyAmount(2L, aStack),
- ItemList.Circuit_Integrated.getWithDamage(0L, 2L),
- new ItemStack(Blocks.wooden_pressure_plate, 1),
- 200,
- 4);
+ GT_Utility.copyAmount(2L, aStack),
+ ItemList.Circuit_Integrated.getWithDamage(0L, 2L),
+ new ItemStack(Blocks.wooden_pressure_plate, 1),
+ 200,
+ 4);
GT_Values.RA.addAssemblerRecipe(
- GT_Utility.copyAmount(3L, aStack),
- ItemList.Circuit_Integrated.getWithDamage(0L, 3L),
- new ItemStack(Blocks.trapdoor, 1),
- 300,
- 4);
+ GT_Utility.copyAmount(3L, aStack),
+ ItemList.Circuit_Integrated.getWithDamage(0L, 3L),
+ new ItemStack(Blocks.trapdoor, 1),
+ 300,
+ 4);
GT_Values.RA.addAssemblerRecipe(
- GT_Utility.copyAmount(4L, aStack),
- ItemList.Circuit_Integrated.getWithDamage(0L, 4L),
- new ItemStack(Blocks.crafting_table, 1),
- 400,
- 4);
+ GT_Utility.copyAmount(4L, aStack),
+ ItemList.Circuit_Integrated.getWithDamage(0L, 4L),
+ new ItemStack(Blocks.crafting_table, 1),
+ 400,
+ 4);
GT_Values.RA.addAssemblerRecipe(
- GT_Utility.copyAmount(6L, aStack),
- ItemList.Circuit_Integrated.getWithDamage(0L, 6L),
- new ItemStack(Items.wooden_door, 1),
- 600,
- 4);
+ GT_Utility.copyAmount(6L, aStack),
+ ItemList.Circuit_Integrated.getWithDamage(0L, 6L),
+ new ItemStack(Items.wooden_door, 1),
+ 600,
+ 4);
GT_Values.RA.addAssemblerRecipe(
- GT_Utility.copyAmount(8L, aStack),
- ItemList.Circuit_Integrated.getWithDamage(0L, 8L),
- new ItemStack(Blocks.chest, 1),
- 800,
- 4);
+ GT_Utility.copyAmount(8L, aStack),
+ ItemList.Circuit_Integrated.getWithDamage(0L, 8L),
+ new ItemStack(Blocks.chest, 1),
+ 800,
+ 4);
GT_Values.RA.addAssemblerRecipe(
- GT_Utility.copyAmount(6L, aStack),
- new ItemStack(Items.book, 3),
- new ItemStack(Blocks.bookshelf, 1),
- 400,
- 4);
+ GT_Utility.copyAmount(6L, aStack),
+ new ItemStack(Items.book, 3),
+ new ItemStack(Blocks.bookshelf, 1),
+ 400,
+ 4);
if (aStack.getItemDamage() == 32767) {
for (byte i = 0; i < 64; i = (byte) (i + 1)) {
@@ -113,35 +113,35 @@ public class ProcessingPlank implements gregtech.api.interfaces.IOreRecipeRegist
ItemStack tOutput = GT_ModHandler.getRecipeOutput(tStack, tStack, tStack);
if ((tOutput != null) && (tOutput.stackSize >= 3)) {
GT_Values.RA.addCutterRecipe(
- GT_Utility.copyAmount(1L, tStack),
- GT_Utility.copyAmount(tOutput.stackSize / 3, tOutput),
- null,
- 25,
- 4);
+ GT_Utility.copyAmount(1L, tStack),
+ GT_Utility.copyAmount(tOutput.stackSize / 3, tOutput),
+ null,
+ 25,
+ 4);
GT_ModHandler.removeRecipeDelayed(tStack, tStack, tStack);
GT_ModHandler.addCraftingRecipe(
- GT_Utility.copyAmount(tOutput.stackSize / 3, tOutput),
- GT_ModHandler.RecipeBits.BUFFERED,
- new Object[] { "sP", 'P', tStack });
+ GT_Utility.copyAmount(tOutput.stackSize / 3, tOutput),
+ GT_ModHandler.RecipeBits.BUFFERED,
+ new Object[] { "sP", 'P', tStack });
}
if ((tStack == null) && (i >= 16)) break;
}
} else {
ItemStack tOutput = !aModName.equalsIgnoreCase("thaumcraft")
- ? GT_ModHandler.getRecipeOutput(aStack, aStack, aStack)
- : GT_ModHandler.getRecipeOutputNoOreDict(aStack, aStack, aStack);
+ ? GT_ModHandler.getRecipeOutput(aStack, aStack, aStack)
+ : GT_ModHandler.getRecipeOutputNoOreDict(aStack, aStack, aStack);
if ((tOutput != null) && (tOutput.stackSize >= 3)) {
GT_Values.RA.addCutterRecipe(
- GT_Utility.copyAmount(1L, aStack),
- GT_Utility.copyAmount(tOutput.stackSize / 3, tOutput),
- null,
- 25,
- 4);
+ GT_Utility.copyAmount(1L, aStack),
+ GT_Utility.copyAmount(tOutput.stackSize / 3, tOutput),
+ null,
+ 25,
+ 4);
GT_ModHandler.removeRecipeDelayed(aStack, aStack, aStack);
GT_ModHandler.addCraftingRecipe(
- GT_Utility.copyAmount(tOutput.stackSize / 3, tOutput),
- GT_ModHandler.RecipeBits.BUFFERED,
- new Object[] { "sP", 'P', aStack });
+ GT_Utility.copyAmount(tOutput.stackSize / 3, tOutput),
+ GT_ModHandler.RecipeBits.BUFFERED,
+ new Object[] { "sP", 'P', aStack });
}
}
}