Skip to content

Commit

Permalink
Initial Bedrock 1.18 support (doesn't work yet)
Browse files Browse the repository at this point in the history
  • Loading branch information
Camotoy committed Nov 20, 2021
1 parent 13777e7 commit a4b2e05
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions connector/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@
</dependency>
<dependency>
<groupId>com.github.CloudburstMC.Protocol</groupId>
<artifactId>bedrock-v471</artifactId>
<version>0bc10c8e</version>
<artifactId>bedrock-v475</artifactId>
<version>c22aa595</version>
<scope>compile</scope>
<exclusions>
<exclusion>
Expand All @@ -131,7 +131,7 @@
<dependency>
<groupId>com.nukkitx.network</groupId>
<artifactId>raknet</artifactId>
<version>1.6.26-20210217.205834-2</version>
<version>1.6.27-20210506.111625-1</version>
<scope>compile</scope>
<exclusions>
<exclusion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import com.nukkitx.protocol.bedrock.BedrockPacketCodec;
import com.nukkitx.protocol.bedrock.v465.Bedrock_v465;
import com.nukkitx.protocol.bedrock.v471.Bedrock_v471;
import com.nukkitx.protocol.bedrock.v475.Bedrock_v475;

import java.util.ArrayList;
import java.util.List;
Expand All @@ -43,7 +44,7 @@ public class MinecraftProtocol {
* Default Bedrock codec that should act as a fallback. Should represent the latest available
* release of the game that Geyser supports.
*/
public static final BedrockPacketCodec DEFAULT_BEDROCK_CODEC = Bedrock_v471.V471_CODEC;
public static final BedrockPacketCodec DEFAULT_BEDROCK_CODEC = Bedrock_v475.V475_CODEC;
/**
* A list of all supported Bedrock versions that can join Geyser
*/
Expand All @@ -57,6 +58,7 @@ public class MinecraftProtocol {

static {
SUPPORTED_BEDROCK_CODECS.add(Bedrock_v465.V465_CODEC);
SUPPORTED_BEDROCK_CODECS.add(Bedrock_v471.V471_CODEC);
SUPPORTED_BEDROCK_CODECS.add(DEFAULT_BEDROCK_CODEC);
}

Expand Down

0 comments on commit a4b2e05

Please sign in to comment.