public class BedrockProtocol extends Object
| Modifier and Type | Field and Description |
|---|---|
static com.nukkitx.protocol.bedrock.BedrockPacketCodec |
DEFAULT_BEDROCK_CODEC
Default Bedrock codec that should act as a fallback.
|
static List<com.nukkitx.protocol.bedrock.BedrockPacketCodec> |
SUPPORTED_BEDROCK_CODECS
A list of all supported Bedrock versions that can join Geyser
|
| Constructor and Description |
|---|
BedrockProtocol() |
| Modifier and Type | Method and Description |
|---|---|
static com.nukkitx.protocol.bedrock.BedrockPacketCodec |
getBedrockCodec(int protocolVersion)
Gets the
BedrockPacketCodec of the given protocol version. |
public static final com.nukkitx.protocol.bedrock.BedrockPacketCodec DEFAULT_BEDROCK_CODEC
public static final List<com.nukkitx.protocol.bedrock.BedrockPacketCodec> SUPPORTED_BEDROCK_CODECS
public static com.nukkitx.protocol.bedrock.BedrockPacketCodec getBedrockCodec(int protocolVersion)
BedrockPacketCodec of the given protocol version.protocolVersion - The protocol version to attempt to findCopyright © 2020 GeyserMC. All rights reserved.