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
74b52a1fc1
fix is_trapdoor_useable_as_ladder and add test
2025-02-22 21:09:35 +00:00
27945c8870
despawn entities when switching worlds and some testbot fixes
2025-02-21 22:50:39 +00:00
f5f15362f2
fix some components not being removed from clients and add debugecsleak testbot command
2025-02-21 21:51:26 +00:00
5fdea4c0b7
fix wrong docs for testbot
2025-02-21 20:20:17 +00:00
24babbdbe5
GameTick should only happen after Update
2025-02-21 20:17:47 +00:00
mat
833f306e8b
Fix errors on switching dimensions ( #204 )
...
* Fix errors on switching dimensions
* fix other tests
* clippy
* fix log feature in test_simulation
* fix chunks oops
2025-02-21 13:43:56 -06:00
63b1036a96
fix CustomModelData and WrittenBookContent datacomponents
2025-02-21 17:22:00 +00:00
Shayne Hartford
c285fadd34
Enable serde feature in sub-crates ( #202 )
...
Add serde derive to MinecraftEntityId
2025-02-17 17:28:37 -06:00
022771b71b
update docs for TabList to mention how it works as a resource
2025-02-17 23:09:24 +00:00
228489dded
use MinecraftEntityId type instead of u32 in az-protocol
2025-02-16 17:10:04 +00:00
4fb6b07746
upgrade deps
2025-02-14 03:56:36 +00:00
02f50c2dc5
remove stabilized trait_upcasting feature gates
2025-02-14 03:40:51 +00:00
6020a2297f
add todo about wrong calculated_bits_per_entry code
2025-02-04 05:29:18 +00:00
Kumpelinus
858bec2081
Fix deadlock when changing server ( #200 )
...
* Fix deadlock when changing server
* remove unnecessary clones
---------
Co-authored-by: mat <git@matdoes.dev>
2025-02-03 13:31:32 -06:00
8d110a9f7c
cleanup, fix warnings
2025-02-02 21:17:28 +00:00
b08d3d55d7
start implementing data driven registries
2025-02-02 21:15:45 +00:00
cdb68dfb70
update deps
2025-02-02 17:53:04 +00:00
479a7b8927
update actions/upload-pages-artifact and deploy-pages
2025-02-01 21:37:07 +00:00
8d71577da8
fix doc errors
2025-02-01 21:35:11 +00:00
4562967b61
set player metadata on init instead of login
2025-02-01 21:26:37 +00:00
87c34e1c33
add failing test_set_health_before_login test
2025-02-01 20:35:57 +00:00
4aa5010ea2
remove debug log
2025-01-29 06:07:16 +00:00
5bdb07b314
fix PlayerInput to handle diagonal inputs
2025-01-29 06:04:38 +00:00
6c681adc4d
change some warns to debugs
2025-01-29 05:45:17 +00:00
6d8d937d47
add support for tickend and playerinput
2025-01-29 05:29:20 +00:00
befcec9b3a
fix wrong Profile data component impl
2025-01-29 02:09:54 +00:00
ef25e77e52
add data for EntityEffect particle to fix set_entity_data errors on hypixel
2025-01-29 02:02:39 +00:00
67c053638c
fix chunk parsing on hypixel
2025-01-27 19:24:12 +00:00
ed00a5b8f1
don't warn on release mode for unknown PlayerInfoUpdate
2025-01-27 18:14:53 +00:00
fe423416b4
Rename Connection::configuration to config and add some clientbound functions that already existed serverbound
...
taken from Shay's fork: b0ca6076ed
2025-01-25 22:34:00 +00:00
b6ddde99ea
add ProtocolPacket::name function
2025-01-25 22:20:35 +00:00
f2d8d4211b
fix name of field in CommonPlayerSpawnInfo
2025-01-21 23:55:44 +00:00