#2862: Minecraft 1.16.1 support
This commit is contained in:
parent
87cb3b90ea
commit
c5f839c9ad
@ -29,6 +29,7 @@ public class ProtocolConstants
|
|||||||
public static final int MINECRAFT_1_15_1 = 575;
|
public static final int MINECRAFT_1_15_1 = 575;
|
||||||
public static final int MINECRAFT_1_15_2 = 578;
|
public static final int MINECRAFT_1_15_2 = 578;
|
||||||
public static final int MINECRAFT_1_16 = 735;
|
public static final int MINECRAFT_1_16 = 735;
|
||||||
|
public static final int MINECRAFT_1_16_1 = 736;
|
||||||
public static final List<String> SUPPORTED_VERSIONS = Arrays.asList(
|
public static final List<String> SUPPORTED_VERSIONS = Arrays.asList(
|
||||||
"1.8.x",
|
"1.8.x",
|
||||||
"1.9.x",
|
"1.9.x",
|
||||||
@ -63,7 +64,8 @@ public class ProtocolConstants
|
|||||||
ProtocolConstants.MINECRAFT_1_15,
|
ProtocolConstants.MINECRAFT_1_15,
|
||||||
ProtocolConstants.MINECRAFT_1_15_1,
|
ProtocolConstants.MINECRAFT_1_15_1,
|
||||||
ProtocolConstants.MINECRAFT_1_15_2,
|
ProtocolConstants.MINECRAFT_1_15_2,
|
||||||
ProtocolConstants.MINECRAFT_1_16
|
ProtocolConstants.MINECRAFT_1_16,
|
||||||
|
ProtocolConstants.MINECRAFT_1_16_1
|
||||||
);
|
);
|
||||||
|
|
||||||
public enum Direction
|
public enum Direction
|
||||||
|
@ -62,6 +62,7 @@ public abstract class EntityMap
|
|||||||
case ProtocolConstants.MINECRAFT_1_15_2:
|
case ProtocolConstants.MINECRAFT_1_15_2:
|
||||||
return EntityMap_1_15.INSTANCE;
|
return EntityMap_1_15.INSTANCE;
|
||||||
case ProtocolConstants.MINECRAFT_1_16:
|
case ProtocolConstants.MINECRAFT_1_16:
|
||||||
|
case ProtocolConstants.MINECRAFT_1_16_1:
|
||||||
return EntityMap_1_16.INSTANCE;
|
return EntityMap_1_16.INSTANCE;
|
||||||
}
|
}
|
||||||
throw new RuntimeException( "Version " + version + " has no entity map" );
|
throw new RuntimeException( "Version " + version + " has no entity map" );
|
||||||
|
Loading…
Reference in New Issue
Block a user