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

522 commits

Author SHA1 Message Date
mat
e1d3b902ba add StartUseItemEvent and improve code related to interactions 2025-05-10 06:22:08 +03:30
mat
e9b3128103 don't send chat signing certs on offline-mode servers 2025-05-09 14:12:51 -10:30
mat
5d799be9db re-export bevy_tasks from azalea_client 2025-05-08 06:09:03 +09:00
mat
ad4eaa174c doc warnings 2025-05-07 15:08:31 -05:45
mat
e0d3352a90 add chat signing 2025-05-08 08:51:34 +12:00
mat
aa0256da10 upgrade rust version and fix clippy warnings 2025-05-07 11:27:58 +08:00
mat
e9452032bf fix various issues with mining 2025-05-06 14:20:57 -13:00
mat
af3affb467 fix chunk errors when joining a world with a same name but different height 2025-05-07 06:00:29 +10:00
mat
9a40b65bc1
Add AutoReconnectPlugin (#221)
* add AutoReconnectPlugin

* merge main

* start simplifying swarm internals

* fix Swarm::into_iter, handler functions, DisconnectEvent, and add some more docs

* add ClientBuilder/SwarmBuilder::reconnect_after

* fix a doctest

* reword SwarmEvent::Disconnect doc

* better behavior when we try to join twice

* reconnect on ConnectionFailedEvent too

* autoreconnect is less breaking now
2025-05-02 15:55:58 -05:00
mat
1d3f659c1d make ClientBuilder/SwarmBuilder Send 2025-05-02 02:41:14 +00:00
mat
881055e587 fix InstanceName desync 2025-05-02 01:20:25 +00:00
mat
b3af8d73fa update to bevy 0.16 2025-04-25 01:10:03 -01:00
mat
65c9f555b0 unused import 2025-04-24 16:46:46 -09:00
mat
c84b3161ae info log on DisconnectEvent 2025-04-24 17:13:56 -08:00
mat
adef9bf37b always insert Swarm before any systems can start running 2025-04-24 20:55:58 -03:30
mat
89bc5ca91e update RawConnection::state when start_configuration is received 2025-04-24 11:12:47 -12:45
mat
8012fb90b5 update serialization for set_player_team 2025-04-25 07:24:12 +09:00
mat
8045b4eda2 add StartJoinServerEvent to allow joining servers exclusively from ecs 2025-04-19 23:51:19 -04:30
mat
ae3722d72c send correct uuid in offline mode 2025-04-19 23:49:11 +05:00
mat
e86087366f box display_name in PlayerInfo to make it smaller 2025-04-18 01:09:49 +02:00
mat
ad45cf5431 allow disabling Event::Packet with a crate feature 2025-04-17 10:15:14 -12:45
mat
43d7c428e3 fix another panic on disconnect and slightly optimize client events loop 2025-04-18 00:32:31 +02:00
mat
3f60bdadac
Move login state to the ECS (#213)
* use packet handlers code for login custom_query

* initial broken implementation for ecs-only login

* fixes

* run Update schedule 60 times per second and delete code related to run_schedule_sender

* fix tests

* fix online-mode

* reply to query packets in a separate system and make it easier for plugins to disable individual replies

* remove unused imports
2025-04-17 16:16:51 -05:00
mat
66174fc7d4 clippy and fix broken doc tests 2025-04-16 07:13:09 +04:00
mat
a9820dfd79 make goto async and clean up some examples 2025-04-15 22:04:43 -04:30
mat
fd27ca3bec release 0.12.0+mc1.21.5 2025-04-13 05:30:40 +03:00
mat
960b840536 Revert "Release 0.12.0"
This reverts commit e2945b90a9.
2025-04-12 13:33:07 -12:45
mat
e2945b90a9 Release 0.12.0
azalea@0.12.0
azalea-auth@0.12.0
azalea-block@0.12.0
azalea-block-macros@0.12.0
azalea-brigadier@0.12.0
azalea-buf@0.12.0
azalea-buf-macros@0.12.0
azalea-chat@0.12.0
azalea-client@0.12.0
azalea-core@0.12.0
azalea-crypto@0.12.0
azalea-entity@0.12.0
azalea-inventory@0.12.0
azalea-inventory-macros@0.12.0
azalea-language@0.12.0
azalea-physics@0.12.0
azalea-protocol@0.12.0
azalea-protocol-macros@0.12.0
azalea-registry@0.12.0
azalea-registry-macros@0.12.0
azalea-world@0.12.0

Generated by cargo-workspaces
2025-04-12 21:08:44 -05:00
mat
7dcc86e266 remove unwrap in Hello packet handler 2025-04-05 06:37:36 +08:00
mat
adf8a604c4 fix ordering for handle_attack_queued 2025-04-04 13:48:48 -08:45
mat
efc28db6cf remove unnecessary ecs system ordering for handle_outgoing_packets 2025-04-05 01:46:14 +03:30
mat
f250978cdd send attack packets at the end of the tick 2025-04-05 00:50:39 +03:30
mat
5fd57fd630 don't require mut for functions in Client and add some more convenience functions 2025-04-04 16:05:06 -04:30
mat
e99ae608b6 rename ChatPacket::username and uuid to sender and sender_uuid
also adds more convenience functions to Client
2025-04-04 18:24:22 -02:00
mat
1fd0292590 rename ChatPacket::username and uuid to sender and sender_uuid 2025-04-04 06:23:19 -14:00
mat
09d515c8cd breaking change: send azalea::Event::Spawn every time we switch worlds instead of only once ever 2025-04-04 18:09:19 +00:00
mat
5272db8bb4 remove executable bit from files 2025-04-04 15:56:06 +00:00
mat
635bed9fcb fix compilation related to carried_item 2025-03-29 23:39:02 +00:00
mat
43ebbee94a update ServerboundContainerClick to use HashedStack from 1.21.5 2025-03-29 23:10:55 +00:00
mat
4e5c551d65 fix entity deindexing happening at the wrong time 2025-03-28 00:54:17 +00:00
mat
02de98240f fix not replying to ping packets in config state 2025-03-27 21:28:13 +00:00
mat
ef357fdf36
1.21.5 (#198)
* 25w02a

* move item_components codegen to a different module

* remove outdated test

* 25w03a

* start updating to 24w09b

* 1.21.5-pre2

* fix broken packets

* 1.21.5-rc2

* merge main

* delete unused acket_handling

* 1.21.5
2025-03-25 11:17:39 -05:00
mat
8af265e48b PongPlugin 2025-03-25 05:16:10 +00:00
mat
4c53498f07 ignore clippy warning on spawn_listener 2025-03-25 04:32:03 +00:00
EightFactorial
b25474ad66
Wait for plugins to load before starting the ECS (#212)
* Wait for plugins to load before starting the ECS

Also runs `App:finish()` after plugins finish loading.

* Forgot to run `App::cleanup()`

Oops haha

* copy a check from bevy and don't busywait

---------

Co-authored-by: mat <git@matdoes.dev>
2025-03-24 23:30:33 -05:00
mat
656162d218 make events channel in Client::start_client optional 2025-03-25 04:06:47 +00:00
mat
aa2039c868 upgrade deps and slightly improve docs 2025-03-20 03:35:59 +00:00
mat
5c7332b469 add Event::Spawn 2025-03-20 03:30:57 +00:00
mat
13d5cbed1f document Position default 2025-03-20 01:49:15 +00:00
mat
75efbc83fd make SendPacketEvent a bevy trigger 2025-03-19 21:35:47 +00:00