aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/gregtech/HANDLER_GT.java
blob: 0808eab6b3ce476466593d9479c3725a944b06bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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.common.items.MetaGeneratedGregtechTools;
import gtPlusPlus.xmod.gregtech.loaders.ProcessingToolHeadChoocher;
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 Processing_Ingot1();
		//new Processing_Plate1();
		//new Processing_Block();
		//new Processing_HotIngots();
	}

	public static void init(){

		//Add Custom Pipes, Wires and Cables.
		GregtechConduits.run();
		new MetaGeneratedGregtechTools();
		new ProcessingToolHeadChoocher().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();
		}*/
	}

}