Commit Graph

118 Commits

Author SHA1 Message Date
0958972953 1.21.8 data
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
2025-08-22 06:17:33 +08:00
a3d57fde34 more util types 2025-06-18 08:47:58 +08:00
3eb5bcd054 more util types 2025-06-18 08:47:23 +08:00
9a1f543137 Optimize network types IO (#286) 2024-09-08 01:53:30 +08:00
40b32dfdd7 add support for EnableFeature and CustomReportDetails 2024-06-16 00:42:16 +08:00
2445ff3f71 Fix CFB8 non-overlapping decrypt (#275)
* Fix CFB8 non-overlapping decrypt

* Fix CFB8 edge case of empty src
2024-03-10 00:11:06 +08:00
bc3d77d784 Optimize non-overlapping CFB8 decryption using SIMD XOR (#265) 2023-11-24 06:49:31 +08:00
61916db07a Apply "network nbt" format for net/packet.
examples and tests are updated
2023-11-19 02:01:17 +08:00
7506de289b Improve CFB8 implementation (#256)
* Add CFB8 tests & benchmark

* Improve CFB8 implementation

* Cleanup code

* Speed up with copy function

* Even faster

* Fix & more tests

* Fix tests

* Fix typo
2023-08-19 11:10:28 +08:00
fd4a4bdeb1 Remove travis things. 2023-04-09 14:40:48 +08:00
e99e749f7f Optimize packWithCompression 2023-04-05 22:39:58 +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
91e23602a5 Remove bytes.Buffer usage in pk.NBT() 2023-04-05 19:46:10 +08:00
a42267ba31 Replace all interface{} to any 2023-04-05 19:35:20 +08:00
195945e4ca Fix server for 1.19.4 2023-04-05 18:06:29 +08:00
90501f1357 fix VarInt written bytes counting problem. And add some comments. 2023-04-01 09:58:28 +08:00
a8f9c4bee5 Write entire compressed packet at once (#236) 2023-04-01 09:57:16 +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
2e211573fb Write entire packet at once (#235)
Optimize `packWithoutCompression` function, close #234 .
2023-03-31 00:51:25 +08:00
18ba5e6a30 proxy using support. close #231 2023-02-15 19:32:59 +08:00
fa83b762bf Add chat session 2023-01-01 13:17:07 +08:00
8445fb63cd fix server login for 1.19.3 2022-12-12 23:48:26 +08:00
7bece3bca9 BitSet improvement 2022-12-12 09:13:02 +08:00
86c7c954ec move queue impl, make queue push panic on closed 2022-12-11 22:00:32 +08:00
06260e2b00 fix typo 2022-12-11 22:00:32 +08:00
55d12fc76f fix bot/msg (offline-only support) 2022-12-11 22:00:32 +08:00
fceaa33dc4 fix typo 2022-12-10 10:14:11 +08:00
595891b901 Add docs for Option and Opt 2022-12-06 13:23:57 +08:00
ea76e5a713 pk.Option improvement 2022-12-06 11:52:34 +08:00
55bf5eddbb Add pk.Option API 2022-12-06 02:14:38 +08:00
aadf28dde2 add Hash for Chat Header 2022-12-01 01:42:28 +08:00
55d79f791a 1.19.2 chat support 2022-11-30 18:50:10 +08:00
fad92fe364 format repo with "gofumpt" tool 2022-11-26 20:37:57 +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
d829c47731 PlayerList in game 2022-06-23 13:13:38 +08:00
d94993f34f better nbt error message & dimensioncodec decoder 2022-06-19 23:05:10 +08:00
0c9ea959a7 add unpack packet check to prevent panic 2022-05-28 14:23:00 +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
2aace6b51a bot can receive chunks now 2022-03-13 11:57:02 +08:00
46b021e1ef update to 1.18.2 & fix bug in snbt encoding 2022-03-10 12:29:03 +08:00
cf25807f68 Support SRV records in net.Dial and bot.PingAndListContext 2022-03-06 00:28:46 +08:00
be3a834696 Command parse compound 2022-01-03 15:57:54 +08:00
70b0fbf1b7 Palette support 1 2021-12-17 18:45:06 +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