Skip to content

Commit f759275

Browse files
committed
Update protocol to v544
* Bump version to 0.5.7
1 parent cf59fa3 commit f759275

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
@@ -53,7 +53,7 @@ Minecraft Bedrock Edition 假人客户端
5353
* JavaScript API
5454

5555
## 支持的版本
56-
* 理论上支持1.7.0到1.19.10之间的所有版本
56+
* 理论上支持1.7.0到1.19.20之间的所有版本
5757

5858
## WebSocket API
5959
* 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.6-alpha'
8+
version '0.5.7-alpha'
99

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

3333
dependencies {
34-
implementation 'com.nukkitx.protocol:bedrock-v534:2.9.9-SNAPSHOT'
34+
implementation 'com.nukkitx.protocol:bedrock-v544:2.9.11-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.10版本(协议版本534)
2+
* 支持1.19.20版本(协议版本544)
33

44
## Change Log
5-
* Support MC v1.19.10 (Protocol 534)
5+
* Support MC v1.19.20 (Protocol 544)

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
import com.nukkitx.protocol.bedrock.v503.Bedrock_v503;
2424
import com.nukkitx.protocol.bedrock.v527.Bedrock_v527;
2525
import com.nukkitx.protocol.bedrock.v534.Bedrock_v534;
26+
import com.nukkitx.protocol.bedrock.v544.Bedrock_v544;
2627

2728
import java.io.IOException;
2829
import java.util.Collections;
@@ -62,6 +63,7 @@ public class ProtocolVersionUtil {
6263
registerPacketCodec(Bedrock_v503.V503_CODEC, 10, null);
6364
registerPacketCodec(Bedrock_v527.V527_CODEC, 10, null);
6465
registerPacketCodec(Bedrock_v534.V534_CODEC, 10, null);
66+
registerPacketCodec(Bedrock_v544.V544_CODEC, 10, null);
6567
codecMap = Collections.unmodifiableMap(codecMap);
6668
rakNetVersionMap = Collections.unmodifiableMap(rakNetVersionMap);
6769
blockPaletteMap = Collections.unmodifiableMap(blockPaletteMap);

0 commit comments

Comments
 (0)