package net.acomputerdog.BlazeLoader.main;

/**
 * Contains methods for obtaining information about the installed version of BlazeLoader.
 * -MUST remain backward compatible!-
 */
public final class Version {

    /**
     * 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 0;
    }

    /**
     * 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 10;
    }

    /**
     * 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 10;
    }

    @Deprecated
    /**
     * Gets the version of BlazeLoader as an integer.  Incremented by one with every commit.
     * -Will be removed soon!-
     * @return Returns the version of BlazeLoader as an integer.
     */
    public static int getIntVersion(){
        return 23;
    }

    /**
     * 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.6.4";
    }
}

@@ -908,33 +908,33 @@
         return 1
-0
+1
 ;%0A    %7D%0A%0A    /**
@@ -1227,17 +1227,17 @@
 return 1
-0
+1
 ;%0A    %7D%0A
@@ -1513,17 +1513,17 @@
 return 2
-3
+4
 ;%0A    %7D%0A

Update Version