a9820dfd79
make goto async and clean up some examples
2025-04-15 22:04:43 -04:30
7dcc86e266
remove unwrap in Hello packet handler
2025-04-05 06:37:36 +08:00
adf8a604c4
fix ordering for handle_attack_queued
2025-04-04 13:48:48 -08:45
efc28db6cf
remove unnecessary ecs system ordering for handle_outgoing_packets
2025-04-05 01:46:14 +03:30
f250978cdd
send attack packets at the end of the tick
2025-04-05 00:50:39 +03:30
5fd57fd630
don't require mut for functions in Client and add some more convenience functions
2025-04-04 16:05:06 -04:30
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
1fd0292590
rename ChatPacket::username and uuid to sender and sender_uuid
2025-04-04 06:23:19 -14:00
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
5272db8bb4
remove executable bit from files
2025-04-04 15:56:06 +00:00
635bed9fcb
fix compilation related to carried_item
2025-03-29 23:39:02 +00:00
43ebbee94a
update ServerboundContainerClick to use HashedStack from 1.21.5
2025-03-29 23:10:55 +00:00
4e5c551d65
fix entity deindexing happening at the wrong time
2025-03-28 00:54:17 +00:00
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
8af265e48b
PongPlugin
2025-03-25 05:16:10 +00:00
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
656162d218
make events channel in Client::start_client optional
2025-03-25 04:06:47 +00:00
aa2039c868
upgrade deps and slightly improve docs
2025-03-20 03:35:59 +00:00
5c7332b469
add Event::Spawn
2025-03-20 03:30:57 +00:00
13d5cbed1f
document Position default
2025-03-20 01:49:15 +00:00
75efbc83fd
make SendPacketEvent a bevy trigger
2025-03-19 21:35:47 +00:00
mat
b0bd992adc
Fluid physics fixes ( #210 )
...
* start fixing code related to fluid physics
* implement force_solid for blocks
* afk pool test
2025-03-16 13:41:17 -05:00
a95408cbcc
fix broken doc links
2025-03-16 04:36:42 +00:00
Gjum
aeff08f5fa
update dead wiki.vg links ( #209 )
2025-03-13 17:03:42 -05:00
f8140e4188
use RawConnection to write reply after getting start_configuration
2025-03-13 21:21:59 +00:00
713b312167
correctly accept resource packs while in config state
2025-03-13 21:01:37 +00:00
7a192acc99
properly remove from the EntityIdIndex component on despawn
2025-03-13 20:13:58 +00:00
e9a5df2e87
remove EntityBundle on start_configuration
2025-03-07 19:17:23 +00:00
42c79043cf
don't send game packets when outside of the game state
2025-03-07 19:11:24 +00:00
cf66c4be10
fix despawning entities on dimension change
2025-03-06 04:11:19 +00:00
c9022e8f67
fix errors when switching to Game state and add fast_login test
2025-03-02 05:42:15 +00:00
72d87349fe
update outdated comment
2025-02-24 04:26:16 +00:00
7d6cacc79b
fix send_receivepacketevent running outside of game state
2025-02-24 04:24:52 +00:00
cfe6bea25a
fix compile error
2025-02-24 04:15:33 +00:00
9e061be903
fix an error in set_entity_data
2025-02-24 04:14:54 +00:00
172e0ce079
add fallback for adding LocalEntity so tests don't fail
2025-02-24 03:59:57 +00:00
b9767424f3
don't remove LocalEntity from disconnected players, add new debug logs, and make GameProfile clones cheaper
2025-02-24 03:55:29 +00:00
6a5ab34a2d
azalea-language now does a binary search instead of a hashmap lookup
2025-02-23 17:39:17 +00:00
2be4f0f2b6
make run_schedule a bounded channel
2025-02-23 17:10:47 +00:00
21acf4c846
try to receive packets all at once before sending run_schedule_sender
2025-02-23 09:05:20 +00:00
dd557c8f29
fix memory leak in simulation tests (lol)
...
also, change some vecs into boxed slices, and add RelativeEntityUpdate::new
2025-02-23 08:47:17 +00:00
mat
e21e1b97bf
Refactor azalea-client ( #205 )
...
* start organizing packet_handling more by moving packet handlers into their own functions
* finish writing all the handler functions for packets
* use macro for generating match statement for packet handler functions
* fix set_entity_data
* update config state to also use handler functions
* organize az-client file structure by moving things into plugins directory
* fix merge issues
2025-02-22 21:45:26 -06:00
f8130c3c92
minor memory usage optimizations
2025-02-23 03:10:21 +00:00
34f53baf85
update to rust edition 2024
2025-02-22 23:01:54 +00:00
bdd2fc91e1
update deps
2025-02-22 22:56:07 +00:00
6fdf5fce49
fix brand and client info so they're only sent when leaving login instead of entering config
...
closes #206
2025-02-22 22:34:06 +00:00
444993b609
debug log CARGO_PKG_VERSION on swarm start
2025-02-22 21:52:23 +00:00
27945c8870
despawn entities when switching worlds and some testbot fixes
2025-02-21 22:50:39 +00:00