Commit Graph

25 Commits

Author SHA1 Message Date
185020e31c Squashed below commits
Some checks failed
CodeQL / Analyze (go) (push) Has been cancelled
Go / Test (1.22) (push) Has been cancelled
Go / Test (^1.22) (push) Has been cancelled
nbt chat message

fixes some bug

chunk temp

relocate module

items id
2025-08-27 20:29:40 +08:00
61916db07a Apply "network nbt" format for net/packet.
examples and tests are updated
2023-11-19 02:01:17 +08:00
943d9fbe26 Add benchmark for pk.Packet.packWithCompression() 2023-04-05 22:24:06 +08:00
48a6956090 pk.NBT() disallow unknown field by default 2023-04-05 21:05:59 +08:00
a42267ba31 Replace all interface{} to any 2023-04-05 19:35:20 +08:00
58163a8de3 fix VarInt and VarLong fuzz test error message format 2023-03-31 23:04:00 +08:00
dd67478593 Add Len method for VarInt and VarLong. 2023-03-31 13:13:17 +08:00
06260e2b00 fix typo 2022-12-11 22:00:32 +08:00
fad92fe364 format repo with "gofumpt" tool 2022-11-26 20:37:57 +08:00
d94993f34f better nbt error message & dimensioncodec decoder 2022-06-19 23:05:10 +08:00
4cc7ed22b7 change pk.Ary API 2022-05-28 13:47:07 +08:00
4c2510565d pk.Ary and pk.Array using generic now 2022-03-20 01:17:25 +08:00
29ce46a244 Minor changes that don't matter 2021-05-24 13:08:06 +08:00
7d4f4db36a pk.NBT() support parameter optionalTagName 2021-05-24 12:49:48 +08:00
cfde0f6e79 Example for #101 2021-05-24 12:28:51 +08:00
c4c4ebeda8 Add tests and examples for pk.Opt and pk.Tuple. 2021-04-02 01:16:43 +08:00
951bedbb13 Fix tests, changes pk.NBT api 2021-02-28 15:14:52 +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
c87bdc91be Add unit test for invalid long VarInt 2020-04-26 13:06:42 +08:00
72c389c86f Support VarLong encode/decode 2020-01-29 13:57:57 +08:00
4a0dc34854 add support of the byte array with varint len. 2019-06-03 13:01:15 +08:00
637d5e35a3 remove PositionPackTest 2019-05-19 11:36:54 +08:00
94fb6502db 添加了一些注释和例子 2019-05-17 14:10:52 +08:00
0d436609ce init 2019-05-01 15:22:42 +08:00