Commit Graph

803 Commits

Author SHA1 Message Date
93e06594bd Add entity struct for /save 2023-04-23 01:17:51 +08:00
be42d0ec35 fix heightmaps sending error 2023-04-23 00:51:22 +08:00
5f06fa6510 重构 BiomesState, fix typo 2023-04-23 00:08:05 +08:00
de2996336c Update level/chunk and heightmaps 2023-04-22 17:43:10 +08:00
e17642945d Update save/level, add missing fields and enable disallow unknown fields 2023-04-22 15:27:47 +08:00
2856c90170 Update Teleported event 2023-04-20 23:51:18 +08:00
4315d1440c Update blockentitytype.go 2023-04-18 00:34:17 +08:00
90737d09e4 Clean up unnecessary garbage 2023-04-16 21:14:29 +08:00
7bef059b44 Fix nbt bugs that cannot handle tagNames contains commas 2023-04-16 20:42: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
a9ab97292d Add example programs that sniff the RegistryCodec.nbt 2023-04-05 18:04:05 +08:00
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