aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/gregtech/registration
diff options
context:
space:
mode:
authorAlkalus <3060479+draknyte1@users.noreply.github.com>2018-05-25 13:40:27 +1000
committerAlkalus <3060479+draknyte1@users.noreply.github.com>2018-05-25 13:40:27 +1000
commit7e0c8425eca0e2ea097e4aad0d44ed8cdb0f4690 (patch)
tree84428e20b68c0a2999b72314e0231d44067e87b0 /src/Java/gtPlusPlus/xmod/gregtech/registration
parent2b73e75c4de865c05c5cb48bc9e91b1754a37c0c (diff)
downloadGT5-Unofficial-7e0c8425eca0e2ea097e4aad0d44ed8cdb0f4690.tar.gz
GT5-Unofficial-7e0c8425eca0e2ea097e4aad0d44ed8cdb0f4690.tar.bz2
GT5-Unofficial-7e0c8425eca0e2ea097e4aad0d44ed8cdb0f4690.zip
+ Added loader for Thaumcraft Researcher Machine.
$ Fixed Staballoy constructs exploding as soon as they spawn. $ Fixed chicken renderer. $ Fixed a bug arising from getRandomFromArray(int[]) where it could get index OOB.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech/registration')
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechPollutionDevices.java7
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechThaumcraftDevices.java26
2 files changed, 26 insertions, 7 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechPollutionDevices.java b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechPollutionDevices.java
index 4270450201..3741955e7b 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechPollutionDevices.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechPollutionDevices.java
@@ -1,12 +1,5 @@
package gtPlusPlus.xmod.gregtech.registration.gregtech;
-import static gtPlusPlus.core.recipe.common.CI.bitsd;
-
-import gregtech.api.enums.ItemList;
-import gregtech.api.enums.Materials;
-import gregtech.api.enums.OrePrefixes;
-import gregtech.api.util.GT_ModHandler;
-
import gtPlusPlus.api.objects.Logger;
import gtPlusPlus.core.lib.CORE;
import gtPlusPlus.core.recipe.common.CI;
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechThaumcraftDevices.java b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechThaumcraftDevices.java
new file mode 100644
index 0000000000..398d2caf01
--- /dev/null
+++ b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechThaumcraftDevices.java
@@ -0,0 +1,26 @@
+package gtPlusPlus.xmod.gregtech.registration.gregtech;
+
+import gtPlusPlus.api.objects.Logger;
+import gtPlusPlus.core.lib.LoadedMods;
+import gtPlusPlus.xmod.gregtech.api.enums.GregtechItemList;
+import gtPlusPlus.xmod.gregtech.common.tileentities.machines.basic.GregtechMetaPollutionCreator;
+
+public class GregtechThaumcraftDevices {
+
+ public static void run() {
+ if (LoadedMods.Gregtech && LoadedMods.Thaumcraft) {
+ Logger.INFO("Gregtech5u Content | Registering Thaumcraft content.");
+ run1();
+ }
+ }
+
+ private static void run1() {
+ //956-960
+ GregtechItemList.Thaumcraft_Researcher.set(new GregtechMetaPollutionCreator(956, "thaumcraft.gtpp.machine.01",
+ "Arcane Researcher", 5, "Thinking for you.", 0).getStackForm(1L));
+
+
+
+ }
+
+}