aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/gregtech/registration
diff options
context:
space:
mode:
authorAlkalus <3060479+draknyte1@users.noreply.github.com>2018-09-01 13:13:20 +1000
committerAlkalus <3060479+draknyte1@users.noreply.github.com>2018-09-01 13:13:20 +1000
commit3311449b3bcadbd9f571abb7374655dde57042fd (patch)
treecfa5bebdf736913f297c8dc277bf492c115f0367 /src/Java/gtPlusPlus/xmod/gregtech/registration
parent3e52e019bda7ad6d5d2d06565881c1135bb33160 (diff)
downloadGT5-Unofficial-3311449b3bcadbd9f571abb7374655dde57042fd.tar.gz
GT5-Unofficial-3311449b3bcadbd9f571abb7374655dde57042fd.tar.bz2
GT5-Unofficial-3311449b3bcadbd9f571abb7374655dde57042fd.zip
+ Added a Large Naquadah Reactor.
+ Added a Custom Naquadah Input hatch for the Reactor.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech/registration')
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechCustomHatches.java16
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechNaqReactor.java22
2 files changed, 37 insertions, 1 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechCustomHatches.java b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechCustomHatches.java
index 6ad5ff2866..0573ba2c20 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechCustomHatches.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechCustomHatches.java
@@ -7,6 +7,7 @@ import gtPlusPlus.core.recipe.common.CI;
import gtPlusPlus.core.util.minecraft.FluidUtils;
import gtPlusPlus.core.util.minecraft.RecipeUtils;
import gtPlusPlus.xmod.gregtech.api.enums.GregtechItemList;
+import gtPlusPlus.xmod.gregtech.api.metatileentity.implementations.GT_MetaTileEntity_Hatch_Naquadah;
import gtPlusPlus.xmod.gregtech.api.metatileentity.implementations.base.GT_MetaTileEntity_Hatch_CustomFluidBase;
public class GregtechCustomHatches {
@@ -37,7 +38,14 @@ public class GregtechCustomHatches {
968, // ID
"hatch.pyrotheum.input.tier.00", // unlocal name
"Pyrotheum Heating Vent" //Local name
- ).getStackForm(1L));
+ ).getStackForm(1L));
+
+ GregtechItemList.Hatch_Input_Naquadah.set(
+ new GT_MetaTileEntity_Hatch_Naquadah(
+ 969, // ID
+ "hatch.naquadah.input.tier.00", // unlocal name
+ "Naquadah Reactor Input hatch" //Local name
+ ).getStackForm(1L));
RecipeUtils.addShapedGregtechRecipe(
CI.component_Plate[6], ALLOY.MARAGING250.getGear(1), CI.component_Plate[6],
@@ -51,6 +59,12 @@ public class GregtechCustomHatches {
CI.component_Plate[6], ItemList.Hatch_Input_IV.get(1), CI.component_Plate[6],
GregtechItemList.Hatch_Input_Pyrotheum.get(1L, new Object[0]));
+ RecipeUtils.addShapedGregtechRecipe(
+ CI.component_Plate[8], ALLOY.HG1223.getGear(1), CI.component_Plate[9],
+ CI.getTieredCircuitOreDictName(7), GregtechItemList.Casing_Naq_Reactor_A.get(1), CI.getTieredCircuitOreDictName(7),
+ CI.component_Plate[9], ItemList.Hatch_Input_ZPM.get(1), CI.component_Plate[8],
+ GregtechItemList.Hatch_Input_Naquadah.get(1L, new Object[0]));
+
}
}
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechNaqReactor.java b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechNaqReactor.java
new file mode 100644
index 0000000000..484737471e
--- /dev/null
+++ b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechNaqReactor.java
@@ -0,0 +1,22 @@
+package gtPlusPlus.xmod.gregtech.registration.gregtech;
+
+import gtPlusPlus.api.objects.Logger;
+import gtPlusPlus.xmod.gregtech.api.enums.GregtechItemList;
+import gtPlusPlus.xmod.gregtech.common.tileentities.machines.multi.production.GregtechMTE_LargeNaqReactor;
+
+public class GregtechNaqReactor {
+
+ public static void run() {
+ if (gtPlusPlus.core.lib.LoadedMods.Gregtech) {
+ Logger.INFO("Gregtech5u Content | Registering Futuristic Naquadah Reactor {LNR].");
+ run1();
+ }
+
+ }
+
+ private static void run1() {
+ // LFTR
+ GregtechItemList.Controller_Naq_Reactor.set(new GregtechMTE_LargeNaqReactor(991, "lnr.controller.single", "Large Naquadah Reactor").getStackForm(1L));
+
+ }
+}