Commit Graph

59 Commits

Author SHA1 Message Date
1d58589601 攻擊時不需指定主手或副手
參照https://wiki.vg/Protocol#Interact_Entity裡的
Hand為Only if Type is interact or interact at;
2020-05-02 17:03:07 +08:00
a908a03fcd Use %w in file ingame.go and nbt package, then we can use errors.Is for compare 2020-03-04 12:37:43 +08:00
7defd6062c fix nbt: unexpected TAG_End error, which trigger by picking up an item without NBT. 2020-03-04 12:00:19 +08:00
e10bb44716 fix nbt: unexpected TAG_End error, which trigger by picking up an item without NBT. 2020-03-04 11:53:16 +08:00
478fd678c8 Fix wrong behavior when data covers two adjacent int64 in fillSection 2020-02-18 16:48:14 +08:00
beac876beb 更新版本号至1.15.2
Updates code to minecraft 1.15.2 (protocol 578)
2020-01-22 12:17:58 -06:00
a8798ce9fb Correct behavior of method Client.Disconnect() 2020-01-14 17:19:12 +08:00
72b1820826 用更简单的方式为bot包支持代理 2020-01-05 01:14:38 +08:00
933222faf5 Change bot.JoinConn(*go-mc/net.Conn) to bot.JoinConn(net.Conn) 2020-01-05 00:33:35 +08:00
b2a5f7b720 Add bot.JoinConn() 2020-01-04 23:44:58 +08:00
d3e1ec1523 更新版本号至1.15.1 2019-12-29 07:59:39 +08:00
37c98c8d26 decode Biomes data 2019-12-14 22:37:03 +08:00
4384646214 decode Biomes data 2019-12-14 22:30:12 +08:00
e8bb060cc4 更新1.15协议部分 2019-12-11 11:07:47 +08:00
9576aa2823 may fix #28 2019-10-20 14:19:38 +08:00
323dc15eec Test of offline UUID 2019-08-29 15:55:43 +08:00
d0dbc703cf get offline UUID of player from their name! 2019-08-29 15:52:54 +08:00
d85d31da46 you can dial connection with timeout, and the PingAndList at /bot also. 2019-08-27 02:06:59 +08:00
0c48980309 Disconnect method, SendPacket and ReceivePacket. 2019-08-16 12:46:09 +08:00
6ed67477c7 remove inventory and hotbar method 2019-08-11 09:54:09 +08:00
c667d86153 #4 2019-08-09 18:17:50 +08:00
dac6580ff8 now the new yggdrasil package and /cmd s can pass go test >_< 2019-08-09 00:53:39 +08:00
73af09e2ea chat package will not ignore the translate message now, but return the row msg. 2019-08-07 15:23:25 +08:00
1073099cbd struct column and chunk, and optimization 2019-08-03 18:02:18 +08:00
fed2cf25ce issue #4 临时解决方法 2019-08-02 11:14:58 +08:00
02eb7283d1 hide Payload in authenticate 2019-08-01 12:09:58 +08:00
927de56d35 修改错误的版本号 2019-07-20 10:54:06 +08:00
a1cc368be2 升级到1.14.4 2019-07-20 02:13:26 +08:00
a7858a2459 修正代码中的若干拼写错误 2019-07-16 23:28:02 +08:00
1de05fc44c 更新ProtocolID 2019-06-25 13:30:43 +08:00
9b2360fc93 修复了玩家物品栏装有物品时解析出错的问题 2019-06-15 15:52:25 +08:00
0a094cf956 add HeldItemChange event 2019-06-10 15:24:24 +08:00
f909ed405e 测试并改正放置、挖掘方块的API 2019-06-08 14:17:26 +08:00
d53f77dbae 更新了几个API 2019-06-08 11:07:00 +08:00
722c21bff9 修复了服务端断开连接时,若不响应Disconnect事件则会崩溃的问题 2019-06-07 12:38:47 +08:00
778caf1a40 format the code 2019-05-29 21:34:58 +08:00
ec50ada707 update to 1.14.2 2019-05-29 21:21:43 +08:00
bfb5e51f24 修复一点风格问题 2019-05-29 21:16:29 +08:00
2407b4f0ed update README.mc 2019-05-26 14:59:32 +08:00
837bb0b213 try read ChunkData 2019-05-21 00:11:27 +08:00
b396e2f9d5 fix the login mistake of the example 2019-05-20 08:06:06 +08:00
edc99fc773 一个替换登入账号的代理服务器 2019-05-20 00:45:56 +08:00
bb7fffbce6 recive Chunk data 2019-05-19 21:27:07 +08:00
845b7949dd remove gomcbot 2019-05-19 18:48:06 +08:00
438285676d support Inventory and Delegate 2019-05-19 17:44:49 +08:00
e088636fbc fix some misspell 2019-05-19 11:55:58 +08:00
7e8118e21f PluginMessage event 2019-05-19 11:32:31 +08:00
4653cab5e1 update to 1.14.1 2019-05-19 10:11:20 +08:00
94fb6502db 添加了一些注释和例子 2019-05-17 14:10:52 +08:00
a005470e2b fix HealthChange event name error 2019-05-15 00:02:59 +08:00