Commit Graph

107 Commits

Author SHA1 Message Date
Tom
5934c78e0c Implement jumped crossings and dropping down two blocks 2020-10-03 18:56:45 -07:00
Tom
a552ddc008 Add warning if sound index is unknown instead of panic 2020-09-29 22:37:51 -07:00
Tom
176c7a68f6 Improve alignment with stairs when moving 2020-09-28 19:33:18 -07:00
Tom
2bdea5a0f9 Implement TransactionConfirmation event + packet 2020-09-27 21:44:24 -07:00
Tom
93cb674bd2 Use more realistic yaw/pitch speeds 2020-09-27 16:32:06 -07:00
Tom
670799df8d Start implementing boilerplate for manipulating inventory 2020-09-26 18:05:40 -07:00
Tom
1a269d9b63 Minor movement improvements 2020-09-26 00:10:48 -07:00
Tom
cadc1cab3a Replicate vanilla physics, make pathing movements smooth 2020-09-25 23:24:12 -07:00
Tom
8384eb99de Tune pathfinding and movements 2020-09-23 23:52:28 -07:00
Tom
39379d1388 Implement asension of ladders 2020-09-23 23:08:37 -07:00
Tom
797ba13fdd Implement ladders 2020-09-23 21:17:37 -07:00
Tom
565b241f0e Use block bounding boxes 2020-09-23 19:02:32 -07:00
Tom
fa6f9b72b3 Get Ascend* movements working reliably 2020-09-23 15:23:47 -07:00
Tom
fcdf4bda87 WIP getting jumping to work 2020-09-21 19:11:52 -07:00
Tom
bb278ddd1d Update item data. 2020-09-20 20:37:50 -07:00
Tom
a46acaa064 Track and update tile entities 2020-09-20 17:11:18 -07:00
Tom
52f30dc402 Implement basic pathfinding 2020-09-20 15:41:58 -07:00
Tom
7d122e2f8b Basic entity tracking 2020-09-19 15:59:03 -07:00
Tom
8cc65a405d Fix off-by-one when cloning chunks 2020-09-18 15:34:48 -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
b58d959b93 Move to new block dataset 2020-09-12 19:47:32 -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
1ec365af32 Blind version bump for 1.16.2 2020-08-26 11:13:43 -05:00
d45de88246 Add bot API to handle experience updates 2020-08-01 23:07:18 +03:00
3933bed4a9 refactor mcbot JoinServer to allow correct handshake packet 2020-07-25 10:55:32 -05:00
ee23be105f Deleted is deleted 2020-07-09 14:07:10 +08: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
3f8f85aa1d 指定當傳送加入伺服器的請求至Mojang時的Content-Type標頭
官方好像正常是要指定Content-Type( https://wiki.vg/Authentication#Request_format )
現在是不加沒關係
但如果Mojang修正的話可能會出錯
2020-06-23 17:26:48 +08:00
dade32116f Simplified bit operation 2020-05-24 12:40:01 +08:00
2ae88b10f4 change API of Section from (x, y, z int) to (offset int) 2020-05-21 17:28:42 +08:00
2db43755f1 The paletteSection can auto increase its underlying directSection. 2020-05-21 17:07:18 +08:00
97dca98819 add unit test for paletteSection 2020-05-19 16:15:39 +08:00
39c9525525 add unit test for directSection 2020-05-19 14:41:01 +08:00
32527442ed add SetBlock function 2020-05-19 14:15:44 +08:00
fa75535f37 add GetBlock function 2020-05-17 14:45:27 +08:00
eba832b424 rewrite chunk data decoder 2020-05-17 13:35:52 +08:00
1d58589601 攻擊時不需指定主手或副手
參照https://wiki.vg/Protocol#Interact_Entity裡的
Hand為Only if Type is interact or interact at;
2020-05-02 17:03:07 +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