mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-15 13:04:36 +00:00
1.20.6 - Not working yet
This commit is contained in:
parent
8270a2d9a3
commit
08c5c15557
17 changed files with 654 additions and 81 deletions
|
|
@ -153,7 +153,7 @@ namespace MinecraftClient.Protocol
|
|||
int[] suppoertedVersionsProtocol18 =
|
||||
{
|
||||
4, 5, 47, 107, 108, 109, 110, 210, 315, 316, 335, 338, 340, 393, 401, 404, 477, 480, 485, 490, 498, 573,
|
||||
575, 578, 735, 736, 751, 753, 754, 755, 756, 757, 758, 759, 760, 761, 762, 763, 764, 765
|
||||
575, 578, 735, 736, 751, 753, 754, 755, 756, 757, 758, 759, 760, 761, 762, 763, 764, 765, 766
|
||||
};
|
||||
|
||||
if (Array.IndexOf(suppoertedVersionsProtocol18, protocolVersion) > -1)
|
||||
|
|
@ -345,6 +345,9 @@ namespace MinecraftClient.Protocol
|
|||
case "1.20.3":
|
||||
case "1.20.4":
|
||||
return 765;
|
||||
case "1.20.5":
|
||||
case "1.20.6":
|
||||
return 766;
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
|
|
@ -424,6 +427,7 @@ namespace MinecraftClient.Protocol
|
|||
763 => "1.20",
|
||||
764 => "1.20.2",
|
||||
765 => "1.20.4",
|
||||
766 => "1.20.6",
|
||||
_ => "0.0"
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue