blob: b5ffac8e07dd7726073c7f158c471e4d0165dd3b (
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
|
package gtPlusPlus.xmod.gregtech.common;
import gregtech.api.GregTech_API;
import gtPlusPlus.core.util.Utils;
import java.util.ArrayList;
import java.util.List;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraftforge.oredict.OreDictionary;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class Meta_GT_Proxy {
public static List<Runnable> GT_BlockIconload = new ArrayList<Runnable>();
public static List<Runnable> GT_ItemIconload = new ArrayList<Runnable>();
@SideOnly(Side.CLIENT)
public static IIconRegister sBlockIcons, sItemIcons;
public Meta_GT_Proxy() {
Utils.LOG_INFO("GT_PROXY - initialized.");
for (String tOreName : OreDictionary.getOreNames()) {
}
}
public static boolean areWeUsingGregtech5uExperimental(){
int version = GregTech_API.VERSION;
if (version == 508 || version == 507){
return false;
}
else if (version == 509){
return true;
}
else {
return false;
}
}
}
|