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

11 commits

Author SHA1 Message Date
mat
89cee81276 fix entities
basically moved some stuff from being in the world to just being components
2023-01-15 22:03:06 -06:00
473b9f9297 make physicsstate its own component 2023-01-12 02:24:18 +00:00
f02db24e8c fix warnings 2023-01-10 18:05:38 +00:00
mat
a928d83ade make packet handler work
i still haven't actually tested any of this yet lol but in theory it should all work

i'll probably either actually test az-client and fix all the remaining issues or update the azalea crate next

ok also one thing that i'm not particularly happy with is how the packet handlers are doing ugly queries like
```rs
let local_player = ecs
    .query::<&LocalPlayer>()
    .get_mut(ecs, player_entity)
    .unwrap();
```
i think the right way to solve it would be by putting every packet handler in its own system but i haven't come up with a way to make that not be really annoying yet
2023-01-08 23:30:09 -06:00
590a5ded8d start fixing some packets 2023-01-07 01:05:27 +00:00
cf7b2423d0 start fixing stuff 2023-01-05 20:08:04 +00:00
13794dd79a make writing packets work synchronously* 2023-01-03 21:00:46 +00:00
mat
21c08013b7 start figuring out how functions in Client will work
generally just lifetimes being annoying but i think i can get it all to work
2023-01-02 23:16:45 -06:00
mat
50f6578794 packet handling
now it runs the schedule only when we get a tick or packet 😄

also i systemified some more functions and did other random fixes so az-world and az-physics compile

making azalea-client use the ecs is almost done! all the hard parts are done now i hope, i just have to finish writing all the code so it actually works
2023-01-02 18:59:29 -06:00
mat
9193c1b408 separate minecraft entity ids from azalea entity ids + more ecs stuff
i guess i'm using bevy_app now too huh
it's necessary for plugins and it lets us control the tick rate anyways so it's fine i think

i'm still not 100% sure how packet handling that interacts with the world will work, but i think if i can sneak the ecs world into there it'll be fine. Can't put packet handling in the schedule because that'd make it tick-bound, which it's not (technically it'd still work but it'd be wrong and anticheats might realize).
2023-01-01 03:12:48 -06:00
mat
2de5a39f31 start splitting client
i'm probably gonna change it so azalea entity ids are separate from minecraft entity ids next (so stuff like player ids can be consistent and we don't have to wait for the login packet)
2022-12-29 18:58:56 -06:00