Skip to content

Commit

Permalink
Update support version 1.21.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Pugmatt committed Jul 9, 2024
1 parent fd8d417 commit 4f7df57
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/assets/supportedVersion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.21.1.03
1.21.2.02
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public class BedrockConnect {

public static int globalPacketLimit = RakConstants.DEFAULT_GLOBAL_PACKET_LIMIT;

public static String release = "1.46";
public static String release = "1.47";

public static HashMap<String, String> featuredServerIps;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,16 @@
// Referenced from: https://github.com/GeyserMC/Geyser/blob/master/connector/src/main/java/org/geysermc/connector/network/BedrockProtocol.java

public class BedrockProtocol {
private static final BedrockCodec BEDROCK_V686 = Bedrock_v685.CODEC.toBuilder()
.protocolVersion(686)
.minecraftVersion("1.21.2")
.build();

/**
* Latest available version
*/
public static final BedrockCodec DEFAULT_BEDROCK_CODEC = Bedrock_v685.CODEC;
public static final BedrockCodec DEFAULT_BEDROCK_CODEC = BEDROCK_V686;


/**
* A list of all supported Bedrock versions that can join BedrockConnect
Expand Down Expand Up @@ -75,6 +81,8 @@ public class BedrockProtocol {
.build());
SUPPORTED_BEDROCK_CODECS.add(Bedrock_v671.CODEC.toBuilder()
.build());
SUPPORTED_BEDROCK_CODECS.add(Bedrock_v685.CODEC.toBuilder()
.build());
SUPPORTED_BEDROCK_CODECS.add(DEFAULT_BEDROCK_CODEC);
}

Expand Down

0 comments on commit 4f7df57

Please sign in to comment.