Commit graph

813 commits

Author SHA1 Message Date
Ubuntu
e234f8b756 add basic installation instructions 2022-10-31 15:37:41 +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
c65e1fc660 Update README.md 2022-10-30 15:05:54 -05:00
mat
694fd39a91 add docs.rs badge 2022-10-30 15:05:14 -05:00
mat
fac4d1afda
Create LICENSE.md 2022-10-30 14:49:46 -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
7d140e5f0c ClientboundContainerClosePacket 2022-10-29 14:33:53 -05:00
mat
7c71bdf79a add doc comments to combat packets 2022-10-29 14:14:47 -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
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
b2e54a7ff0 fix identical shapes being defined multiple times 2022-10-27 20:54:17 -05:00
mat
489cdb01aa fix repeated ids in game/mod.rs 2022-10-24 21:25:36 -05:00
mat
f38d0660d1 fix codegen 2022-10-24 21:10:09 -05:00
Ubuntu
0d55c71cee actually fix out of bounds errors 2022-10-24 19:01:28 +00:00
Ubuntu
61642f165b fix out of bounds y position 2022-10-24 18:20:18 +00:00
mat
3869fd622f write some more docs for az-protocol 2022-10-23 22:59:38 -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
127126c2cc fix panic on purpur servers 2022-10-23 12:53:38 -05:00
mat
9c67ce9a30 fix stack overflow in az-chat 2022-10-21 22:36:57 -05:00
mat
3fbbe5e93d have Display implemented for the Components 2022-10-21 22:30:19 -05:00
mat
6924502bc4 make TranslatableComponent::read return TextComponent 2022-10-21 22:16:37 -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
mat
8d0cad7784 Remove let chains 2022-10-20 22:16:34 -05:00
Sculas
41606fdd14
fix: make fields in PlayerInfo::Action public (#32)
This PR makes the fields in the PlayerInfo packet public.

I encountered this issue when writing my own bot which needs a list of UUID > String of all currently logged-in players, and while writing my handler for `Action::RemovePlayer` I found out that the `uuid` field is private. This PR fixes that.
2022-10-19 10:42:38 -05:00
Ubuntu
c0338cac35 Create cache file directory if it doesn't exist 2022-10-18 19:31:27 +00:00
Ubuntu
4c9de35cc2 fix rustc panic 2022-10-18 18:53:05 +00:00
Ubuntu
051f52474d bump az-client version 2022-10-18 17:08:32 +00:00
Ubuntu
43799946da make Account clonable 2022-10-18 17:01:28 +00:00
Ubuntu
e0dc937d88 change azalea version 2022-10-17 18:52:22 +00:00
Ubuntu
5ffc46ae5c change the order of event in handle fn 2022-10-17 18:51:42 +00:00
Sculas
d4d4ba054f
refactor: remove println statements (#31)
This PR removes all println statements and logs them on trace level instead. Normally, libraries shouldn't print to stdout using println, since there's no control over them.
2022-10-17 13:18:25 -05:00
Ubuntu
96e94aa424 now publish azalea 2022-10-17 18:08:44 +00:00
Ubuntu
2d9f3e8367 ok don't publish azalea yet then 2022-10-17 18:03:09 +00:00
Ubuntu
c09d93fa8a public azalea and az-client 2022-10-17 18:02:03 +00:00
Ubuntu
22f677769d update az-auth description 2022-10-17 17:59:11 +00:00
Ubuntu
85658111da add fs feature to tokio in az-auth 2022-10-17 17:57:46 +00:00