1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 23:44:38 +00:00
Commit graph

202 commits

Author SHA1 Message Date
mat
9ffe57b9a5 Merge branch 'main' into swarm 2022-11-13 00:36:22 -06:00
mat
6eee543a33
Pathfinder (#25)
Pathfinding is very much not done, but it works enough and I want to get this merged.
TODO: fast replanning, goals that aren't a single node, falling moves (it should be able to play the dropper), parkour moves
2022-11-12 23:54:05 -06:00
mat
16d0cb734c change some dependencies 2022-11-11 23:10:38 -06:00
4a1ec068fc improved docs 2022-11-11 21:04:18 +00:00
dc62ada865 fix clippy warnings 2022-11-10 17:50:41 +00:00
ad8b1b7b24 ignore bad utf8 2022-11-09 18:59:03 +00:00
8de73c336f fix warnings 2022-11-09 17:41:06 +00:00
0675e05e28 don't error on bad entity data packet 2022-11-09 17:34:48 +00:00
350f9f105e don't log light updates 2022-11-08 20:34:39 +00:00
10bdcf3b4d log some more stuff 2022-11-08 20:14:45 +00:00
mat
21898627fd don't panic on kick 2022-11-07 22:06:02 -06:00
mat
d112856ff6
Entity metadata (#37)
* add example generated metadata.rs

* metadata.rs codegen

* add the files

* add comment to top of metadata.rs

* avoid clone

* metadata

* defaults

* defaults

* fix metadata readers and writers

* fix bad bitmasks and ignore some clippy warnings in generated code

* add set_index function to entity metadatas

* applying metadata
2022-11-06 14:05:01 -06:00
0a20160272 change comment to be less than 80 width 2022-11-03 18:00:29 +00:00
7f8c4567b7 Merge branch 'pathfinding' into swarm 2022-11-02 16:09:43 +00:00
6d1b58b868 fix rotations 2022-11-02 16:03:30 +00:00
mat
9b67d7dafb fix deadlock
i still don't understand why it was happening but the solution was to keep the Client::player lock for shorter so it didn't overlap with the Client::dimension lock
2022-11-01 19:31:26 -05:00
70dd62c785 start adding swarm 2022-11-01 20:58:36 +00:00
mat
88e1164daf fix Plugins::get 2022-10-31 23:26:40 -05:00
mat
cd01188b8c make azalea_client keep plugin state 2022-10-31 22:26:57 -05:00
8a507244d3 fix merge issues 2022-10-31 16:06:32 +00:00
ecd5964d13 rename movedirection to walkdirection 2022-10-31 15:32:09 +00:00
mat
aea53cd380 actually fix 2022-10-30 21:44:11 -05:00
mat
261913e606 reply to custom query packet 2022-10-30 21:42:32 -05:00
mat
5ae890f941 replace an expect with unwrap_or_else 2022-10-30 15:42:43 -05:00
mat
329f8b1784 more docs 2022-10-30 15:28:19 -05:00
mat
44ab1ad6ef chore: Release 2022-10-30 14:04:11 -05:00
mat
889f742696 add "repository" field to all crates 2022-10-30 14:03:13 -05:00
mat
f0e9a48222 fix error 2022-10-30 13:07:14 -05:00
mat
99d3a5de9d improve docs a little more 2022-10-30 12:58:44 -05:00
mat
f73872c0cc add packet to match lol 2022-10-29 14:36:07 -05:00
mat
65d8fdcb6c oop fix another unwrap 2022-10-29 14:02:57 -05:00
mat
f235c9d064 don't panic if connection closes on join 2022-10-29 13:54:19 -05:00
606e3e19a1 block pos pathfinding stuff 2022-10-28 20:18:18 +00:00
6bc47c01d8 replace EntityMut and EntityRef with just Entity 2022-10-28 20:00:04 +00:00
f7c8d57b68 add Bot::look_at 2022-10-28 18:24:15 +00:00
mat
d888c0569b more pathfinding stuff 2022-10-28 16:18:22 +00:00
mat
18e45c8e95 Merge branch 'main' into pathfinding 2022-10-28 15:25:57 +00:00
mat
9de6c03dfb use variables directly in format strings
thanks clippy we love you
2022-10-27 21:22:47 -05:00
mat
7ae8bfab50 fix removed packets still being defined 2022-10-27 20:58:11 -05:00
mat
2d3031517f Merge branch 'main' into pathfinding 2022-10-23 22:10:13 -05:00
mat
65da123631
Add Client::set_client_information (#33)
* start adding options

* add default options

* send options packet by default

* mention set_options in Client::join doc

* make TranslatableComponent::read return TextComponent

* change set_options to set_client_information

* clean up some code

* Add `Initialize` event

* fix some clippy warnings

* change `Client::options` to `client_information`
2022-10-23 19:00:24 -05:00
mat
587001724a add # Examples to some docs 2022-10-23 17:01:37 -05:00
mat
c9b1b19ff2 Update examples with new cleaner handle/state 2022-10-23 16:57:28 -05:00
mat
2eade86cf7 make handle cleaner
Arc<Event> -> Event, Arc<Mutex<State>> -> State
Items in State now need to have interior mutability (i.e. Arc<Mutex<T>>), but it's a worthwhile tradeoff since it allows the user to customize it for each field
2022-10-23 16:51:49 -05:00
mat
a9ff79a105 write more documentation 2022-10-23 14:46:06 -05:00
mat
b95e69be8f add function that gets full message content 2022-10-21 21:44:39 -05:00
mat
aa1f2a55e0 work around rustc compilation error 2022-10-21 20:26:49 -05:00
c0338cac35 Create cache file directory if it doesn't exist 2022-10-18 19:31:27 +00:00
051f52474d bump az-client version 2022-10-18 17:08:32 +00:00
43799946da make Account clonable 2022-10-18 17:01:28 +00:00