Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.

Commit

Permalink
Minecraft 1.14.3-pre4 support
Browse files Browse the repository at this point in the history
  • Loading branch information
md-5 committed Jun 21, 2019
1 parent 8eb5683 commit fe2a39e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public class ProtocolConstants
public static final int MINECRAFT_1_14 = 477;
public static final int MINECRAFT_1_14_1 = 480;
public static final int MINECRAFT_1_14_2 = 485;
public static final int MINECRAFT_1_14_3 = 489;
public static final List<String> SUPPORTED_VERSIONS = Arrays.asList(
"1.8.x",
"1.9.x",
Expand All @@ -49,7 +50,8 @@ public class ProtocolConstants
ProtocolConstants.MINECRAFT_1_13_2,
ProtocolConstants.MINECRAFT_1_14,
ProtocolConstants.MINECRAFT_1_14_1,
ProtocolConstants.MINECRAFT_1_14_2
ProtocolConstants.MINECRAFT_1_14_2,
ProtocolConstants.MINECRAFT_1_14_3
);

public enum Direction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public static EntityMap getEntityMap(int version)
case ProtocolConstants.MINECRAFT_1_14:
case ProtocolConstants.MINECRAFT_1_14_1:
case ProtocolConstants.MINECRAFT_1_14_2:
case ProtocolConstants.MINECRAFT_1_14_3:
return EntityMap_1_14.INSTANCE;
}
throw new RuntimeException( "Version " + version + " has no entity map" );
Expand Down

0 comments on commit fe2a39e

Please sign in to comment.