Skip to content

Commit 81d139c

Browse files
committed
1.13.10 1.16.4 Update
1 parent d1817a5 commit 81d139c

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>com.loohp</groupId>
66
<artifactId>InteractionVisualizer</artifactId>
7-
<version>1.13.9</version>
7+
<version>1.13.10</version>
88
<build>
99
<sourceDirectory>src</sourceDirectory>
1010
<resources>

src/com/loohp/interactionvisualizer/Utils/MCVersion.java

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
public enum MCVersion {
44

5+
V1_16_4("1.16.4"),
56
V1_16_2("1.16.2"),
67
V1_16("1.16"),
78
V1_15("1.15"),
@@ -52,7 +53,9 @@ public enum MCVersion {
5253
}
5354

5455
public static MCVersion fromPackageName(String packageName) {
55-
if (packageName.contains("1_16_R2")) {
56+
if (packageName.contains("1_16_R3")) {
57+
return V1_16_4;
58+
} else if (packageName.contains("1_16_R2")) {
5659
return V1_16_2;
5760
} else if (packageName.contains("1_16_R1")) {
5861
return V1_16;
@@ -105,5 +108,13 @@ public boolean isSupported() {
105108
public boolean isPost1_16() {
106109
return this.ordinal() <= MCVersion.V1_16.ordinal();
107110
}
111+
112+
public boolean isPost1_15() {
113+
return this.ordinal() <= MCVersion.V1_15.ordinal();
114+
}
115+
116+
public boolean isPost1_14() {
117+
return this.ordinal() <= MCVersion.V1_14.ordinal();
118+
}
108119

109120
}

0 commit comments

Comments
 (0)