aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/xmod/gregtech/api/interfaces
diff options
context:
space:
mode:
authorJason Mitchell <mitchej@gmail.com>2023-01-28 19:32:44 -0800
committerJason Mitchell <mitchej@gmail.com>2023-01-28 19:32:44 -0800
commit55f64675b42ac8d3c557cc850f78664bee006f6f (patch)
tree2afd26dd3d5e6f763119bc192b57c66a1a075922 /src/main/java/gtPlusPlus/xmod/gregtech/api/interfaces
parent0f5dfd01b877b6a1019e0671b88d07974aae68c0 (diff)
downloadGT5-Unofficial-55f64675b42ac8d3c557cc850f78664bee006f6f.tar.gz
GT5-Unofficial-55f64675b42ac8d3c557cc850f78664bee006f6f.tar.bz2
GT5-Unofficial-55f64675b42ac8d3c557cc850f78664bee006f6f.zip
[ci skip] spotlessApply with the new settings
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/gregtech/api/interfaces')
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/api/interfaces/GregtechItemContainer.java1
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/api/interfaces/IHeatEntity.java3
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/api/interfaces/IMetaTileEntityHeatPipe.java4
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/api/interfaces/internal/IGregtech_RecipeAdder.java808
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/api/interfaces/internal/Interface_IconContainer.java1
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/api/interfaces/internal/Interface_ItemBehaviour.java45
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/api/interfaces/internal/Interface_OreRecipeRegistrator.java19
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/api/interfaces/internal/Interface_OreRecipeRegistrator_GT.java11
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/api/interfaces/internal/Interface_Texture.java1
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/api/interfaces/internal/Interface_ToolStats.java50
10 files changed, 324 insertions, 619 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/api/interfaces/GregtechItemContainer.java b/src/main/java/gtPlusPlus/xmod/gregtech/api/interfaces/GregtechItemContainer.java
index d49f1e9ed0..9431739c45 100644
--- a/src/main/java/gtPlusPlus/xmod/gregtech/api/interfaces/GregtechItemContainer.java
+++ b/src/main/java/gtPlusPlus/xmod/gregtech/api/interfaces/GregtechItemContainer.java
@@ -5,6 +5,7 @@ import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
public interface GregtechItemContainer {
+
public Item getItem();
public Block getBlock();
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/api/interfaces/IHeatEntity.java b/src/main/java/gtPlusPlus/xmod/gregtech/api/interfaces/IHeatEntity.java
index cf1f137e0d..00265fc893 100644
--- a/src/main/java/gtPlusPlus/xmod/gregtech/api/interfaces/IHeatEntity.java
+++ b/src/main/java/gtPlusPlus/xmod/gregtech/api/interfaces/IHeatEntity.java
@@ -1,8 +1,9 @@
package gtPlusPlus.xmod.gregtech.api.interfaces;
-import ic2.api.energy.tile.IHeatSource;
import net.minecraftforge.common.util.ForgeDirection;
+import ic2.api.energy.tile.IHeatSource;
+
public interface IHeatEntity extends IHeatSource, IHeatSink {
public int getHeatBuffer();
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/api/interfaces/IMetaTileEntityHeatPipe.java b/src/main/java/gtPlusPlus/xmod/gregtech/api/interfaces/IMetaTileEntityHeatPipe.java
index 60477c9f31..cb5d875071 100644
--- a/src/main/java/gtPlusPlus/xmod/gregtech/api/interfaces/IMetaTileEntityHeatPipe.java
+++ b/src/main/java/gtPlusPlus/xmod/gregtech/api/interfaces/IMetaTileEntityHeatPipe.java
@@ -1,9 +1,11 @@
package gtPlusPlus.xmod.gregtech.api.interfaces;
-import gregtech.api.interfaces.metatileentity.IMetaTileEntity;
import java.util.ArrayList;
+
import net.minecraft.tileentity.TileEntity;
+import gregtech.api.interfaces.metatileentity.IMetaTileEntity;
+
public interface IMetaTileEntityHeatPipe extends IMetaTileEntity {
long transferHeat(byte var1, long var2, long var4, ArrayList<TileEntity> var6);
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/api/interfaces/internal/IGregtech_RecipeAdder.java b/src/main/java/gtPlusPlus/xmod/gregtech/api/interfaces/internal/IGregtech_RecipeAdder.java
index 8d1e9d597e..094e151fc8 100644
--- a/src/main/java/gtPlusPlus/xmod/gregtech/api/interfaces/internal/IGregtech_RecipeAdder.java
+++ b/src/main/java/gtPlusPlus/xmod/gregtech/api/interfaces/internal/IGregtech_RecipeAdder.java
@@ -1,61 +1,45 @@
package gtPlusPlus.xmod.gregtech.api.interfaces.internal;
-import gregtech.api.enums.Materials;
-import gtPlusPlus.core.material.Material;
import net.minecraft.item.ItemStack;
import net.minecraftforge.fluids.FluidStack;
+import gregtech.api.enums.Materials;
+import gtPlusPlus.core.material.Material;
+
public interface IGregtech_RecipeAdder {
+
/**
* Adds a Coke Oven Recipe
*
- * @param aInput1 = first Input (not null, and respects StackSize)
- * @param aInputb = second Input (can be null, and respects StackSize)
- * @param aFluidOutput = Output of the Creosote (not null, and respects StackSize)
- * @param aFluidInput = fluid Input (can be null, and respects StackSize)
- * @param aOutput = Output of the Coal/coke (can be null, and respects StackSize)
- * @param aDuration = Duration (must be >= 0)
- * @param aEUt = EU needed for heating up (must be >= 0)
+ * @param aInput1 = first Input (not null, and respects StackSize)
+ * @param aInputb = second Input (can be null, and respects StackSize)
+ * @param aFluidOutput = Output of the Creosote (not null, and respects StackSize)
+ * @param aFluidInput = fluid Input (can be null, and respects StackSize)
+ * @param aOutput = Output of the Coal/coke (can be null, and respects StackSize)
+ * @param aDuration = Duration (must be >= 0)
+ * @param aEUt = EU needed for heating up (must be >= 0)
* @return true if the Recipe got added, otherwise false.
*/
// public boolean addCokeOvenRecipe(boolean aOptimize, ItemStack[] aInputs, ItemStack[] aOutputs, Object aSpecial,
// FluidStack[] aFluidInputs, FluidStack[] aFluidOutputs, int aDuration, int aEUt, int aSpecialValue);
- public boolean addCokeOvenRecipe(
- ItemStack aInput1,
- ItemStack aInput2,
- FluidStack aFluidInput,
- FluidStack aFluidOutput,
- ItemStack aOutput,
- int aDuration,
- int aEUt);
+ public boolean addCokeOvenRecipe(ItemStack aInput1, ItemStack aInput2, FluidStack aFluidInput,
+ FluidStack aFluidOutput, ItemStack aOutput, int aDuration, int aEUt);
- public boolean addCokeOvenRecipe(
- int aCircuit,
- ItemStack aInput2,
- FluidStack[] aFluidInputs,
- FluidStack[] aFluidOutputs,
- ItemStack[] aOutputs,
- int aDuration,
- int aEUt);
+ public boolean addCokeOvenRecipe(int aCircuit, ItemStack aInput2, FluidStack[] aFluidInputs,
+ FluidStack[] aFluidOutputs, ItemStack[] aOutputs, int aDuration, int aEUt);
- public boolean addCokeOvenRecipe(
- ItemStack aInput1,
- ItemStack aInput2,
- FluidStack[] aFluidInputs,
- FluidStack[] aFluidOutputs,
- ItemStack[] aOutputs,
- int aDuration,
- int aEUt);
+ public boolean addCokeOvenRecipe(ItemStack aInput1, ItemStack aInput2, FluidStack[] aFluidInputs,
+ FluidStack[] aFluidOutputs, ItemStack[] aOutputs, int aDuration, int aEUt);
public boolean addFuel(ItemStack aInput1, ItemStack aOutput1, int aEU, int aType);
/**
* Adds a Matter Fabricator Recipe
*
- * @param aFluidOutput = Output of the UU-Matter (not null, and respects StackSize)
- * @param aFluidInput = fluid Input (can be UU_Amp or null, and respects StackSize)
- * @param aDuration = Duration (must be >= 0)
- * @param aEUt = EU needed for heating up (must be >= 0)
+ * @param aFluidOutput = Output of the UU-Matter (not null, and respects StackSize)
+ * @param aFluidInput = fluid Input (can be UU_Amp or null, and respects StackSize)
+ * @param aDuration = Duration (must be >= 0)
+ * @param aEUt = EU needed for heating up (must be >= 0)
* @return true if the Recipe got added, otherwise false.
*/
public boolean addMatterFabricatorRecipe(FluidStack aFluidInput, FluidStack aFluidOutput, int aDuration, int aEUt);
@@ -63,62 +47,62 @@ public interface IGregtech_RecipeAdder {
/**
* Adds a Matter Fabricator Recipe
*
- * @param aItemInput = ItemStack Input, can be null I assume.
- * @param aFluidInput = fluid Input (can be UU_Amp or null, and respects StackSize)
- * @param aFluidOutput = Output of the UU-Matter (not null, and respects StackSize)
- * @param aDuration = Duration (must be >= 0)
- * @param aEUt = EU needed for heating up (must be >= 0)
+ * @param aItemInput = ItemStack Input, can be null I assume.
+ * @param aFluidInput = fluid Input (can be UU_Amp or null, and respects StackSize)
+ * @param aFluidOutput = Output of the UU-Matter (not null, and respects StackSize)
+ * @param aDuration = Duration (must be >= 0)
+ * @param aEUt = EU needed for heating up (must be >= 0)
* @return true if the Recipe got added, otherwise false.
*/
- public boolean addMatterFabricatorRecipe(
- ItemStack aItemInput, FluidStack aFluidInput, FluidStack aFluidOutput, int aDuration, int aEUt);
+ public boolean addMatterFabricatorRecipe(ItemStack aItemInput, FluidStack aFluidInput, FluidStack aFluidOutput,
+ int aDuration, int aEUt);
/**
* Adds a Recipe for the Dehydrator. (up to 9 Outputs)
*
- * @param aInput = Input itemstack (not null, and respects StackSize)
- * @param aFluidInput = fluid Input (can be UU_Amp or null, and respects StackSize)
- * @param aOutputItems = Itemstack[] (not null, and respects StackSize)
- * @param aDuration = Duration (must be >= 0)
- * @param aEUt = EU needed for heating up (must be >= 0)
+ * @param aInput = Input itemstack (not null, and respects StackSize)
+ * @param aFluidInput = fluid Input (can be UU_Amp or null, and respects StackSize)
+ * @param aOutputItems = Itemstack[] (not null, and respects StackSize)
+ * @param aDuration = Duration (must be >= 0)
+ * @param aEUt = EU needed for heating up (must be >= 0)
* @return true if the Recipe got added, otherwise false.
*/
// public boolean addDehydratorRecipe(ItemStack aInput, FluidStack aFluid, ItemStack[] aOutputItems, int aDuration,
// int aEUt);
- /*public boolean addDehydratorRecipe(FluidStack aFluid, FluidStack aOutputFluid, ItemStack[] aOutputItems, int aDuration, int aEUt);*/
- /*public boolean addDehydratorRecipe(ItemStack aItemA, ItemStack aItemB, ItemStack[] aOutputItems, int aDuration, int aEUt);
- public boolean addDehydratorRecipe(ItemStack aItemA, ItemStack aItemB, FluidStack aFluid, ItemStack[] aOutputItems, FluidStack aOutputFluid, int aDuration, int aEUt);*/
+ /*
+ * public boolean addDehydratorRecipe(FluidStack aFluid, FluidStack aOutputFluid, ItemStack[] aOutputItems, int
+ * aDuration, int aEUt);
+ */
+ /*
+ * public boolean addDehydratorRecipe(ItemStack aItemA, ItemStack aItemB, ItemStack[] aOutputItems, int aDuration,
+ * int aEUt); public boolean addDehydratorRecipe(ItemStack aItemA, ItemStack aItemB, FluidStack aFluid, ItemStack[]
+ * aOutputItems, FluidStack aOutputFluid, int aDuration, int aEUt);
+ */
/**
* Adds a Recipe for the Dehydrator. (up to 9 Outputs)
*
- * @param aInput = ItemStack[] (not null, and respects StackSize)
- * @param aFluidInput = fluid Input (can be UU_Amp or null, and respects StackSize)
- * @param aFluidOutput = Output of the UU-Matter (not null, and respects StackSize)
- * @param aOutputItems = ItemStack[] (not null, and respects StackSize)
- * @param aChances = Output Change (can be == 0)
- * @param aDuration = Duration (must be >= 0)
- * @param aEUt = EU needed for heating up (must be >= 0)
+ * @param aInput = ItemStack[] (not null, and respects StackSize)
+ * @param aFluidInput = fluid Input (can be UU_Amp or null, and respects StackSize)
+ * @param aFluidOutput = Output of the UU-Matter (not null, and respects StackSize)
+ * @param aOutputItems = ItemStack[] (not null, and respects StackSize)
+ * @param aChances = Output Change (can be == 0)
+ * @param aDuration = Duration (must be >= 0)
+ * @param aEUt = EU needed for heating up (must be >= 0)
* @return true if the Recipe got added, otherwise false.
*/
- public boolean addDehydratorRecipe(
- ItemStack[] aInput,
- FluidStack aFluidInput,
- FluidStack aFluidOutput,
- ItemStack[] aOutputItems,
- int[] aChances,
- int aDuration,
- int aEUt);
+ public boolean addDehydratorRecipe(ItemStack[] aInput, FluidStack aFluidInput, FluidStack aFluidOutput,
+ ItemStack[] aOutputItems, int[] aChances, int aDuration, int aEUt);
/**
* Adds a Recipe for the Alloy Blast Smelter. (up to 9 Inputs)
*
- * @param aInput = ItemStack[] (not null, and respects StackSize)
- * @param aFluidOutput = Output of the Molten Metal (not null, and respects StackSize)
- * @param aChances = Output Chance (can be == 0)
- * @param aDuration = Duration (must be >= 0)
- * @param aEUt = EU per tick needed for heating up (must be >= 0)
+ * @param aInput = ItemStack[] (not null, and respects StackSize)
+ * @param aFluidOutput = Output of the Molten Metal (not null, and respects StackSize)
+ * @param aChances = Output Chance (can be == 0)
+ * @param aDuration = Duration (must be >= 0)
+ * @param aEUt = EU per tick needed for heating up (must be >= 0)
* @return true if the Recipe got added, otherwise false.
*/
public boolean addBlastSmelterRecipe(ItemStack[] aInput, FluidStack aOutput, int aChance, int aDuration, int aEUt);
@@ -126,183 +110,126 @@ public interface IGregtech_RecipeAdder {
/**
* Adds a Recipe for the Alloy Blast Smelter. (up to 9 Inputs)
*
- * @param aInput = ItemStack[] (not null, and respects StackSize)
- * @param aFluidInput = Input of a fluid (can be null, and respects StackSize)
- * @param aFluidOutput = Output of the Molten Metal (not null, and respects StackSize)
- * @param aChances = Output Chance (can be == 0)
- * @param aDuration = Duration (must be >= 0)
- * @param aEUt = EU per tick needed for heating up (must be >= 0)
+ * @param aInput = ItemStack[] (not null, and respects StackSize)
+ * @param aFluidInput = Input of a fluid (can be null, and respects StackSize)
+ * @param aFluidOutput = Output of the Molten Metal (not null, and respects StackSize)
+ * @param aChances = Output Chance (can be == 0)
+ * @param aDuration = Duration (must be >= 0)
+ * @param aEUt = EU per tick needed for heating up (must be >= 0)
* @return true if the Recipe got added, otherwise false.
*/
- public boolean addBlastSmelterRecipe(
- ItemStack[] aInput, FluidStack aInputFluid, FluidStack aOutput, int aChance, int aDuration, int aEUt);
+ public boolean addBlastSmelterRecipe(ItemStack[] aInput, FluidStack aInputFluid, FluidStack aOutput, int aChance,
+ int aDuration, int aEUt);
/**
* Adds a Recipe for the Alloy Blast Smelter. (up to 9 Inputs, More than 1 Fluids)
*
- * @param aInput = ItemStack[] (not null, and respects StackSize)
- * @param aFluidInput = FluidStack[] (can be null, and respects StackSize)
- * @param aFluidOutput = Output of the Molten Metal (not null, and respects StackSize)
- * @param aChances = Output Chance (can be == 0)
- * @param aDuration = Duration (must be >= 0)
- * @param aEUt = EU per tick needed for heating up (must be >= 0)
+ * @param aInput = ItemStack[] (not null, and respects StackSize)
+ * @param aFluidInput = FluidStack[] (can be null, and respects StackSize)
+ * @param aFluidOutput = Output of the Molten Metal (not null, and respects StackSize)
+ * @param aChances = Output Chance (can be == 0)
+ * @param aDuration = Duration (must be >= 0)
+ * @param aEUt = EU per tick needed for heating up (must be >= 0)
* @return true if the Recipe got added, otherwise false.
*/
- public boolean addBlastSmelterRecipe(
- ItemStack[] aInput, FluidStack[] aInputFluid, FluidStack aOutput, int aChance, int aDuration, int aEUt);
+ public boolean addBlastSmelterRecipe(ItemStack[] aInput, FluidStack[] aInputFluid, FluidStack aOutput, int aChance,
+ int aDuration, int aEUt);
/**
* Adds a Recipe for the Alloy Blast Smelter. (up to 9 Inputs)
*
- * @param aInput = ItemStack[] (not null, and respects StackSize)
- * @param aFluidInput = Input of a fluid (can be null, and respects StackSize)
- * @param aFluidOutput = Output of the Molten Metal (not null, and respects StackSize)
- * @param aOutputStack = Item Output (Can be null)
- * @param aChances = Output Chance (can be == 0)
- * @param aDuration = Duration (must be >= 0)
- * @param aEUt = EU per tick needed for heating up (must be >= 0)
+ * @param aInput = ItemStack[] (not null, and respects StackSize)
+ * @param aFluidInput = Input of a fluid (can be null, and respects StackSize)
+ * @param aFluidOutput = Output of the Molten Metal (not null, and respects StackSize)
+ * @param aOutputStack = Item Output (Can be null)
+ * @param aChances = Output Chance (can be == 0)
+ * @param aDuration = Duration (must be >= 0)
+ * @param aEUt = EU per tick needed for heating up (must be >= 0)
* @return true if the Recipe got added, otherwise false.
*/
- public boolean addBlastSmelterRecipe(
- ItemStack[] aInput,
- FluidStack aInputFluid,
- FluidStack aOutput,
- ItemStack[] aOutputStack,
- int[] aChance,
- int aDuration,
- int aEUt);
+ public boolean addBlastSmelterRecipe(ItemStack[] aInput, FluidStack aInputFluid, FluidStack aOutput,
+ ItemStack[] aOutputStack, int[] aChance, int aDuration, int aEUt);
- public boolean addBlastSmelterRecipe(
- ItemStack[] aInput,
- FluidStack aInputFluid,
- FluidStack aOutput,
- int aChance,
- int aDuration,
- int aEUt,
- int aSpecialValue);
-
- public boolean addBlastSmelterRecipe(
- ItemStack[] aInput,
- FluidStack aInputFluid,
- FluidStack aOutput,
- ItemStack[] aOutputStack,
- int[] aChance,
- int aDuration,
- int aEUt,
- int aSpecialValue,
+ public boolean addBlastSmelterRecipe(ItemStack[] aInput, FluidStack aInputFluid, FluidStack aOutput, int aChance,
+ int aDuration, int aEUt, int aSpecialValue);
+
+ public boolean addBlastSmelterRecipe(ItemStack[] aInput, FluidStack aInputFluid, FluidStack aOutput,
+ ItemStack[] aOutputStack, int[] aChance, int aDuration, int aEUt, int aSpecialValue,
boolean aOptimizeRecipe);
/**
* Adds a Recipe for the Alloy Blast Smelter. (up to 9 Inputs, More than 1 fluids)
*
- * @param aInput = ItemStack[] (not null, and respects StackSize)
- * @param aFluidInput = FluidStack[] (can be null, and respects StackSize)
- * @param aFluidOutput = Output of the Molten Metal (not null, and respects StackSize)
- * @param aOutputStack = Item Output (Can be null)
- * @param aChances = Output Chance (can be == 0)
- * @param aDuration = Duration (must be >= 0)
- * @param aEUt = EU per tick needed for heating up (must be >= 0)
+ * @param aInput = ItemStack[] (not null, and respects StackSize)
+ * @param aFluidInput = FluidStack[] (can be null, and respects StackSize)
+ * @param aFluidOutput = Output of the Molten Metal (not null, and respects StackSize)
+ * @param aOutputStack = Item Output (Can be null)
+ * @param aChances = Output Chance (can be == 0)
+ * @param aDuration = Duration (must be >= 0)
+ * @param aEUt = EU per tick needed for heating up (must be >= 0)
* @return true if the Recipe got added, otherwise false.
*/
- public boolean addBlastSmelterRecipe(
- ItemStack[] aInput,
- FluidStack[] aInputFluid,
- FluidStack aOutput,
- ItemStack[] aOutputStack,
- int[] aChance,
- int aDuration,
- int aEUt);
+ public boolean addBlastSmelterRecipe(ItemStack[] aInput, FluidStack[] aInputFluid, FluidStack aOutput,
+ ItemStack[] aOutputStack, int[] aChance, int aDuration, int aEUt);
- public boolean addBlastSmelterRecipe(
- ItemStack[] aInput,
- FluidStack[] aInputFluid,
- FluidStack aOutput,
- int aChance,
- int aDuration,
- int aEUt,
- int aSpecialValue);
-
- public boolean addBlastSmelterRecipe(
- ItemStack[] aInput,
- FluidStack[] aInputFluid,
- FluidStack aOutput,
- ItemStack[] aOutputStack,
- int[] aChance,
- int aDuration,
- int aEUt,
- int aSpecialValue,
+ public boolean addBlastSmelterRecipe(ItemStack[] aInput, FluidStack[] aInputFluid, FluidStack aOutput, int aChance,
+ int aDuration, int aEUt, int aSpecialValue);
+
+ public boolean addBlastSmelterRecipe(ItemStack[] aInput, FluidStack[] aInputFluid, FluidStack aOutput,
+ ItemStack[] aOutputStack, int[] aChance, int aDuration, int aEUt, int aSpecialValue,
boolean aOptimizeRecipe);
/**
* Adds a Recipe for the LFTRr. (up to 9 Inputs)
*
- * @param aInput = ItemStack[] (not null, and respects StackSize)
+ * @param aInput = ItemStack[] (not null, and respects StackSize)
* @param aFluidInput = Input of a fluid (can be null, and respects StackSize)
- * @param aFluidOutput = Output of the Molten Salts (not null, and respects StackSize)
+ * @param aFluidOutput = Output of the Molten Salts (not null, and respects StackSize)
* @param aOutputStack = Item Output (Can be null)
- * @param aChances = Output Chance (can be == 0)
- * @param aDuration = Duration (must be >= 0)
- * @param aEUt = EU per tick needed for heating up (must be >= 0)
- * @param aSpecialValue = Power produced in EU/t per dynamo
+ * @param aChances = Output Chance (can be == 0)
+ * @param aDuration = Duration (must be >= 0)
+ * @param aEUt = EU per tick needed for heating up (must be >= 0)
+ * @param aSpecialValue = Power produced in EU/t per dynamo
* @return true if the Recipe got added, otherwise false.
*/
- public boolean addBlastSmelterRecipe(
- ItemStack[] aInput,
- FluidStack aInputFluid,
- FluidStack aOutput,
- ItemStack[] aOutputStack,
- int[] aChance,
- int aDuration,
- int aEUt,
- int aSpecialValue);
+ public boolean addBlastSmelterRecipe(ItemStack[] aInput, FluidStack aInputFluid, FluidStack aOutput,
+ ItemStack[] aOutputStack, int[] aChance, int aDuration, int aEUt, int aSpecialValue);
/**
* Adds a Recipe for the Quantum Force Smelter (up to 9 Inputs)
*
*
**/
- public boolean addQuantumTransformerRecipe(
- ItemStack[] aInput,
- FluidStack[] aFluidInput,
- FluidStack[] aFluidOutput,
- ItemStack[] aOutputStack,
- int[] aChances,
- int aDuration,
- int aEUt,
- int aSpecialValue);
-
- /** Adds a Recipe for the LFTRr. (up to 9 Inputs, More than 1 fluids)
+ public boolean addQuantumTransformerRecipe(ItemStack[] aInput, FluidStack[] aFluidInput, FluidStack[] aFluidOutput,
+ ItemStack[] aOutputStack, int[] aChances, int aDuration, int aEUt, int aSpecialValue);
+
+ /**
+ * Adds a Recipe for the LFTRr. (up to 9 Inputs, More than 1 fluids)
*
- * @param aInput = ItemStack[] (not null, and respects StackSize)
+ * @param aInput = ItemStack[] (not null, and respects StackSize)
* @param aFluidInput = FluidStack[] (can be null, and respects StackSize)
- * @param aFluidOutput = Output of the Molten Salts (not null, and respects StackSize)
+ * @param aFluidOutput = Output of the Molten Salts (not null, and respects StackSize)
* @param aOutputStack = Item Output (Can be null)
- * @param aChances = Output Chance (can be == 0)
- * @param aDuration = Duration (must be >= 0)
- * @param aEUt = EU per tick needed for heating up (must be >= 0)
- * @param aSpecialValue = Power produced in EU/t per dynamo
+ * @param aChances = Output Chance (can be == 0)
+ * @param aDuration = Duration (must be >= 0)
+ * @param aEUt = EU per tick needed for heating up (must be >= 0)
+ * @param aSpecialValue = Power produced in EU/t per dynamo
* @return true if the Recipe got added, otherwise false.
*/
- public boolean addBlastSmelterRecipe(
- ItemStack[] aInput,
- FluidStack[] aInputFluid,
- FluidStack aOutput,
- ItemStack[] aOutputStack,
- int[] aChance,
- int aDuration,
- int aEUt,
- int aSpecialValue);
+ public boolean addBlastSmelterRecipe(ItemStack[] aInput, FluidStack[] aInputFluid, FluidStack aOutput,
+ ItemStack[] aOutputStack, int[] aChance, int aDuration, int aEUt, int aSpecialValue);
public boolean addLFTRRecipe(ItemStack aInput1, ItemStack aInput2, ItemStack aOutput1, int aDuration, int aEUt);
- public boolean addLFTRRecipe(
- ItemStack aInput1, FluidStack aInput2, ItemStack aOutput1, FluidStack aOutput2, int aDuration, int aEUt);
+ public boolean addLFTRRecipe(ItemStack aInput1, FluidStack aInput2, ItemStack aOutput1, FluidStack aOutput2,
+ int aDuration, int aEUt);
public boolean addLFTRRecipe(FluidStack aInput1, FluidStack aInput2, FluidStack aOutput1, int aDuration, int aEUt);
/**
* Adds a custom Semifluid fuel for the GT++ SemiFluid Generators.
- * @param aFuelItem - A Fluidstack to be consumed.
+ *
+ * @param aFuelItem - A Fluidstack to be consumed.
* @param aFuelValue - Fuel value in thousands (1 = 1000)
* @return - Was the Fuel added?
*/
@@ -310,135 +237,62 @@ public interface IGregtech_RecipeAdder {
/**
* Adds a custom Semifluid fuel for the GT++ SemiFluid Generators.
- * @param aFuelItem - A Fluidstack to be consumed.
+ *
+ * @param aFuelItem - A Fluidstack to be consumed.
* @param aFuelValue - Fuel value in thousands (1 = 1000)
* @return - Was the Fuel added?
*/
public boolean addSemifluidFuel(ItemStack aFuelItem, int aFuelValue);
- public boolean addFissionFuel(
- FluidStack aInput1,
- FluidStack aInput2,
- FluidStack aInput3,
- FluidStack aInput4,
- FluidStack aInput5,
- FluidStack aInput6,
- FluidStack aInput7,
- FluidStack aInput8,
- FluidStack aInput9,
- FluidStack aOutput1,
- FluidStack aOutput2,
- int aDuration,
- int aEUt);
+ public boolean addFissionFuel(FluidStack aInput1, FluidStack aInput2, FluidStack aInput3, FluidStack aInput4,
+ FluidStack aInput5, FluidStack aInput6, FluidStack aInput7, FluidStack aInput8, FluidStack aInput9,
+ FluidStack aOutput1, FluidStack aOutput2, int aDuration, int aEUt);
- public boolean addFissionFuel(
- boolean aOptimise,
- FluidStack aInput1,
- FluidStack aInput2,
- FluidStack aInput3,
- FluidStack aInput4,
- FluidStack aInput5,
- FluidStack aInput6,
- FluidStack aInput7,
- FluidStack aInput8,
- FluidStack aInput9,
- FluidStack aOutput1,
- FluidStack aOutput2,
- int aDuration,
- int aEUt);
+ public boolean addFissionFuel(boolean aOptimise, FluidStack aInput1, FluidStack aInput2, FluidStack aInput3,
+ FluidStack aInput4, FluidStack aInput5, FluidStack aInput6, FluidStack aInput7, FluidStack aInput8,
+ FluidStack aInput9, FluidStack aOutput1, FluidStack aOutput2, int aDuration, int aEUt);
- public boolean addCyclotronRecipe(
- ItemStack aInput,
- FluidStack aFluidInput,
- ItemStack[] aOutputs,
- FluidStack aFluidOutput,
- int[] aChances,
- int aDuration,
- int aEUt,
- int aSpecialValue);
-
- boolean addCyclotronRecipe(
- ItemStack[] aInputs,
- FluidStack aFluidInput,
- ItemStack[] aOutput,
- FluidStack aFluidOutput,
- int[] aChances,
- int aDuration,
- int aEUt,
- int aSpecialValue);
-
- public boolean addMixerRecipe(
- ItemStack aInput1,
- ItemStack aInput2,
- ItemStack aInput3,
- ItemStack aInput4,
- FluidStack aFluidInput,
- FluidStack aFluidOutput,
- ItemStack aOutput1,
- ItemStack aOutput2,
- ItemStack aOutput3,
- ItemStack aOutput4,
- int aDuration,
- int aEUt);
+ public boolean addCyclotronRecipe(ItemStack aInput, FluidStack aFluidInput, ItemStack[] aOutputs,
+ FluidStack aFluidOutput, int[] aChances, int aDuration, int aEUt, int aSpecialValue);
+
+ boolean addCyclotronRecipe(ItemStack[] aInputs, FluidStack aFluidInput, ItemStack[] aOutput,
+ FluidStack aFluidOutput, int[] aChances, int aDuration, int aEUt, int aSpecialValue);
+
+ public boolean addMixerRecipe(ItemStack aInput1, ItemStack aInput2, ItemStack aInput3, ItemStack aInput4,
+ FluidStack aFluidInput, FluidStack aFluidOutput, ItemStack aOutput1, ItemStack aOutput2, ItemStack aOutput3,
+ ItemStack aOutput4, int aDuration, int aEUt);
/**
* Adds a Recipe for the Machine Component Assembler. (up to 6 Inputs)
*
- * @param aInputs = ItemStack[] (not null, and respects StackSize)
- * @param aFluidInput = Input of a fluid (can be null, and respects StackSize)
- * @param aOutput1 = Output ItemStack (not null, and respects StackSize)
- * @param aDuration = Duration (must be >= 0)
- * @param aEUt = EU per tick needed for heating up (must be >= 0)
+ * @param aInputs = ItemStack[] (not null, and respects StackSize)
+ * @param aFluidInput = Input of a fluid (can be null, and respects StackSize)
+ * @param aOutput1 = Output ItemStack (not null, and respects StackSize)
+ * @param aDuration = Duration (must be >= 0)
+ * @param aEUt = EU per tick needed for heating up (must be >= 0)
* @return true if the Recipe got added, otherwise false.
*/
- public boolean addComponentMakerRecipe(
- ItemStack[] aInputs, FluidStack aFluidInput, ItemStack aOutput1, int aDuration, int aEUt);
-
- public boolean addMultiblockCentrifugeRecipe(
- ItemStack[] aInputs,
- FluidStack[] aFluidInputs,
- FluidStack[] aFluidOutputs,
- ItemStack[] aOutputs,
- int[] aChances,
- int aDuration,
- int aEUtick,
- int aSpecial);
-
- public boolean addMultiblockElectrolyzerRecipe(
- ItemStack[] aInputs,
- FluidStack[] aFluidInputs,
- FluidStack[] aFluidOutputs,
- ItemStack[] aOutputs,
- int[] aChances,
- int aDuration,
- int aEUtick,
- int aSpecial);
-
- public boolean addAdvancedFreezerRecipe(
- ItemStack[] aInputs,
- FluidStack[] aFluidInputs,
- FluidStack[] aFluidOutputs,
- ItemStack[] aOutputs,
- int[] aChances,
- int aDuration,
- int aEUtick,
- int aSpecial);
-
- public boolean addAssemblerRecipeWithOreDict(
- Object aInput1, int aAmount1, Object aInput2, int aAmount2, ItemStack aOutput, int a1, int a2);
-
- public boolean addAssemblerRecipeWithOreDict(
- Object aInput1,
- int aAmount1,
- Object aInput2,
- int aAmount2,
- FluidStack aInputFluid,
- ItemStack aOutput,
- int a1,
- int a2);
-
- public boolean addSixSlotAssemblingRecipe(
- ItemStack[] aInputs, FluidStack aInputFluid, ItemStack aOutput1, int aDuration, int aEUt);
+ public boolean addComponentMakerRecipe(ItemStack[] aInputs, FluidStack aFluidInput, ItemStack aOutput1,
+ int aDuration, int aEUt);
+
+ public boolean addMultiblockCentrifugeRecipe(ItemStack[] aInputs, FluidStack[] aFluidInputs,
+ FluidStack[] aFluidOutputs, ItemStack[] aOutputs, int[] aChances, int aDuration, int aEUtick, int aSpecial);
+
+ public boolean addMultiblockElectrolyzerRecipe(ItemStack[] aInputs, FluidStack[] aFluidInputs,
+ FluidStack[] aFluidOutputs, ItemStack[] aOutputs, int[] aChances, int aDuration, int aEUtick, int aSpecial);
+
+ public boolean addAdvancedFreezerRecipe(ItemStack[] aInputs, FluidStack[] aFluidInputs, FluidStack[] aFluidOutputs,
+ ItemStack[] aOutputs, int[] aChances, int aDuration, int aEUtick, int aSpecial);
+
+ public boolean addAssemblerRecipeWithOreDict(Object aInput1, int aAmount1, Object aInput2, int aAmount2,
+ ItemStack aOutput, int a1, int a2);
+
+ public boolean addAssemblerRecipeWithOreDict(Object aInput1, int aAmount1, Object aInput2, int aAmount2,
+ FluidStack aInputFluid, ItemStack aOutput, int a1, int a2);
+
+ public boolean addSixSlotAssemblingRecipe(ItemStack[] aInputs, FluidStack aInputFluid, ItemStack aOutput1,
+ int aDuration, int aEUt);
+
/**
* Adds an Assemblyline Recipe
*
@@ -448,291 +302,157 @@ public interface IGregtech_RecipeAdder {
* @param aDuration must be > 0
* @param aEUt should be > 0
*/
- public boolean addAssemblylineRecipe(
- ItemStack aResearchItem,
- int aResearchTime,
- ItemStack[] aInputs,
- FluidStack[] aFluidInputs,
- ItemStack aOutput,
- int aDuration,
- int aEUt);
+ public boolean addAssemblylineRecipe(ItemStack aResearchItem, int aResearchTime, ItemStack[] aInputs,
+ FluidStack[] aFluidInputs, ItemStack aOutput, int aDuration, int aEUt);
/**
* Adds a Assemblyline Recipe
*
- * @param aInputs elements should be: ItemStack for single item;
- * ItemStack[] for multiple equivalent items;
+ * @param aInputs elements should be: ItemStack for single item; ItemStack[] for multiple equivalent items;
* {OreDict, amount} for oredict.
*/
- boolean addAssemblylineRecipe(
- ItemStack aResearchItem,
- int aResearchTime,
- Object[] aInputs,
- FluidStack[] aFluidInputs,
- ItemStack aOutput1,
- int aDuration,
- int aEUt);
+ boolean addAssemblylineRecipe(ItemStack aResearchItem, int aResearchTime, Object[] aInputs,
+ FluidStack[] aFluidInputs, ItemStack aOutput1, int aDuration, int aEUt);
+
+ public boolean addChemicalRecipe(ItemStack input1, ItemStack input2, FluidStack inputFluid, FluidStack outputFluid,
+ ItemStack output, int time, int eu);
+
+ public boolean addChemicalRecipe(ItemStack input1, ItemStack input2, FluidStack inputFluid, FluidStack outputFluid,
+ ItemStack output, Object object, int time, int eu);
+
+ public boolean addChemicalRecipe(ItemStack input1, ItemStack input2, FluidStack inputFluid, FluidStack outputFluid,
+ ItemStack output, ItemStack object, int time);
- public boolean addChemicalRecipe(
- ItemStack input1,
- ItemStack input2,
- FluidStack inputFluid,
-