File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed
src/com/loohp/interactionvisualizer/Utils Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 22
33public 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}
You can’t perform that action at this time.
0 commit comments