Skip to content

Commit c296e2f

Browse files
committed
Update protocol to v534
1 parent 0697648 commit c296e2f

4 files changed

Lines changed: 7 additions & 5 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Minecraft Bedrock Edition 假人客户端
4949
* JavaScript API
5050

5151
## 支持的版本
52-
* 理论上支持1.7.0到1.19.1之间的所有版本
52+
* 理论上支持1.7.0到1.19.10之间的所有版本
5353

5454
## WebSocket API
5555
* FakePlayer提供WebSocket API以供其他插件/程序与FakePlayer进行通信,目前支持的操作有添加/删除假人,获取假人列表等

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55
}
66

77
group 'com.ddf.fakeplayer'
8-
version '0.5.5-alpha'
8+
version '0.5.6-alpha'
99

1010
repositories {
1111
maven {
@@ -31,7 +31,7 @@ repositories {
3131
}
3232

3333
dependencies {
34-
implementation 'com.nukkitx.protocol:bedrock-v527:2.9.8-SNAPSHOT'
34+
implementation 'com.nukkitx.protocol:bedrock-v534:2.9.9-SNAPSHOT'
3535
implementation 'com.google.code.gson:gson:2.8.7'
3636
implementation 'org.yaml:snakeyaml:1.29'
3737
implementation 'com.formdev:flatlaf:1.5'

release-notes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
## 更新内容
2-
* 支持1.19.1版本(协议版本527)
2+
* 支持1.19.10版本(协议版本534)
33

44
## Change Log
5-
* Support 1.19.1 version (Protocol 527)
5+
* Support MC v1.19.10 (Protocol 534)

src/main/java/com/ddf/fakeplayer/util/ProtocolVersionUtil.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import com.nukkitx.protocol.bedrock.v486.Bedrock_v486;
2323
import com.nukkitx.protocol.bedrock.v503.Bedrock_v503;
2424
import com.nukkitx.protocol.bedrock.v527.Bedrock_v527;
25+
import com.nukkitx.protocol.bedrock.v534.Bedrock_v534;
2526

2627
import java.io.IOException;
2728
import java.util.Collections;
@@ -60,6 +61,7 @@ public class ProtocolVersionUtil {
6061
registerPacketCodec(Bedrock_v486.V486_CODEC, 10, null);
6162
registerPacketCodec(Bedrock_v503.V503_CODEC, 10, null);
6263
registerPacketCodec(Bedrock_v527.V527_CODEC, 10, null);
64+
registerPacketCodec(Bedrock_v534.V534_CODEC, 10, null);
6365
codecMap = Collections.unmodifiableMap(codecMap);
6466
rakNetVersionMap = Collections.unmodifiableMap(rakNetVersionMap);
6567
blockPaletteMap = Collections.unmodifiableMap(blockPaletteMap);

0 commit comments

Comments
 (0)