File tree Expand file tree Collapse file tree
src/main/java/com/ddf/fakeplayer/util Expand file tree Collapse file tree Original file line number Diff line number Diff 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进行通信,目前支持的操作有添加/删除假人,获取假人列表等
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ plugins {
55}
66
77group ' com.ddf.fakeplayer'
8- version ' 0.5.6 -alpha'
8+ version ' 0.5.7 -alpha'
99
1010repositories {
1111 maven {
@@ -31,7 +31,7 @@ repositories {
3131}
3232
3333dependencies {
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'
Original file line number Diff line number Diff line change 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 )
Original file line number Diff line number Diff line change 2323import com .nukkitx .protocol .bedrock .v503 .Bedrock_v503 ;
2424import com .nukkitx .protocol .bedrock .v527 .Bedrock_v527 ;
2525import com .nukkitx .protocol .bedrock .v534 .Bedrock_v534 ;
26+ import com .nukkitx .protocol .bedrock .v544 .Bedrock_v544 ;
2627
2728import java .io .IOException ;
2829import 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 );
You can’t perform that action at this time.
0 commit comments