Add support for Minecraft 1.11.1
This commit is contained in:
parent
129693f533
commit
21411af74d
@ -263,7 +263,8 @@ public enum Protocol
|
||||
ProtocolConstants.MINECRAFT_1_9_2,
|
||||
ProtocolConstants.MINECRAFT_1_9_4,
|
||||
ProtocolConstants.MINECRAFT_1_10,
|
||||
ProtocolConstants.MINECRAFT_1_11
|
||||
ProtocolConstants.MINECRAFT_1_11,
|
||||
ProtocolConstants.MINECRAFT_1_11_1
|
||||
) );
|
||||
}
|
||||
|
||||
|
@ -13,6 +13,7 @@ public class ProtocolConstants
|
||||
public static final int MINECRAFT_1_9_4 = 110;
|
||||
public static final int MINECRAFT_1_10 = 210;
|
||||
public static final int MINECRAFT_1_11 = 315;
|
||||
public static final int MINECRAFT_1_11_1 = 316;
|
||||
public static final List<String> SUPPORTED_VERSIONS = Arrays.asList(
|
||||
"1.8.x",
|
||||
"1.9.x",
|
||||
@ -25,7 +26,8 @@ public class ProtocolConstants
|
||||
ProtocolConstants.MINECRAFT_1_9_2,
|
||||
ProtocolConstants.MINECRAFT_1_9_4,
|
||||
ProtocolConstants.MINECRAFT_1_10,
|
||||
ProtocolConstants.MINECRAFT_1_11
|
||||
ProtocolConstants.MINECRAFT_1_11,
|
||||
ProtocolConstants.MINECRAFT_1_11_1
|
||||
);
|
||||
|
||||
public enum Direction
|
||||
|
@ -36,6 +36,7 @@ public abstract class EntityMap
|
||||
case ProtocolConstants.MINECRAFT_1_10:
|
||||
return EntityMap_1_10.INSTANCE;
|
||||
case ProtocolConstants.MINECRAFT_1_11:
|
||||
case ProtocolConstants.MINECRAFT_1_11_1:
|
||||
return EntityMap_1_11.INSTANCE;
|
||||
}
|
||||
throw new RuntimeException( "Version " + version + " has no entity map" );
|
||||
|
Loading…
Reference in New Issue
Block a user