package net.acomputerdog.BlazeLoader.main;

/**
 * Contains methods for obtaining information about the installed version of BlazeLoader.
 * -MUST remain backward compatible!-
 */
public final class Version {
    private static final boolean isOBF = isGameOBF();

    /**
     * Gets the global version of BlazeLoader.  A change here will RESET the status of the other two update counters.
     * Mods must check this value first before determining if the version of BL is correct.
     * Generally a change here is either a Minecraft update or a large restructuring.
     *
     * @return Return the global version of BlazeLoader.
     */
    public static int getGlobalVersion() {
        return 2;
    }

    /**
     * Gets the version of the API features of BlazeLoader.  Incremented with changes to API features.
     * Changes here may affect mods.
     *
     * @return Get the version of the API features of BlazeLoader
     */
    public static int getApiVersion() {
        return 6;
    }

    /**
     * Gets the version of the internal features of BlazeLoader.
     * Mods that only use API features should be unaffected by changes here.
     *
     * @return Return an int representing the version of BL's internal components.
     */
    public static int getInternalVersion() {
        return 8;
    }

    /**
     * Gets the version of BlazeLoader as a string formatted for display.  Example return: "0.1.234"
     *
     * @return Returns the version of BlazeLoader as a String formatted for display.
     */
    public static String getStringVersion() {
        return getGlobalVersion() + "." + getApiVersion() + "." + getInternalVersion();
    }

    /**
     * Gets the version of Minecraft that is running.
     *
     * @return Returns a String representing the version of Minecraft, ex. "1.6.4".
     */
    public static String getMinecraftVersion() {
        return "1.7.2";
    }

    public static boolean isGameObfuscated() {
        return isOBF;
    }

    private static boolean isGameOBF() {
        try {
            Class.forName("net.minecraft.client.Minecraft");
            return false;
        } catch (Exception ignored) {
            return true;
        }
    }
}

@@ -1307,9 +1307,9 @@
 urn 
-8
+9
 ;%0A  

Update Version