// Path: src/main/java/tonius/simplyjetpacks/integration/ModType.java
// public enum ModType {
//     
//     SIMPLY_JETPACKS("", SimplyJetpacks.MODID),
//     THERMAL_EXPANSION(".te", "ThermalExpansion"),
//     THERMAL_DYNAMICS(null, "ThermalDynamics"),
//     REDSTONE_ARSENAL(null, "RedstoneArsenal"),
//     REDSTONE_ARMORY(null, "RArm"),
//     ENDER_IO(".eio", "EnderIO"),
//     BUILDCRAFT(".bc", "BuildCraft|Core");
//     
//     public final String suffix;
//     public final String[] modids;
//     public final boolean loaded;
//     
//     private ModType(String suffix, String... modids) {
//         this.suffix = suffix;
//         this.modids = modids;
//         
//         for (String s : this.modids) {
//             if (!Loader.isModLoaded(s)) {
//                 this.loaded = false;
//                 return;
//             }
//         }
//         this.loaded = true;
//     }
//     
// }


import java.util.HashMap;
import java.util.Map;
import tonius.simplyjetpacks.integration.ModType;
import cpw.mods.fml.common.Loader;
    public static PackDefaults get(String key) {
        return DEFAULTS.get(key);
    }
    
    // the great mighty List of Defaults
    static {
        // Simply Jetpacks
        PackDefaults d = new PackDefaults("jetpackPotato", "Tuberous Jetpack");
        d.fuelCapacity = 1200;
        d.fuelUsage = 45;
        d.speedVertical = 0.9D;
        d.accelVertical = 0.5D;
        
        d = new PackDefaults("jetpackCreative", "Creative Jetpack");
        d.fuelPerTickOut = 32000;
        d.armorReduction = 12;
        d.enchantability = 20;
        d.speedVertical = 0.9D;
        d.accelVertical = 0.15D;
        d.speedVerticalHover = 0.45D;
        d.speedVerticalHoverSlow = 0.0D;
        d.speedSideways = 0.21D;
        d.sprintSpeedModifier = 2.5D;
        d.emergencyHoverMode = true;
        
        d = new PackDefaults("fluxPackCreative", "Creative Flux Pack");
        d.fuelPerTickOut = 32000;
        d.armorReduction = 8;
        d.enchantability = 10;
        
// Path: src/main/java/tonius/simplyjetpacks/integration/ModType.java
// public enum ModType {
//     
//     SIMPLY_JETPACKS("", SimplyJetpacks.MODID),
//     THERMAL_EXPANSION(".te", "ThermalExpansion"),
//     THERMAL_DYNAMICS(null, "ThermalDynamics"),
//     REDSTONE_ARSENAL(null, "RedstoneArsenal"),
//     REDSTONE_ARMORY(null, "RArm"),
//     ENDER_IO(".eio", "EnderIO"),
//     BUILDCRAFT(".bc", "BuildCraft|Core");
//     
//     public final String suffix;
//     public final String[] modids;
//     public final boolean loaded;
//     
//     private ModType(String suffix, String... modids) {
//         this.suffix = suffix;
//         this.modids = modids;
//         
//         for (String s : this.modids) {
//             if (!Loader.isModLoaded(s)) {
//                 this.loaded = false;
//                 return;
//             }
//         }
//         this.loaded = true;
//     }
//     
// }


// Path: src/main/java/tonius/simplyjetpacks/config/PackDefaults.java
import java.util.HashMap;
import java.util.Map;
import tonius.simplyjetpacks.integration.ModType;
import cpw.mods.fml.common.Loader;

    public static PackDefaults get(String key) {
        return DEFAULTS.get(key);
    }
    
    // the great mighty List of Defaults
    static {
        // Simply Jetpacks
        PackDefaults d = new PackDefaults("jetpackPotato", "Tuberous Jetpack");
        d.fuelCapacity = 1200;
        d.fuelUsage = 45;
        d.speedVertical = 0.9D;
        d.accelVertical = 0.5D;
        
        d = new PackDefaults("jetpackCreative", "Creative Jetpack");
        d.fuelPerTickOut = 32000;
        d.armorReduction = 12;
        d.enchantability = 20;
        d.speedVertical = 0.9D;
        d.accelVertical = 0.15D;
        d.speedVerticalHover = 0.45D;
        d.speedVerticalHoverSlow = 0.0D;
        d.speedSideways = 0.21D;
        d.sprintSpeedModifier = 2.5D;
        d.emergencyHoverMode = true;
        
        d = new PackDefaults("fluxPackCreative", "Creative Flux Pack");
        d.fuelPerTickOut = 32000;
        d.armorReduction = 8;
        d.enchantability = 10;
        
        if (ModType.THERMAL_EXPANSION.loaded) {