Commit Graph

786 Commits

Author SHA1 Message Date
2e838101db Update dependencies 2023-04-05 14:15:11 +08:00
9aad4d2201 Update bot and server ProtocolVersion 2023-04-05 01:55:48 +08:00
016455d00a Fix go test ./... 2023-04-05 01:46:37 +08:00
3cf4049f2d Update langs to 1.19.4 2023-04-05 01:39:28 +08:00
4dfee51bfc Update data to 1.19.4 2023-04-05 01:19:49 +08:00
69f239550f Update README.md 2023-04-05 00:33:55 +08:00
925b1359fc Use packet queue for bot framework.
Providing concurrently-safing for sending packets.
2023-04-01 10:02:28 +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
6bbfeec2c7 fix go vet 2023-04-01 09:33:33 +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
7d9ea21e65 fix wrong comments, add new comments 2023-02-21 19:50:12 +08:00
c5dd27365e remove fmt.Println in unit test 2023-02-21 19:37:55 +08:00
d5152ac869 Merge pull request #233 from jacklee1792/master 2023-02-21 16:43:38 +08:00
e717b9c6db Add option to disallow unknown fields 2023-02-21 02:02:04 -05:00
7fa4b32dd0 update comments 2023-02-16 21:07:07 +08:00
c880ec13ee Merge pull request #232 from patyhank/patch-1
Fix an error when reading palette
2023-02-16 20:31:45 +08:00
24348d3d70 Fix error when reading palette 2023-02-16 19:56:46 +08:00
18ba5e6a30 proxy using support. close #231 2023-02-15 19:32:59 +08:00
632df9138c update the description text of the examples 2023-02-12 12:57:34 +08:00
69338ec9fe update the description text of the example 2023-02-12 01:26:59 +08:00
fce835984e add a bot example "minimal" 2023-02-12 01:13:51 +08:00
d99bfa7f1b fix daze example 2023-02-12 01:05:38 +08:00
db3081881d playerlist handling remove packet 2023-02-12 01:00:59 +08:00
e7984776c8 update comments 2023-02-12 00:57:17 +08:00
807e94e360 update comments 2023-02-05 20:10:56 +08:00
9a64bcfac7 fix blockCount bug 2023-02-04 00:44:12 +08:00
cb00499efe update encryption response packet for 1.19.3 2023-01-26 22:42:37 +08:00
2f88446ebc brake changes: support dynamic protocols number in ping list handler. 2023-01-07 12:05:42 +08:00
4e23ad63a2 support multi handler for same packetID and handler priority. 2023-01-06 20:01:05 +08:00
36bec6e63d fix bitsPerBlock calculation bug in NewXXXXPaletteContainerWithData 2023-01-02 22:44:45 +08:00
e12b2f368d move SystemChat event from bot/basic to bot/msg 2023-01-01 22:12:03 +08:00
88356fd576 Support disguised chat 2023-01-01 18:50:39 +08:00
bb98d90db3 Support chat validation 2023-01-01 18:43:21 +08:00
fa83b762bf Add chat session 2023-01-01 13:17:07 +08:00
77857a1a85 Add playerinfo recorder for chat message 2022-12-30 01:11:39 +08:00
6fba193255 Adjust blockentities.go.tmpl 2022-12-19 21:08:15 +08:00
ebba0a6a63 Adjust blockentities.go.tmpl 2022-12-19 00:57:50 +08:00
c1a6528a05 Add BlockEntity support 2022-12-18 18:28:08 +08:00
27b1347e74 add SpawnAngle 2022-12-17 14:31:29 +08:00
0e97a958dc fix clientbound packets for 1.19.3 2022-12-14 00:38:12 +08:00
d39f4d398e fix bot/basic UpdateHealth event 2022-12-13 00:46:49 +08:00
8445fb63cd fix server login for 1.19.3 2022-12-12 23:48:26 +08:00
ecc06204c1 update README.md 2022-12-12 19:12:12 +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