public int getMajor() {
        return this.major;
    }
Gets the major component of the version.

@return the major component of the version
helper/src/main/java/me/lucko/helper/reflect/MinecraftVersion.java