@@ -31,7 +31,6 @@ public enum Mods {
3131 Avaritia (Names .AVARITIA ),
3232 Avaritiaaddons (Names .AVARITIAADDONS ),
3333 Baubles (Names .BAUBLES ),
34- Botany (Names .BOTANY ),
3534 Chisel (Names .CHISEL ),
3635 CTM (Names .CONNECTED_TEXTURES_MOD ),
3736 CraftTweaker (Names .CRAFT_TWEAKER ),
@@ -43,34 +42,8 @@ public enum Mods {
4342 EnderIOMachines (Names .ENDER_MACHINES ),
4443 EnderIOConduits (Names .ENDER_CONDUITS ),
4544 EnderIOAE2Conduits (Names .ENDER_AE2_CONDUITS ),
46- ExtraBees (Names .EXTRA_BEES ),
4745 ExtraCPUs (Names .EXTRA_CPUS ),
48- ExtraTrees (Names .EXTRA_TREES ),
49- Forestry (Names .FORESTRY ),
50- ForestryApiculture (Names .FORESTRY , forestryModule (Names .FORESTRY_APICULTURE )),
51- ForestryArboriculture (Names .FORESTRY , forestryModule (Names .FORESTRY_ARBORICULTURE )),
52- ForestryCharcoal (Names .FORESTRY , forestryModule (Names .FORESTRY_CHARCOAL )),
53- ForestryCore (Names .FORESTRY , forestryModule (Names .FORESTRY_CORE )),
54- ForestryEnergy (Names .FORESTRY , forestryModule (Names .FORESTRY_ENERGY )),
55- ForestryFactory (Names .FORESTRY , forestryModule (Names .FORESTRY_FACTORY )),
56- ForestryWorktable (Names .FORESTRY , forestryModule (Names .FORESTRY_WORKTABLE )),
57- ForestryFarming (Names .FORESTRY , forestryModule (Names .FORESTRY_FARMING )),
58- ForestryClimatology (Names .FORESTRY , forestryModule (Names .FORESTRY_CLIMATOLOGY )),
59- ForestryGreenhouse (Names .FORESTRY , forestryModule (Names .FORESTRY_GREENHOUSE )),
60- ForestryFluids (Names .FORESTRY , forestryModule (Names .FORESTRY_FLUIDS )),
61- ForestryFood (Names .FORESTRY , forestryModule (Names .FORESTRY_FOOD )),
62- ForestryLepidopterology (Names .FORESTRY , forestryModule (Names .FORESTRY_LEPIDOPTEROLOGY )),
63- ForestryMail (Names .FORESTRY , forestryModule (Names .FORESTRY_MAIL )),
64- ForestryCrate (Names .FORESTRY , forestryModule (Names .FORESTRY_CRATE )),
65- ForestryBackpacks (Names .FORESTRY , forestryModule (Names .FORESTRY_BACKPACKS )),
66- ForestryDatabase (Names .FORESTRY , forestryModule (Names .FORESTRY_DATABASE )),
67- ForestrySorting (Names .FORESTRY , forestryModule (Names .FORESTRY_SORTING )),
68- ForestryBook (Names .FORESTRY , forestryModule (Names .FORESTRY_BOOK )),
69- ForestryCultivation (Names .FORESTRY , forestryModule (Names .FORESTRY_CULTIVATION )),
70- ForestryResearch (Names .FORESTRY , forestryModule (Names .FORESTRY_RESEARCH )),
7146 GalacticraftCore (Names .GALACTICRAFT_CORE ),
72- Genetics (Names .GENETICS ),
73- Gendustry (Names .GENDUSTRY ),
7447 GregicalityMultiblocks (Names .GREGICALITY_MULTIBLOCKS ),
7548 GregTech (Names .GREGTECH ),
7649 GregTechFoodOption (Names .GREGTECH_FOOD_OPTION ),
@@ -82,7 +55,6 @@ public enum Mods {
8255 InventoryTweaks (Names .INVENTORY_TWEAKS ),
8356 JourneyMap (Names .JOURNEY_MAP ),
8457 JustEnoughItems (Names .JUST_ENOUGH_ITEMS ),
85- MagicBees (Names .MAGIC_BEES ),
8658 ModularUI (Names .MODULRAUI ),
8759 MixinBooter (Names .MIXINBOOTER ),
8860 NeevesAE2 (Names .NEEVES_AE2 ),
@@ -143,28 +115,6 @@ public static class Names {
143115 public static final String EXTRA_BEES = "extrabees" ;
144116 public static final String EXTRA_CPUS = "extracpus" ;
145117 public static final String EXTRA_TREES = "extratrees" ;
146- public static final String FORESTRY = "forestry" ;
147- public static final String FORESTRY_APICULTURE = "apiculture" ;
148- public static final String FORESTRY_ARBORICULTURE = "arboriculture" ;
149- public static final String FORESTRY_CHARCOAL = "charcoal" ;
150- public static final String FORESTRY_CORE = "core" ;
151- public static final String FORESTRY_ENERGY = "energy" ;
152- public static final String FORESTRY_FACTORY = "factory" ;
153- public static final String FORESTRY_WORKTABLE = "worktable" ;
154- public static final String FORESTRY_FARMING = "farming" ;
155- public static final String FORESTRY_CLIMATOLOGY = "climatology" ;
156- public static final String FORESTRY_GREENHOUSE = "greenhouse" ;
157- public static final String FORESTRY_FLUIDS = "fluids" ;
158- public static final String FORESTRY_FOOD = "food" ;
159- public static final String FORESTRY_LEPIDOPTEROLOGY = "lepidopterology" ;
160- public static final String FORESTRY_MAIL = "mail" ;
161- public static final String FORESTRY_CRATE = "crates" ;
162- public static final String FORESTRY_BACKPACKS = "backpacks" ;
163- public static final String FORESTRY_DATABASE = "database" ;
164- public static final String FORESTRY_SORTING = "sorting" ;
165- public static final String FORESTRY_BOOK = "book" ;
166- public static final String FORESTRY_CULTIVATION = "cultivation" ;
167- public static final String FORESTRY_RESEARCH = "research" ;
168118 public static final String GALACTICRAFT_CORE = "galacticraftcore" ;
169119 public static final String GENETICS = "genetics" ;
170120 public static final String GENDUSTRY = "gendustry" ;
@@ -178,7 +128,6 @@ public static class Names {
178128 public static final String INVENTORY_TWEAKS = "inventorytweaks" ;
179129 public static final String JOURNEY_MAP = "journeymap" ;
180130 public static final String JUST_ENOUGH_ITEMS = "jei" ;
181- public static final String MAGIC_BEES = "magicbees" ;
182131 public static final String MODULRAUI = "modularui" ;
183132 public static final String MIXINBOOTER = "mixinbooter" ;
184133 public static final String NEEVES_AE2 = "nae2" ;
@@ -303,13 +252,4 @@ private static Function<Mods, Boolean> versionExcludes(String versionPart) {
303252 return !container .getVersion ().contains (versionPart );
304253 };
305254 }
306-
307- /** Test if a specific Forestry module is enabled. */
308- private static Function <Mods , Boolean > forestryModule (String moduleID ) {
309- if (Forestry .isModLoaded ()) {
310- return mod -> forestry .modules .ModuleHelper .isEnabled (moduleID );
311- } else {
312- return $ -> false ;
313- }
314- }
315255}
0 commit comments