1919import org .jetbrains .annotations .NotNull ;
2020import org .jetbrains .annotations .Nullable ;
2121
22+ import gregtech .api .GTValues ;
23+
24+ import com .github .gtexpert .testmod .api .ModValues ;
25+
2226public enum Mods {
2327
2428 AEAdditions (Names .AE_ADDITIONS ),
@@ -27,7 +31,6 @@ public enum Mods {
2731 Avaritia (Names .AVARITIA ),
2832 Avaritiaaddons (Names .AVARITIAADDONS ),
2933 Baubles (Names .BAUBLES ),
30- Botany (Names .BOTANY ),
3134 Chisel (Names .CHISEL ),
3235 CTM (Names .CONNECTED_TEXTURES_MOD ),
3336 CraftTweaker (Names .CRAFT_TWEAKER ),
@@ -39,43 +42,20 @@ public enum Mods {
3942 EnderIOMachines (Names .ENDER_MACHINES ),
4043 EnderIOConduits (Names .ENDER_CONDUITS ),
4144 EnderIOAE2Conduits (Names .ENDER_AE2_CONDUITS ),
42- ExtraBees (Names .EXTRA_BEES ),
4345 ExtraCPUs (Names .EXTRA_CPUS ),
44- ExtraTrees (Names .EXTRA_TREES ),
45- Forestry (Names .FORESTRY ),
46- // ForestryApiculture(Names.FORESTRY, forestryModule(Names.FORESTRY_APICULTURE)),
47- // ForestryArboriculture(Names.FORESTRY, forestryModule(Names.FORESTRY_ARBORICULTURE)),
48- // ForestryCharcoal(Names.FORESTRY, forestryModule(Names.FORESTRY_CHARCOAL)),
49- // ForestryCore(Names.FORESTRY, forestryModule(Names.FORESTRY_CORE)),
50- // ForestryEnergy(Names.FORESTRY, forestryModule(Names.FORESTRY_ENERGY)),
51- // ForestryFactory(Names.FORESTRY, forestryModule(Names.FORESTRY_FACTORY)),
52- // ForestryWorktable(Names.FORESTRY, forestryModule(Names.FORESTRY_WORKTABLE)),
53- // ForestryFarming(Names.FORESTRY, forestryModule(Names.FORESTRY_FARMING)),
54- // ForestryClimatology(Names.FORESTRY, forestryModule(Names.FORESTRY_CLIMATOLOGY)),
55- // ForestryGreenhouse(Names.FORESTRY, forestryModule(Names.FORESTRY_GREENHOUSE)),
56- // ForestryFluids(Names.FORESTRY, forestryModule(Names.FORESTRY_FLUIDS)),
57- // ForestryFood(Names.FORESTRY, forestryModule(Names.FORESTRY_FOOD)),
58- // ForestryLepidopterology(Names.FORESTRY, forestryModule(Names.FORESTRY_LEPIDOPTEROLOGY)),
59- // ForestryMail(Names.FORESTRY, forestryModule(Names.FORESTRY_MAIL)),
60- // ForestryCrate(Names.FORESTRY, forestryModule(Names.FORESTRY_CRATE)),
61- // ForestryBackpacks(Names.FORESTRY, forestryModule(Names.FORESTRY_BACKPACKS)),
62- // ForestryDatabase(Names.FORESTRY, forestryModule(Names.FORESTRY_DATABASE)),
63- // ForestrySorting(Names.FORESTRY, forestryModule(Names.FORESTRY_SORTING)),
64- // ForestryBook(Names.FORESTRY, forestryModule(Names.FORESTRY_BOOK)),
65- // ForestryCultivation(Names.FORESTRY, forestryModule(Names.FORESTRY_CULTIVATION)),
66- // ForestryResearch(Names.FORESTRY, forestryModule(Names.FORESTRY_RESEARCH)),
6746 GalacticraftCore (Names .GALACTICRAFT_CORE ),
68- Genetics (Names .GENETICS ),
69- Gendustry (Names .GENDUSTRY ),
7047 GregicalityMultiblocks (Names .GREGICALITY_MULTIBLOCKS ),
7148 GregTech (Names .GREGTECH ),
7249 GregTechFoodOption (Names .GREGTECH_FOOD_OPTION ),
50+ GregTechExpertCore (Names .GREGTECH_EXPERT_CORE ),
51+ GregTechChisel (Names .GREGTECH_CHISEL ),
52+ GregTechWoodProcessing (Names .GREGTECH_WOOD_PROCESSING ),
7353 GroovyScript (Names .GROOVY_SCRIPT ),
7454 HWYLA (Names .HWYLA ),
55+ ImplosionNoBomb (Names .IMPLOSION_NO_BOMB ),
7556 InventoryTweaks (Names .INVENTORY_TWEAKS ),
7657 JourneyMap (Names .JOURNEY_MAP ),
7758 JustEnoughItems (Names .JUST_ENOUGH_ITEMS ),
78- MagicBees (Names .MAGIC_BEES ),
7959 ModularUI (Names .MODULRAUI ),
8060 MixinBooter (Names .MIXINBOOTER ),
8161 NeevesAE2 (Names .NEEVES_AE2 ),
@@ -136,40 +116,21 @@ public static class Names {
136116 public static final String EXTRA_BEES = "extrabees" ;
137117 public static final String EXTRA_CPUS = "extracpus" ;
138118 public static final String EXTRA_TREES = "extratrees" ;
139- public static final String FORESTRY = "forestry" ;
140- public static final String FORESTRY_APICULTURE = "apiculture" ;
141- public static final String FORESTRY_ARBORICULTURE = "arboriculture" ;
142- public static final String FORESTRY_CHARCOAL = "charcoal" ;
143- public static final String FORESTRY_CORE = "core" ;
144- public static final String FORESTRY_ENERGY = "energy" ;
145- public static final String FORESTRY_FACTORY = "factory" ;
146- public static final String FORESTRY_WORKTABLE = "worktable" ;
147- public static final String FORESTRY_FARMING = "farming" ;
148- public static final String FORESTRY_CLIMATOLOGY = "climatology" ;
149- public static final String FORESTRY_GREENHOUSE = "greenhouse" ;
150- public static final String FORESTRY_FLUIDS = "fluids" ;
151- public static final String FORESTRY_FOOD = "food" ;
152- public static final String FORESTRY_LEPIDOPTEROLOGY = "lepidopterology" ;
153- public static final String FORESTRY_MAIL = "mail" ;
154- public static final String FORESTRY_CRATE = "crates" ;
155- public static final String FORESTRY_BACKPACKS = "backpacks" ;
156- public static final String FORESTRY_DATABASE = "database" ;
157- public static final String FORESTRY_SORTING = "sorting" ;
158- public static final String FORESTRY_BOOK = "book" ;
159- public static final String FORESTRY_CULTIVATION = "cultivation" ;
160- public static final String FORESTRY_RESEARCH = "research" ;
161119 public static final String GALACTICRAFT_CORE = "galacticraftcore" ;
162120 public static final String GENETICS = "genetics" ;
163121 public static final String GENDUSTRY = "gendustry" ;
164122 public static final String GREGICALITY_MULTIBLOCKS = "gcym" ;
165- public static final String GREGTECH = "gregtech" ;
123+ public static final String GREGTECH = GTValues . MODID ;
166124 public static final String GREGTECH_FOOD_OPTION = "gregtechfoodoption" ;
125+ public static final String GREGTECH_EXPERT_CORE = "gtexpert" ;
126+ public static final String GREGTECH_CHISEL = ModValues .MODID ;
127+ public static final String GREGTECH_WOOD_PROCESSING = "gtwp" ;
167128 public static final String GROOVY_SCRIPT = "groovyscript" ;
168129 public static final String HWYLA = "hwyla" ;
130+ public static final String IMPLOSION_NO_BOMB = "inb" ;
169131 public static final String INVENTORY_TWEAKS = "inventorytweaks" ;
170132 public static final String JOURNEY_MAP = "journeymap" ;
171133 public static final String JUST_ENOUGH_ITEMS = "jei" ;
172- public static final String MAGIC_BEES = "magicbees" ;
173134 public static final String MODULRAUI = "modularui" ;
174135 public static final String MIXINBOOTER = "mixinbooter" ;
175136 public static final String NEEVES_AE2 = "nae2" ;
@@ -181,7 +142,7 @@ public static class Names {
181142 public static final String RAILCRAFT = "railcraft" ;
182143 public static final String REFINED_STORAGE = "refinedstorage" ;
183144 public static final String THAUMCRAFT = "thaumcraft" ;
184- public static final String THAUMIC_ENERGISTICS = "haumicenergistics " ;
145+ public static final String THAUMIC_ENERGISTICS = "thaumicenergistics " ;
185146 public static final String THE_ONE_PROBE = "theoneprobe" ;
186147 public static final String TINKERS_CONSTRUCT = "tconstruct" ;
187148 public static final String TOP_ADDONS = "topaddons" ;
@@ -294,13 +255,4 @@ private static Function<Mods, Boolean> versionExcludes(String versionPart) {
294255 return !container .getVersion ().contains (versionPart );
295256 };
296257 }
297-
298- /** Test if a specific Forestry module is enabled. */
299- // private static Function<Mods, Boolean> forestryModule(String moduleID) {
300- // if (Forestry.isModLoaded()) {
301- // return mod -> forestry.modules.ModuleHelper.isEnabled(moduleID);
302- // } else {
303- // return $ -> false;
304- // }
305- // }
306258}
0 commit comments