Commit Graph

22 Commits

Author SHA1 Message Date
2e211573fb Write entire packet at once (#235)
Optimize `packWithoutCompression` function, close #234 .
2023-03-31 00:51:25 +08:00
06260e2b00 fix typo 2022-12-11 22:00:32 +08:00
55d79f791a 1.19.2 chat support 2022-11-30 18:50:10 +08:00
7814e7b1ab update 1.19.2 bot, chat support 2022-11-26 15:58:31 +08:00
64667826d0 go fmt 2022-11-16 23:32:33 +08:00
0c9ea959a7 add unpack packet check to prevent panic 2022-05-28 14:23:00 +08:00
4e7db1e122 Fix bugs in packet.Packet.Pack() 2021-12-12 15:23:21 +08:00
b34044cff9 fix #132 2021-11-30 16:12:12 +08:00
11dd523542 Add buffer pool 2021-11-27 16:17:27 +08:00
ab63acbd7e New server framework, an example, and compressed packet fixed. 2021-11-27 15:25:55 +08:00
91e7ffa464 Fix #95 2021-03-14 13:35:09 +08:00
21207830c0 Fix over-read bug of go-mc/net packet 2021-02-27 01:15:44 +08:00
3da9321f59 Refactoring package go-mc/bot 2021-02-27 01:06:07 +08:00
f8b3501b60 Fix other code for compatible with new go-mc/net packet 2021-02-25 20:22:06 +08:00
27a30efe7b Change conn.ReadPacket for reuse of the buffer 2021-02-25 14:24:28 +08:00
9b6f640843 update to 1.16 and removes usage of "io/ioutil" 2021-02-25 12:43:39 +08:00
ea0e0d1cae Regenerate files, moves packet id from data package 2021-02-18 21:29:16 +08:00
bc9cd93066 Fix some warnings and typos 2021-02-18 14:07:30 +08:00
Tom
358fb7b659 Implement generator and type for packet IDs 2020-09-12 13:38:45 -07:00
61f1fc31b6 change packet id from Byte to VarInt. #59 2020-06-02 14:33:21 +08:00
e8bb060cc4 更新1.15协议部分 2019-12-11 11:07:47 +08:00
0d436609ce init 2019-05-01 15:22:42 +08:00