mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Implement 1.8 Entity MetaData
This commit is contained in:
parent
2f1da9e8c9
commit
21cd24e056
5 changed files with 67 additions and 40 deletions
|
|
@ -16,8 +16,8 @@ public abstract class EntityMetadataPalette
|
|||
|
||||
public static EntityMetadataPalette GetPalette(int protocolVersion)
|
||||
{
|
||||
if (protocolVersion < Protocol18Handler.MC_1_9_Version)
|
||||
throw new NotImplementedException();
|
||||
if (protocolVersion <= Protocol18Handler.MC_1_8_Version)
|
||||
return new EntityMetadataPalette18(); // 1.8
|
||||
else if (protocolVersion <= Protocol18Handler.MC_1_12_2_Version)
|
||||
return new EntityMetadataPalette1122(); // 1.9 - 1.12.2
|
||||
else if (protocolVersion <= Protocol18Handler.MC_1_19_2_Version)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue