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 @@ -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进行通信,目前支持的操作有添加/删除假人,获取假人列表等
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.5 -alpha'
8+ version ' 0.5.6 -alpha'
99
1010repositories {
1111 maven {
@@ -31,7 +31,7 @@ repositories {
3131}
3232
3333dependencies {
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'
Original file line number Diff line number Diff line change 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 )
Original file line number Diff line number Diff line change 2222import com .nukkitx .protocol .bedrock .v486 .Bedrock_v486 ;
2323import com .nukkitx .protocol .bedrock .v503 .Bedrock_v503 ;
2424import com .nukkitx .protocol .bedrock .v527 .Bedrock_v527 ;
25+ import com .nukkitx .protocol .bedrock .v534 .Bedrock_v534 ;
2526
2627import java .io .IOException ;
2728import 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 );
You can’t perform that action at this time.
0 commit comments