Commit Graph

56 Commits

Author SHA1 Message Date
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
f909ed405e 测试并改正放置、挖掘方块的API 2019-06-08 14:17:26 +08:00
d53f77dbae 更新了几个API 2019-06-08 11:07:00 +08:00
722c21bff9 修复了服务端断开连接时,若不响应Disconnect事件则会崩溃的问题 2019-06-07 12:38:47 +08:00
778caf1a40 format the code 2019-05-29 21:34:58 +08:00
bfb5e51f24 修复一点风格问题 2019-05-29 21:16:29 +08:00
837bb0b213 try read ChunkData 2019-05-21 00:11:27 +08:00
bb7fffbce6 recive Chunk data 2019-05-19 21:27:07 +08:00
438285676d support Inventory and Delegate 2019-05-19 17:44:49 +08:00
7e8118e21f PluginMessage event 2019-05-19 11:32:31 +08:00
a005470e2b fix HealthChange event name error 2019-05-15 00:02:59 +08:00