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.30之间的所有版本
56+ * 理论上支持1.7.0到1.19.40之间的所有版本
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.9 -alpha'
8+ version ' 0.5.10 -alpha'
99
1010repositories {
1111 maven {
@@ -31,7 +31,7 @@ repositories {
3131}
3232
3333dependencies {
34- implementation ' com.nukkitx.protocol:bedrock-v554 :2.9.12 -SNAPSHOT'
34+ implementation ' com.nukkitx.protocol:bedrock-v557 :2.9.14 -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## 更新内容
22
3- * 支持1.19.30版本(协议版本554 )
3+ * 支持1.19.40版本(协议版本557 )
44
55## Change Log
66
7- * Support MC v1.19.30 (Protocol 554 )
7+ * Support MC v1.19.40 (Protocol 557 )
Original file line number Diff line number Diff line change 2626import com .nukkitx .protocol .bedrock .v544 .Bedrock_v544 ;
2727import com .nukkitx .protocol .bedrock .v545 .Bedrock_v545 ;
2828import com .nukkitx .protocol .bedrock .v554 .Bedrock_v554 ;
29+ import com .nukkitx .protocol .bedrock .v557 .Bedrock_v557 ;
2930
3031import java .io .IOException ;
3132import java .util .Collections ;
@@ -68,6 +69,7 @@ public class ProtocolVersionUtil {
6869 registerPacketCodec (Bedrock_v544 .V544_CODEC , 10 , null );
6970 registerPacketCodec (Bedrock_v545 .V545_CODEC , 10 , null );
7071 registerPacketCodec (Bedrock_v554 .V554_CODEC , 11 , null );
72+ registerPacketCodec (Bedrock_v557 .V557_CODEC , 11 , null );
7173 codecMap = Collections .unmodifiableMap (codecMap );
7274 rakNetVersionMap = Collections .unmodifiableMap (rakNetVersionMap );
7375 blockPaletteMap = Collections .unmodifiableMap (blockPaletteMap );
You can’t perform that action at this time.
0 commit comments