Skip to content

Commit

Permalink
Update support version 1.21.40
Browse files Browse the repository at this point in the history
  • Loading branch information
Pugmatt committed Oct 22, 2024
1 parent 4d84c81 commit abbb856
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/assets/supportedVersion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.21.31.04
1.21.40.03
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.50";
public static String release = "1.51";

public static HashMap<String, String> featuredServerIps;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import org.cloudburstmc.protocol.bedrock.codec.v686.Bedrock_v686;
import org.cloudburstmc.protocol.bedrock.codec.v712.Bedrock_v712;
import org.cloudburstmc.protocol.bedrock.codec.v729.Bedrock_v729;
import org.cloudburstmc.protocol.bedrock.codec.v748.Bedrock_v748;

import java.util.ArrayList;
import java.util.List;
Expand All @@ -33,8 +34,8 @@ public class BedrockProtocol {
/**
* Latest available version
*/
public static final BedrockCodec DEFAULT_BEDROCK_CODEC = Bedrock_v729.CODEC.toBuilder()
.minecraftVersion("1.21.30")
public static final BedrockCodec DEFAULT_BEDROCK_CODEC = Bedrock_v748.CODEC.toBuilder()
.minecraftVersion("1.21.40")
.build();


Expand Down Expand Up @@ -90,6 +91,9 @@ public class BedrockProtocol {
SUPPORTED_BEDROCK_CODECS.add(Bedrock_v712.CODEC.toBuilder()
.minecraftVersion("1.21.20 - 1.21.23")
.build());
SUPPORTED_BEDROCK_CODECS.add(Bedrock_v729.CODEC.toBuilder()
.minecraftVersion("1.21.30/1.21.31")
.build());
SUPPORTED_BEDROCK_CODECS.add(DEFAULT_BEDROCK_CODEC);
}

Expand Down

0 comments on commit abbb856

Please sign in to comment.