3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-12-26 00:00:41 +01:00

Bump Bedrock protocol library to support v1.12.0

Dieser Commit ist enthalten in:
RednedEpic 2019-07-11 15:53:44 -05:00
Ursprung 96dbe40ba5
Commit 6c760e1f18
2 geänderte Dateien mit 10 neuen und 10 gelöschten Zeilen

Datei anzeigen

@ -59,22 +59,22 @@
<version>1.18.4</version> <version>1.18.4</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency>
<groupId>com.nukkitx.protocol</groupId>
<artifactId>bedrock-v361</artifactId>
<version>2.1.0</version>
<scope>compile</scope>
</dependency>
<dependency> <dependency>
<groupId>com.nukkitx.protocol</groupId> <groupId>com.nukkitx.protocol</groupId>
<artifactId>bedrock-v354</artifactId> <artifactId>bedrock-v354</artifactId>
<version>2.0.3</version> <version>2.1.0</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.nukkitx.protocol</groupId> <groupId>com.nukkitx.protocol</groupId>
<artifactId>bedrock-v340</artifactId> <artifactId>bedrock-v340</artifactId>
<version>2.0.3</version> <version>2.1.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.nukkitx.protocol</groupId>
<artifactId>bedrock-v332</artifactId>
<version>2.0.3</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>

Datei anzeigen

@ -18,7 +18,7 @@ import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.dataformat.yaml.YAMLFactory; import com.fasterxml.jackson.dataformat.yaml.YAMLFactory;
import com.nukkitx.protocol.bedrock.BedrockPacketCodec; import com.nukkitx.protocol.bedrock.BedrockPacketCodec;
import com.nukkitx.protocol.bedrock.BedrockServer; import com.nukkitx.protocol.bedrock.BedrockServer;
import com.nukkitx.protocol.bedrock.v354.Bedrock_v354; import com.nukkitx.protocol.bedrock.v361.Bedrock_v361;
import lombok.Getter; import lombok.Getter;
import org.geysermc.api.ChatColor; import org.geysermc.api.ChatColor;
import org.geysermc.api.Connector; import org.geysermc.api.Connector;
@ -45,7 +45,7 @@ import java.util.concurrent.ScheduledExecutorService;
public class GeyserConnector implements Connector { public class GeyserConnector implements Connector {
public static final BedrockPacketCodec BEDROCK_PACKET_CODEC = Bedrock_v354.V354_CODEC; public static final BedrockPacketCodec BEDROCK_PACKET_CODEC = Bedrock_v361.V361_CODEC;
private static final String NAME = "Geyser"; private static final String NAME = "Geyser";
private static final String VERSION = "1.0-SNAPSHOT"; private static final String VERSION = "1.0-SNAPSHOT";