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

1506 commits

Author SHA1 Message Date
mat
d0b459e827 add support for unnamed structs to azalea-buf-macros 2025-03-29 22:29:37 +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
37cde3ad32 fix components, show_in_tooltip was removed 2025-03-26 00:00:25 +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
113222a3a2 use zlib-rs for compression 2025-03-25 03:54:22 +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
mat
ca2e0b3922 entity collisions 2025-03-16 19:01:31 +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
mat
a95408cbcc fix broken doc links 2025-03-16 04:36:42 +00:00
mat
5f5616145b document ClientboundAddEntity::data 2025-03-16 04:34:32 +00:00
mat
d6a4d91347 impl from u32 for minecraftentityid 2025-03-16 04:23:14 +00:00
Gjum
aeff08f5fa
update dead wiki.vg links (#209) 2025-03-13 17:03:42 -05:00
mat
7981230904 mention NO_COLOR=1 in section about logging in docs 2025-03-13 21:34:54 +00:00
mat
95bdb362ba improve Swarm docs and change an indexing warning to a debug log 2025-03-13 21:27:48 +00:00
mat
f8140e4188 use RawConnection to write reply after getting start_configuration 2025-03-13 21:21:59 +00:00
mat
713b312167 correctly accept resource packs while in config state 2025-03-13 21:01:37 +00:00
mat
249fa55a53 fix wrong Potion data component 2025-03-13 20:52:29 +00:00
mat
65fe072151 fix wrong Consumable component implementation and add set_equipment test 2025-03-13 20:46:12 +00:00
mat
7a192acc99 properly remove from the EntityIdIndex component on despawn 2025-03-13 20:13:58 +00:00
mat
e9a5df2e87 remove EntityBundle on start_configuration 2025-03-07 19:17:23 +00:00
mat
42c79043cf don't send game packets when outside of the game state 2025-03-07 19:11:24 +00:00
mat
28a17f3ed2 add bots and plugins to readme 2025-03-06 04:33:30 +00:00
mat
cf66c4be10 fix despawning entities on dimension change 2025-03-06 04:11:19 +00:00
mat
c9022e8f67 fix errors when switching to Game state and add fast_login test 2025-03-02 05:42:15 +00:00
mat
72d87349fe update outdated comment 2025-02-24 04:26:16 +00:00
mat
7d6cacc79b fix send_receivepacketevent running outside of game state 2025-02-24 04:24:52 +00:00
mat
cfe6bea25a fix compile error 2025-02-24 04:15:33 +00:00
mat
9e061be903 fix an error in set_entity_data 2025-02-24 04:14:54 +00:00
mat
172e0ce079 add fallback for adding LocalEntity so tests don't fail 2025-02-24 03:59:57 +00:00
mat
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
mat
6a5ab34a2d azalea-language now does a binary search instead of a hashmap lookup 2025-02-23 17:39:17 +00:00
mat
2be4f0f2b6 make run_schedule a bounded channel 2025-02-23 17:10:47 +00:00
mat
21acf4c846 try to receive packets all at once before sending run_schedule_sender 2025-02-23 09:05:20 +00:00
mat
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
mat
f8130c3c92 minor memory usage optimizations 2025-02-23 03:10:21 +00:00
mat
34f53baf85 update to rust edition 2024 2025-02-22 23:01:54 +00:00
mat
bdd2fc91e1 update deps 2025-02-22 22:56:07 +00:00
mat
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
mat
444993b609 debug log CARGO_PKG_VERSION on swarm start 2025-02-22 21:52:23 +00:00
mat
74b52a1fc1 fix is_trapdoor_useable_as_ladder and add test 2025-02-22 21:09:35 +00:00
mat
27945c8870 despawn entities when switching worlds and some testbot fixes 2025-02-21 22:50:39 +00:00