Minecraft 1.21-pre2 support

This commit is contained in:
md_5 2024-06-02 09:41:02 +10:00
parent 52ab21b1ff
commit e7e0b97cff
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11
2 changed files with 12 additions and 2 deletions

View File

@ -46,7 +46,7 @@ public class ProtocolConstants
public static final int MINECRAFT_1_20_2 = 764; public static final int MINECRAFT_1_20_2 = 764;
public static final int MINECRAFT_1_20_3 = 765; public static final int MINECRAFT_1_20_3 = 765;
public static final int MINECRAFT_1_20_5 = 766; public static final int MINECRAFT_1_20_5 = 766;
public static final int MINECRAFT_1_21 = 1073742022; public static final int MINECRAFT_1_21 = 1073742024;
public static final List<String> SUPPORTED_VERSIONS; public static final List<String> SUPPORTED_VERSIONS;
public static final List<Integer> SUPPORTED_VERSION_IDS; public static final List<Integer> SUPPORTED_VERSION_IDS;

View File

@ -69,7 +69,17 @@ public class ServerLinks extends DefinedPacket
public enum LinkType public enum LinkType
{ {
REPORT_BUG;
REPORT_BUG,
COMMUNITY_GUIDELINES,
SUPPORT,
STATUS,
FEEDBACK,
COMMUNITY,
WEBSITE,
FORUMS,
NEWS,
ANNOUNCEMENTS;
} }
@Data @Data