We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1924f99 commit 2645140Copy full SHA for 2645140
json-data-utils/src/main/java/net/minecraftforge/util/data/json/MinecraftVersion.java
@@ -17,13 +17,20 @@
17
public class MinecraftVersion {
18
/** The version id. */
19
public String id;
20
+ /** The Java version ({@code null} before 1.17). */
21
+ public JavaVersion javaVersion;
22
/** The artifact downloads. */
23
public Map<String, Download> downloads;
24
/** The required libraries. */
25
public Library[] libraries;
26
/** The asset index reference. */
27
public AssetsIndexInfo assetIndex;
28
29
+ public static final class JavaVersion {
30
+ public String component;
31
+ public int majorVersion;
32
+ }
33
+
34
public List<Lib> getLibs() {
35
List<Lib> libs = new ArrayList<>();
36
0 commit comments