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

771 commits

Author SHA1 Message Date
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
mat
12269a9dc0 start converting some functions in az-client into systems
committing because i'm about to try something that might go horribly wrong
2022-12-26 20:50:37 -06:00
mat
24fc8dc188 packet handler uses the ecs now
and other fun changes

i still need to make ticking use the ecs but that's tricker, i'm considering using bevy_ecs systems for those

bevy_ecs systems can't be async but the only async things in ticking is just sending packets which can just be done as a tokio task so that's not a big deal
2022-12-25 17:12:14 -06:00
mat
8a93a2c158 some ecs stuff in az-client 2022-12-24 20:13:53 -06:00
mat
13fc403484 change a bunch of entity things to use the components 2022-12-24 19:21:11 -06:00
mat
ba5b7b5cab random fixes 2022-12-24 17:43:33 -06:00
mat
eff339661f ok well it compiles but
it definitely doesn't work
2022-12-22 20:09:03 -06:00
mat
f6689e62fe more ecs stuff for entity storage 2022-12-20 13:55:33 -06:00
mat
1436a88ca2 start switching more entity stuff to use ecs 2022-12-17 21:47:40 -06:00
mat
1d26604ec6 generate metadata.rs correctly for bevy_ecs 2022-12-17 19:09:36 -06:00
mat
52772afe85 rename Component to FormattedText
also start making the metadata use bevy_ecs but bevy_ecs doesn't let you query on Bundles so it's annoying
2022-12-13 19:08:49 -06:00
129e2adf0a add bevy_ecs to deps 2022-12-13 22:58:20 +00:00
1b99803b21 get rid of worldhaver
it's not even used
2022-12-12 15:24:39 +00:00
mat
4c35a25dd4 fix registry codegen 2022-12-11 22:49:41 -06:00
mat
78cc1035ce make entity codegen generate ecs stuff 2022-12-11 22:46:56 -06:00
mat
767a834bbc start making metadata use hecs 2022-12-11 17:42:41 -06:00
mat
2813d532e7 add EntityData::kind 2022-12-11 15:18:57 -06:00
mat
fd18cae476 fix bot/main.rs 2022-12-11 13:34:36 -06:00
mat
fa290b30f2 fix PartialWorld::default() for tests 2022-12-11 03:23:20 -06:00
mat
b60a55e61e rename find_entity to entity_by & add entities_by 2022-12-11 02:24:31 -06:00
mat
37b9f10b3b make entities have a reference to WeakWorlds instead
... and other exciting bug fixes
2022-12-11 00:15:37 -06:00
2d6737b247 (cargo-release) version 0.5.0 2022-12-09 15:34:29 +00:00
b6d0b3744d (cargo-release) version 0.5.0 2022-12-09 15:34:29 +00:00
16be171fb4 (cargo-release) version 0.5.0 2022-12-09 15:34:29 +00:00
6a5008b0f7 (cargo-release) version 0.5.0 2022-12-09 15:34:28 +00:00
4484411489 (cargo-release) version 0.5.0 2022-12-09 15:34:28 +00:00
b0de28d9bd (cargo-release) version 0.5.0 2022-12-09 15:34:28 +00:00
0cce10d1a5 (cargo-release) version 0.5.0 2022-12-09 15:34:27 +00:00
a6a0839521 (cargo-release) version 0.5.0 2022-12-09 15:34:27 +00:00
ebffd5d77e (cargo-release) version 0.5.0 2022-12-09 15:34:26 +00:00
75db835bfc (cargo-release) version 0.5.0 2022-12-09 15:34:26 +00:00
3baae656c0 (cargo-release) version 0.5.0 2022-12-09 15:34:26 +00:00
aa05eeac50 (cargo-release) version 0.5.0 2022-12-09 15:34:26 +00:00
6b3b691376 (cargo-release) version 0.5.0 2022-12-09 15:34:25 +00:00
fd6da211b7 (cargo-release) version 0.5.0 2022-12-09 15:34:25 +00:00
9ef09d75de (cargo-release) version 0.5.0 2022-12-09 15:34:25 +00:00
5d1b8e0339 (cargo-release) version 0.5.0 2022-12-09 15:34:25 +00:00
88fd99ca52 (cargo-release) version 0.5.0 2022-12-09 15:34:25 +00:00
caf684a9ff (cargo-release) version 0.5.0 2022-12-09 15:34:24 +00:00
2c77ea282f (cargo-release) version 0.5.0 2022-12-09 15:34:24 +00:00
d11d413a89 auto replace version in azalea/src/lib.rs 2022-12-09 15:31:59 +00:00
89c29b7a19 mention docs in readme 2022-12-09 15:15:05 +00:00
ca00dbab12 Merge branch 'main' of https://github.com/mat-1/azalea into main 2022-12-09 15:13:14 +00:00
f009761247 fix example in docs 2022-12-09 15:13:08 +00:00
mat
70e2dfed16 wrap_comments = true 2022-12-08 18:39:35 -06:00
f2076daba5 fix a doc comment 2022-12-08 17:01:33 +00:00
mat
431f9e90a7
Reauth on invalid session (#50)
* Reauth on invalid session

* fix to actually use new token and retry auth

* fix unused vars
2022-12-07 21:58:42 -06:00
mat
7d901e39bc
1.19.3 (#34)
* start updating to 22w42a

* work a bit more on 22w42a

* player chat packet

* serverbound hello packet

* Update mod.rs

* add more stuff to clientbound player chat packet

* ClientboundPlayerInfoUpdatePacket

* features enabled and container closed

* serverbound chat packets

* make it compile

* 22w43a

* ServerboundChatSessionUpdatePacket

* profile_public_key isn't Option anymore

* Update bitset.rs

* joining a server works

* fix entitydatavalue

* backtraces + fix clientbound chat message

* fix some warnings and add more ecomments

* 22w44a

* generate en_us.json

* add updating guide to codegen/readme

* fix some markdown

* update list of generated things

* metadata stuff

* Replace PJS generator mod with PixLyzer (#38)

* pixlizer extractor

* start working on shape extraction

* fix generating language

* fix pixlyzer shape generation

* use empty_shape

* generate blocks and shapes

* update pixlyzer dir

* Revert "update pixlyzer dir"

This reverts commit ee9a0e7a49.

* fix

* fix

* Revert "fix"

This reverts commit ad12ddcb00.

* fix

* detect pixlyzer fail

* fix pixlyzer

* 22w45a

* gen entities

* add async-trait dep

* update codegen/readme.md

* explain when rust_log should be used

* remove some unused code

* start fixing pixlyzer issues

* fix a thing in codegen

* almost fixed

* more progress towards 1.19.3

* 1.19.3-pre2

* fixes

* revert some hardcoded property names

* Delete clientbound_player_info_packet.rs

* handle 1.19.3 player info packets

* handle playerinforemove

* start updating to 1.19.3-rc1

* optional registries work

* fix some issues with 1.19.3

chat doesn't work yet

* aaaaaaaaaaaaaaaaa

* oh

* ignore unused shapes

* uncomment generate_blocks

* fix migrate

* 1.19.3-rc2

* fix clippy warnings

* 1.19.3-rc3

* split the azalea-buf macro into separate modules

* improve Recipe in protocol

* 1.19.3
2022-12-07 21:09:58 -06:00