Minecraft 1.16.4 support
This commit is contained in:
parent
4199b0ca64
commit
281aecef4c
@ -32,6 +32,7 @@ public class ProtocolConstants
|
|||||||
public static final int MINECRAFT_1_16_1 = 736;
|
public static final int MINECRAFT_1_16_1 = 736;
|
||||||
public static final int MINECRAFT_1_16_2 = 751;
|
public static final int MINECRAFT_1_16_2 = 751;
|
||||||
public static final int MINECRAFT_1_16_3 = 753;
|
public static final int MINECRAFT_1_16_3 = 753;
|
||||||
|
public static final int MINECRAFT_1_16_4 = 754;
|
||||||
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",
|
||||||
@ -69,7 +70,8 @@ public class ProtocolConstants
|
|||||||
ProtocolConstants.MINECRAFT_1_16,
|
ProtocolConstants.MINECRAFT_1_16,
|
||||||
ProtocolConstants.MINECRAFT_1_16_1,
|
ProtocolConstants.MINECRAFT_1_16_1,
|
||||||
ProtocolConstants.MINECRAFT_1_16_2,
|
ProtocolConstants.MINECRAFT_1_16_2,
|
||||||
ProtocolConstants.MINECRAFT_1_16_3
|
ProtocolConstants.MINECRAFT_1_16_3,
|
||||||
|
ProtocolConstants.MINECRAFT_1_16_4
|
||||||
);
|
);
|
||||||
|
|
||||||
public enum Direction
|
public enum Direction
|
||||||
|
@ -66,6 +66,7 @@ public abstract class EntityMap
|
|||||||
return EntityMap_1_16.INSTANCE;
|
return EntityMap_1_16.INSTANCE;
|
||||||
case ProtocolConstants.MINECRAFT_1_16_2:
|
case ProtocolConstants.MINECRAFT_1_16_2:
|
||||||
case ProtocolConstants.MINECRAFT_1_16_3:
|
case ProtocolConstants.MINECRAFT_1_16_3:
|
||||||
|
case ProtocolConstants.MINECRAFT_1_16_4:
|
||||||
return EntityMap_1_16_2.INSTANCE;
|
return EntityMap_1_16_2.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