Commit Graph

66 Commits

Author SHA1 Message Date
f8aaf85c2a handle bundle 2023-08-19 04:57:33 +08:00
a2cae2b77b add packet buffer pool for connection 2023-08-19 04:57:32 +08:00
4e23ad63a2 support multi handler for same packetID and handler priority. 2023-01-06 20:01:05 +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
8e7ac43bf5 Add generic event 2021-02-27 14:49:11 +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
178c34eacb Add the files I forget adding 2021-02-18 21:36:27 +08:00
ea0e0d1cae Regenerate files, moves packet id from data package 2021-02-18 21:29:16 +08:00
67a7b42a01 Fix examples.
Fix Die event trigger incorrectly issue.
2021-02-18 17:42:19 +08:00
750f87e780 Remove commented printf 2021-02-18 13:38:43 +08:00
aab143d928 Auto-generate sound ids and names 2021-01-07 22:18:01 -07:00
Tom
a552ddc008 Add warning if sound index is unknown instead of panic 2020-09-29 22:37:51 -07:00
Tom
2bdea5a0f9 Implement TransactionConfirmation event + packet 2020-09-27 21:44:24 -07:00
Tom
670799df8d Start implementing boilerplate for manipulating inventory 2020-09-26 18:05:40 -07:00
Tom
cadc1cab3a Replicate vanilla physics, make pathing movements smooth 2020-09-25 23:24:12 -07:00
Tom
a46acaa064 Track and update tile entities 2020-09-20 17:11:18 -07:00
Tom
7d122e2f8b Basic entity tracking 2020-09-19 15:59:03 -07:00
Tom
0a6e72a046 Add entity information 2020-09-17 13:05:37 -07:00
Tom
8ecf08fa50 Implement packet decoding for entities 2020-09-17 00:13:08 -07:00
Tom
a981ab84f5 Implement basic X/Z control surface 2020-09-16 21:40:41 -07:00
Tom
70bb24a7fb Major update to implement basic collision 2020-09-16 20:16:47 -07:00
Tom
eec9d30795 Major update of chunk system for 1.16.2 2020-09-14 20:03:57 -07:00
Tom
d3bb141fcd Move decode of complex packets into their own package 2020-09-12 21:13:37 -07:00
Tom
358fb7b659 Implement generator and type for packet IDs 2020-09-12 13:38:45 -07:00
Tom
0ec82d90a7 Update to 1.16.3 + add a few new event callbacks. 2020-09-11 18:00:15 -07:00
48dca250ed Remove debugging output 2020-08-31 11:47:38 -05:00
d3acd41542 Successful decoding of biomesData 2020-08-31 11:35:09 -05:00
ee164b05d4 Remove debugging line 2020-08-30 21:55:53 -05:00
ec0365d9c8 Non-working attempt at parsing new biomesData format 2020-08-30 21:48:52 -05:00
d45de88246 Add bot API to handle experience updates 2020-08-01 23:07:18 +03:00
b22ad870c3 Doesn't convert UUID to string in ChatMsg event. 2020-07-09 13:51:21 +08:00
444229216a Basic support for 1.16.1 2020-07-01 11:32:58 +08:00
32a6898b12 Update packetIDs to 1.16 2020-07-01 09:48:26 +08:00
a908a03fcd Use %w in file ingame.go and nbt package, then we can use errors.Is for compare 2020-03-04 12:37:43 +08:00
7defd6062c fix nbt: unexpected TAG_End error, which trigger by picking up an item without NBT. 2020-03-04 12:00:19 +08:00
e10bb44716 fix nbt: unexpected TAG_End error, which trigger by picking up an item without NBT. 2020-03-04 11:53:16 +08:00
37c98c8d26 decode Biomes data 2019-12-14 22:37:03 +08:00
4384646214 decode Biomes data 2019-12-14 22:30:12 +08:00
e8bb060cc4 更新1.15协议部分 2019-12-11 11:07:47 +08:00
0c48980309 Disconnect method, SendPacket and ReceivePacket. 2019-08-16 12:46:09 +08:00
c667d86153 #4 2019-08-09 18:17:50 +08:00
1073099cbd struct column and chunk, and optimization 2019-08-03 18:02:18 +08:00
fed2cf25ce issue #4 临时解决方法 2019-08-02 11:14:58 +08:00
927de56d35 修改错误的版本号 2019-07-20 10:54:06 +08:00
a1cc368be2 升级到1.14.4 2019-07-20 02:13:26 +08:00
9b2360fc93 修复了玩家物品栏装有物品时解析出错的问题 2019-06-15 15:52:25 +08:00
0a094cf956 add HeldItemChange event 2019-06-10 15:24:24 +08:00