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

394 commits

Author SHA1 Message Date
mat
6c6eb5572b clippy + replace some printlns with debug 2022-11-18 22:10:34 -06:00
mat
7ad4b22726
Add functions to get ChatPacket author and content (#42)
* Add functions to get ChatPacket author and content

* add ChatPacket::username and ChatPacket::content
2022-11-18 21:52:09 -06:00
mat
0d004b72ac
Rename "dimension" to "world" (#39)
* rename "dimension" to "world"

* Update mod.rs
2022-11-15 14:52:26 -06:00
614c0df053 clippy 2022-11-15 20:38:32 +00: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
mat
d235349229 add more to optimization docs 2022-11-11 22:16:39 -06:00
mat
e6db7d5f2f add optimization stuff to azalea docs 2022-11-11 21:55:47 -06:00
mat
981105b2c0 fix docs 2022-11-11 20:01:54 -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
e234f8b756 add basic installation instructions 2022-10-31 15:37:41 +00: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
65d8fdcb6c oop fix another unwrap 2022-10-29 14:02:57 -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
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
e0dc937d88 change azalea version 2022-10-17 18:52:22 +00:00
5ffc46ae5c change the order of event in handle fn 2022-10-17 18:51:42 +00:00
96e94aa424 now publish azalea 2022-10-17 18:08:44 +00:00
2d9f3e8367 ok don't publish azalea yet then 2022-10-17 18:03:09 +00:00
c09d93fa8a public azalea and az-client 2022-10-17 18:02:03 +00:00
ba5eb64520 (cargo-release) version 0.2.0 2022-10-17 16:28:54 +00:00
61b586b4d5 (cargo-release) version 0.2.0 2022-10-17 16:28:54 +00:00
b68bcb44d2 (cargo-release) version 0.2.0 2022-10-17 16:28:54 +00:00
2b5d972ae9 disable release on more things 2022-10-17 16:27:42 +00:00
90e33c7e87 temporarily exclude azalea & az-client again 2022-10-17 14:40:00 +00:00
8c01957458 disable bot release 2022-10-17 14:38:58 +00:00
3f7fb41255 change versions and stuff 2022-10-17 14:37:05 +00:00
mat
ab9e50b130 change examples with Account 2022-10-16 22:56:31 -05:00
mat
bb3b4e87fb change description of azalea crate 2022-10-15 17:34:40 -05:00
mat
055d27c7ad fix azalea-buf tests 2022-10-15 17:34:07 -05:00
mat
6f6289376a fix errors with rewritten packet reading
i forgot i never tested it before LMAO
2022-10-07 23:56:23 -05:00
mat
ba4cfaafae
Bot API (#27)
Basically make the `azalea` crate have stuff
2022-10-07 19:57:42 -05:00
mat
e0bcab53b8 start adding stuff to azalea crate 2022-10-02 15:02:27 -05:00
mat
06068377bd
New example (#24)
the example isn't finished but it's finished enough
2022-10-02 14:58:42 -05:00
mat
4301a2f2d4 Publish empty azalea crate 2022-09-05 10:38:40 -05:00