aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/interfaces
diff options
context:
space:
mode:
authorGlease <4586901+Glease@users.noreply.github.com>2022-12-24 04:12:36 +0800
committerGitHub <noreply@github.com>2022-12-23 21:12:36 +0100
commitd8a737faaba655253666b343c052ea2ce61221ca (patch)
tree781d5cd83a9bd204e096c83fcaeb5a61040e276c /src/main/java/gregtech/api/interfaces
parentd0d00ccb75318793c0fcd0a05c60affb403bfa96 (diff)
downloadGT5-Unofficial-d8a737faaba655253666b343c052ea2ce61221ca.tar.gz
GT5-Unofficial-d8a737faaba655253666b343c052ea2ce61221ca.tar.bz2
GT5-Unofficial-d8a737faaba655253666b343c052ea2ce61221ca.zip
add NEI handler for ic2 fuel rods (#1580)
* add NEI handler for ic2 fuel rods Signed-off-by: Glease <4586901+Glease@users.noreply.github.com> * fix typo Signed-off-by: Glease <4586901+Glease@users.noreply.github.com> * rename variable to cover up the original intention Signed-off-by: Glease <4586901+Glease@users.noreply.github.com> Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
Diffstat (limited to 'src/main/java/gregtech/api/interfaces')
-rw-r--r--src/main/java/gregtech/api/interfaces/internal/IGT_RecipeAdder.java29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/main/java/gregtech/api/interfaces/internal/IGT_RecipeAdder.java b/src/main/java/gregtech/api/interfaces/internal/IGT_RecipeAdder.java
index 2dd5ab9fa0..bcb5cc5402 100644
--- a/src/main/java/gregtech/api/interfaces/internal/IGT_RecipeAdder.java
+++ b/src/main/java/gregtech/api/interfaces/internal/IGT_RecipeAdder.java
@@ -1,5 +1,6 @@
package gregtech.api.interfaces.internal;
+import gregtech.api.util.GT_Recipe;
import net.minecraft.item.ItemStack;
import net.minecraftforge.fluids.Fluid;
import net.minecraftforge.fluids.FluidStack;
@@ -1323,4 +1324,32 @@ public interface IGT_RecipeAdder {
int aDuration,
int aEUt,
int aSpecialValue);
+
+ /**
+ * Add a breeder cell.
+ * @param input raw stack. should be undamaged.
+ * @param output breed output
+ * @param heatMultiplier bonus progress per neutron pulse per heat step
+ * @param heatStep divisor for hull heat
+ * @param reflector true if also acts as a neutron reflector, false otherwise.
+ * @param requiredPulses progress required to complete breeding
+ * @return added fake recipe
+ */
+ GT_Recipe addIC2ReactorBreederCell(
+ ItemStack input, ItemStack output, boolean reflector, int heatStep, int heatMultiplier, int requiredPulses);
+
+ /**
+ * Add a fuel cell.
+ * @param input raw stack. should be undamaged.
+ * @param output depleted stack
+ * @param aMox true if has mox behavior, false if uranium behavior.
+ * @param aHeat inherent heat output multiplier of the fuel material. should not add the extra heat from being
+ * a multi-cell!
+ * @param aEnergy inherent energy output multiplier of the fuel material. should not add the extra energy from
+ * being a multi-cell!
+ * @param aCells cell count
+ * @return added fake recipe
+ */
+ GT_Recipe addIC2ReactorFuelCell(
+ ItemStack input, ItemStack output, boolean aMox, float aHeat, float aEnergy, int aCells);
}