aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/core/lib/CORE.java
blob: e634822dfce4510ba6df9428248e24df80df6675 (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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
package gtPlusPlus.core.lib;

import java.util.HashMap;
import java.util.Map;

import gtPlusPlus.core.util.Utils;
import gtPlusPlus.core.util.gregtech.recipehandlers.GregtechRecipe;
import gtPlusPlus.core.util.networking.NetworkUtils;
import gtPlusPlus.xmod.gregtech.api.enums.GregtechOrePrefixes.GT_Materials;
import gtPlusPlus.xmod.gregtech.api.interfaces.internal.IGregtech_RecipeAdder;
import gtPlusPlus.xmod.gregtech.common.Meta_GT_Proxy;
import gtPlusPlus.xmod.gregtech.common.tileentities.automation.GT_MetaTileEntity_TesseractGenerator;
import net.minecraft.util.EnumChatFormatting;
import net.minecraftforge.common.config.Configuration;

public class CORE {

	public static class configSwitches {

		// Debug
		public static boolean	disableEnderIOIntegration					= false;

		// Machine Related
		public static boolean	enableAlternativeBatteryAlloy				= false;
		public static boolean	enableThaumcraftShardUnification			= false;
		public static boolean	disableIC2Recipes							= false;
		public static boolean	enableAlternativeDivisionSigilRecipe		= false;

		// Feature Related
		public static boolean	enableCustomAlvearyBlocks					= false;

		// Single Block Machines
		public static boolean	enableMachine_SolarGenerators				= false;
		public static boolean	enableMachine_Dehydrators					= true;
		public static boolean	enableMachine_SteamConverter				= true;
		public static boolean	enableMachine_FluidTanks					= true;
		public static boolean	enableMachine_RocketEngines					= true;
		public static boolean	enableMachine_GeothermalEngines				= true;
		public static boolean	enableCustom_Pipes							= true;
		public static boolean	enableCustom_Cables							= true;

		// Multiblocks
		public static boolean	enabledMultiblock_AlloyBlastSmelter			= true;
		public static boolean	enabledMultiblock_IndustrialCentrifuge		= true;
		public static boolean	enabledMultiblock_IndustrialCokeOven		= true;
		public static boolean	enabledMultiblock_IndustrialElectrolyzer	= true;
		public static boolean	enabledMultiblock_IndustrialMacerationStack	= true;
		public static boolean	enabledMultiblock_IndustrialPlatePress		= true;
		public static boolean	enabledMultiblock_IndustrialWireMill		= true;
		public static boolean	enabledMultiblock_IronBlastFurnace			= true;
		public static boolean	enabledMultiblock_MatterFabricator			= true;
		public static boolean	enabledMultiblock_MultiTank					= true;
		public static boolean	enabledMultiblock_PowerSubstation			= true;

	}
	// GUIS
	public enum GUI_ENUM {
		ENERGYBUFFER, TOOLBUILDER, NULL, NULL1, NULL2
	}
	public static final String												name								= "GT++";
	public static final String												MODID								= "miscutils";
	public static final String												VERSION								= "1.4.9-release";
	public static final String												MASTER_VERSION						= NetworkUtils
			.getContentFromURL("https://raw.githubusercontent.com/draknyte1/GTplusplus/master/Recommended.txt")
			.toLowerCase();
	public static boolean													isModUpToDate						= Utils
			.isModUpToDate();
	public static boolean													DEBUG								= false;
	public static final boolean												LOAD_ALL_CONTENT					= false;
	public static final int													GREG_FIRST_ID						= 760;
	public static Map														PlayerCache;
	public static final String[]											VOLTAGES							= {
			"ULV", "LV", "MV", "HV", "EV", "IV", "LuV", "ZPM", "UV", "MAX"
	};
	public static final boolean												MAIN_GREGTECH_5U_EXPERIMENTAL_FORK	= Meta_GT_Proxy
			.areWeUsingGregtech5uExperimental();
	public static IGregtech_RecipeAdder										RA;

	@Deprecated
	public static IGregtech_RecipeAdder										sRecipeAdder;
	public static GregtechRecipe											GT_Recipe							= new GregtechRecipe();
	public static Configuration												Config;
	public static final String												GT_Tooltip							= "Added by: "
			+ EnumChatFormatting.DARK_GREEN + "Alkalus " + EnumChatFormatting.GRAY + "- " + EnumChatFormatting.RED
			+ "[GT++]";

	public static final String												GT_Tooltip_Radioactive				= EnumChatFormatting.GRAY
			+ "Warning: " + EnumChatFormatting.GREEN + "Radioactive! " + EnumChatFormatting.GOLD
			+ " Avoid direct handling without hazmat protection.";

	public static final String												noItem								= "";

	/**
	 * A List containing all the Materials, which are somehow in use by GT and
	 * therefor receive a specific Set of Items.
	 */
	public static final GT_Materials[]										sMU_GeneratedMaterials				= new GT_Materials[1000];

	// Tesseract map
	public static final Map<Integer, GT_MetaTileEntity_TesseractGenerator>	sTesseractGenerators				= new HashMap<Integer, GT_MetaTileEntity_TesseractGenerator>();

	// public static final Materials2[] MiscGeneratedMaterials = new
	// Materials2[1000];

	/**
	 * File Paths and Resource Paths
	 */
	public static final String TEX_DIR = "textures/", TEX_DIR_GUI = CORE.TEX_DIR + "gui/",
			TEX_DIR_ITEM = CORE.TEX_DIR + "items/", TEX_DIR_BLOCK = CORE.TEX_DIR + "blocks/",
			TEX_DIR_ENTITY = CORE.TEX_DIR + "entity/", TEX_DIR_ASPECTS = CORE.TEX_DIR + "aspects/",
			TEX_DIR_FLUIDS = CORE.TEX_DIR_BLOCK + "fluids/", RES_PATH = CORE.MODID + ":" + CORE.TEX_DIR,
			RES_PATH_GUI = CORE.MODID + ":" + CORE.TEX_DIR_GUI, RES_PATH_ITEM = CORE.MODID + ":" + CORE.TEX_DIR_ITEM,
			RES_PATH_BLOCK = CORE.MODID + ":" + CORE.TEX_DIR_BLOCK,
			RES_PATH_ENTITY = CORE.MODID + ":" + CORE.TEX_DIR_ENTITY,
			RES_PATH_ASPECTS = CORE.MODID + ":" + CORE.TEX_DIR_ASPECTS,
			RES_PATH_FLUIDS = CORE.MODID + ":" + CORE.TEX_DIR_FLUIDS;

}