aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/gregtech/HANDLER_GT.java
diff options
context:
space:
mode:
authorDraknyte1 <Draknyte1@hotmail.com>2016-09-07 16:36:25 +1000
committerDraknyte1 <Draknyte1@hotmail.com>2016-09-07 16:36:25 +1000
commit221c2f0fe81430e7dd4087e5f5845bd7c62ec56d (patch)
treed6e0faaef01b9d517828557e1be82500d476f95e /src/Java/gtPlusPlus/xmod/gregtech/HANDLER_GT.java
parent5872c0947ce7bc788b03fa2fb690b8815d3d0a04 (diff)
downloadGT5-Unofficial-221c2f0fe81430e7dd4087e5f5845bd7c62ec56d.tar.gz
GT5-Unofficial-221c2f0fe81430e7dd4087e5f5845bd7c62ec56d.tar.bz2
GT5-Unofficial-221c2f0fe81430e7dd4087e5f5845bd7c62ec56d.zip
% Refactored the entire project to stop using MiscUtils everywhere possible, now it's gtPlusPlus.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech/HANDLER_GT.java')
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/HANDLER_GT.java49
1 files changed, 49 insertions, 0 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/HANDLER_GT.java b/src/Java/gtPlusPlus/xmod/gregtech/HANDLER_GT.java
new file mode 100644
index 0000000000..2217aecab9
--- /dev/null
+++ b/src/Java/gtPlusPlus/xmod/gregtech/HANDLER_GT.java
@@ -0,0 +1,49 @@
+package gtPlusPlus.xmod.gregtech;
+
+import gregtech.api.util.GT_Config;
+import gtPlusPlus.xmod.gregtech.api.enums.GregtechOrePrefixes.GT_Materials;
+import gtPlusPlus.xmod.gregtech.common.blocks.fluid.GregtechFluidHandler;
+import gtPlusPlus.xmod.gregtech.common.items.MetaGeneratedGregtechItems;
+import gtPlusPlus.xmod.gregtech.registration.gregtech.GregtechConduits;
+
+public class HANDLER_GT {
+
+ public static GT_Config mMaterialProperties = null;
+
+ public static void preInit(){
+ new MetaGeneratedGregtechItems();
+ if (mMaterialProperties != null){
+ GT_Materials.init(mMaterialProperties);
+ GregtechFluidHandler.run();
+ //new MetaGeneratedGregtechTools();
+ //new Processing_Ingot1();
+ //new Processing_Plate1();
+ //new Processing_Block();
+ }
+ //new Processing_HotIngots();
+ }
+
+ public static void init(){
+
+ //Add Custom Pipes, Wires and Cables.
+ GregtechConduits.run();
+
+ /*if (Meta_GT_Proxy.mSortToTheEnd) {
+ new GT_ItemIterator().run();
+ Meta_GT_Proxy.registerUnificationEntries();
+ new GT_FuelLoader().run();
+ }*/
+ }
+
+ public static void postInit(){
+ /*Meta_GT_Proxy.activateOreDictHandler();
+ if (Meta_GT_Proxy.mSortToTheEnd) {
+ Meta_GT_Proxy.registerUnificationEntries();
+ } else {
+ new GT_ItemIterator().run();
+ Meta_GT_Proxy.registerUnificationEntries();
+ new GT_FuelLoader().run();
+ }*/
+ }
+
+}