-
-
Notifications
You must be signed in to change notification settings - Fork 436
1.13+ update #270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
1.13+ update #270
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
53667c2
Updated to new API
EazyFTW e2e735f
Update Launcher.java
EazyFTW fa93e3d
Update Updater.java
EazyFTW 8079a0d
Added 1.13+ support. (New minecraft jar locations, per-environment li…
barpec12 d4825a5
Added 1.13+ support. (New minecraft jar locations, per-environment li…
barpec12 03342f6
Mod fix.
barpec12 a938d01
Update launcher/src/main/java/com/skcraft/launcher/model/minecraft/Ar…
jkroepke 7988a17
Update launcher/src/main/java/com/skcraft/launcher/update/Updater.java
jkroepke 474b785
1.8 fix, added version type flag support.
barpec12 1056825
Merge remote-tracking branch 'origin/official' into official
barpec12 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
launcher/src/main/java/com/skcraft/launcher/model/minecraft/Arguments.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.skcraft.launcher.model.minecraft; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
import lombok.Data; | ||
|
||
import java.util.List; | ||
|
||
/** | ||
* @author barpec12 | ||
*/ | ||
@Data | ||
@JsonIgnoreProperties(ignoreUnknown = true) | ||
public class Arguments { | ||
|
||
private List<Object> game; | ||
private List<Object> jvm; | ||
} |
15 changes: 15 additions & 0 deletions
15
launcher/src/main/java/com/skcraft/launcher/model/minecraft/Artifact.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package com.skcraft.launcher.model.minecraft; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
import lombok.Data; | ||
|
||
/** | ||
* @author barpec12 | ||
*/ | ||
@Data | ||
@JsonIgnoreProperties(ignoreUnknown = true) | ||
public class Artifact { | ||
|
||
private String path; | ||
private String url; | ||
} |
17 changes: 17 additions & 0 deletions
17
launcher/src/main/java/com/skcraft/launcher/model/minecraft/Downloads.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.skcraft.launcher.model.minecraft; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
import lombok.Data; | ||
|
||
import java.util.HashMap; | ||
|
||
/** | ||
* @author barpec12 | ||
*/ | ||
@Data | ||
@JsonIgnoreProperties(ignoreUnknown = true) | ||
public class Downloads { | ||
|
||
private Artifact artifact; | ||
private HashMap<String, Artifact> classifiers; | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
launcher/src/main/java/com/skcraft/launcher/model/modpack/DownloadClient.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.skcraft.launcher.model.modpack; | ||
|
||
import lombok.Data; | ||
|
||
@Data | ||
public class DownloadClient { | ||
|
||
private String sha1; | ||
private int size; | ||
private String url; | ||
|
||
} |
12 changes: 12 additions & 0 deletions
12
launcher/src/main/java/com/skcraft/launcher/model/modpack/DownloadServer.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.skcraft.launcher.model.modpack; | ||
|
||
import lombok.Data; | ||
|
||
@Data | ||
public class DownloadServer { | ||
|
||
private String sha1; | ||
private int size; | ||
private String url; | ||
|
||
} |
11 changes: 11 additions & 0 deletions
11
launcher/src/main/java/com/skcraft/launcher/model/modpack/LatestVersions.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.skcraft.launcher.model.modpack; | ||
|
||
import lombok.Data; | ||
|
||
@Data | ||
public class LatestVersions { | ||
|
||
private String release; | ||
private String snapshot; | ||
|
||
} |
18 changes: 18 additions & 0 deletions
18
launcher/src/main/java/com/skcraft/launcher/model/modpack/LauncherJSON.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package com.skcraft.launcher.model.modpack; | ||
|
||
|
||
import lombok.Data; | ||
|
||
import java.util.List; | ||
|
||
@Data | ||
public class LauncherJSON { | ||
|
||
private LatestVersions latest; | ||
private List<ModpackVersion> versions; | ||
|
||
public List<ModpackVersion> getVersions() { | ||
return versions; | ||
} | ||
|
||
} |
13 changes: 13 additions & 0 deletions
13
launcher/src/main/java/com/skcraft/launcher/model/modpack/LauncherMeta.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package com.skcraft.launcher.model.modpack; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
import lombok.Data; | ||
|
||
@Data | ||
@JsonIgnoreProperties(ignoreUnknown = true) | ||
public class LauncherMeta { | ||
|
||
private DownloadClient client; | ||
private DownloadServer server; | ||
|
||
} |
12 changes: 12 additions & 0 deletions
12
launcher/src/main/java/com/skcraft/launcher/model/modpack/ModJSON.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.skcraft.launcher.model.modpack; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
import lombok.Data; | ||
|
||
@Data | ||
@JsonIgnoreProperties(ignoreUnknown = true) | ||
public class ModJSON { | ||
|
||
private LauncherMeta downloads; | ||
|
||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.