aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-02-25Fix system order ambiguities (#74)mat
* start fixing stuff where systems run in the wrong order * fix ordering ambiguity * add debugging guide * some fixes * fix panic for swarms * fix some warnings
2023-02-24use rustls in reqwestmat
2023-02-23check entity for retroactively_add_game_profile_componentmat
2023-02-23fix jumpingmat
2023-02-22fix `disconnect_on_read_packets_ended` (#73)Charles Johnson
2023-02-21unused importmat
2023-02-21don't keep firing disconnecteventmat
2023-02-21properly disconnect on ungraceful disconnectmat
2023-02-21make metadata components clonablemat
2023-02-21Fix writing palettes (#72)EightFactorial
2023-02-21improve docs and rename model_customisationmat
2023-02-21Make things public (#71)EightFactorial
* Make struct data pub * Add derives * Rename packet fields * Make Palette structs pub
2023-02-15fix 0ns delaymat
2023-02-15max reconnect wait from 120s to 15smat
2023-02-13Fix ClientboundBlockEventPacket::block (#70)EightFactorial
2023-02-13i should start testing my fixes before committing themmat
2023-02-13fix bad compression on sending long packetsmat
THANKS JAM \SHARP
2023-02-13fix comment in testsUbuntu
2023-02-13fix `BlockCollisions` bounding box (#68)Charles Johnson
* fix `BlockCollisions` bounding box * add test --------- Co-authored-by: Ubuntu <github@matdoes.dev>
2023-02-12DisconnectEventmat
2023-02-12update .cargo/config.tomlmat
thanks bevy
2023-02-12Better chat events (#67)mat
* Better chat events * add a comment explaining why SendChatKindEvent is only one event
2023-02-10fix pathfinder example linkmat
2023-02-10make it so registries can have doc commentsUbuntu
2023-02-10improve docs a bit more and delete potatobot exampleUbuntu
2023-02-10fix and improve examples in docsUbuntu
2023-02-09no iyes_looplessmat
2023-02-09chore: Releasemat
2023-02-09release ecs cratesmat
2023-02-09ok i think i'm gonna leave the block examples like thismat
2023-02-10change wording in a commentUbuntu
2023-02-10change one of the blocks examplesUbuntu
2023-02-10make blockstate goodUbuntu
2023-02-09derive `Debug` for `BlockState` (#64)Charles Johnson
* derive `Debug` for `BlockState` * change default Debug for BlockState --------- Co-authored-by: Ubuntu <github@matdoes.dev>
2023-02-08Add KeepAliveEvent and Fix Error Messages (#65)EightFactorial
* Add KeepAliveEvent * Fix error messages * Panic instead of log error * Do not panic on closed connections * change some wording and fixes * fmt --------- Co-authored-by: Ubuntu <github@matdoes.dev>
2023-02-07move az_world::entity_info to az_world::entities::infoUbuntu
2023-02-06fix some swarm examples/docsUbuntu
2023-02-05shut up clippymat
2023-02-05improve docsmat
2023-02-04reword readme a bitmat
2023-02-04move 'bot' into its own example (actually)mat
2023-02-04move 'bot' into its own examplemat
2023-02-04make task_pool mod publicmat
2023-02-04Use an ECS (#52)mat
* add EntityData::kind * start making metadata use hecs * make entity codegen generate ecs stuff * fix registry codegen * get rid of worldhaver it's not even used * add bevy_ecs to deps * 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 * generate metadata.rs correctly for bevy_ecs * start switching more entity stuff to use ecs * more ecs stuff for entity storage * ok well it compiles but it definitely doesn't work * random fixes * change a bunch of entity things to use the components * some ecs stuff in az-client * 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 * start converting some functions in az-client into systems committing because i'm about to try something that might go horribly wrong * 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) * 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). * packet handling now it runs the schedule only when we get a tick or packet :smile: 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 * start figuring out how functions in Client will work generally just lifetimes being annoying but i think i can get it all to work * make writing packets work synchronously* * huh az-client compiles * start fixing stuff * start fixing some packets * 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 * fix warnings * ok what if i just have a bunch of queries and a single packet handler system * simple example for azalea-client * :bug: * maybe fix deadlock idk can't test it rn lmao * make physicsstate its own component * use the default plugins * azalea compiles lol * use systemstate for packet handler * fix entities basically moved some stuff from being in the world to just being components * physics (ticking) works * try to add a .entity_by function still doesn't work because i want to make the predicate magic * try to make entity_by work well it does work but i couldn't figure out how to make it look not terrible. Will hopefully change in the future * everything compiles * start converting swarm to use builder * continue switching swarm to builder and fix stuff * make swarm use builder still have to fix some stuff and make client use builder * fix death event * client builder * fix some warnings * document plugins a bit * start trying to fix tests * azalea-ecs * azalea-ecs stuff compiles * az-physics tests pass :tada: * fix all the tests * clippy on azalea-ecs-macros * remove now-unnecessary trait_upcasting feature * fix some clippy::pedantic warnings lol * why did cargo fmt not remove the trailing spaces * FIX ALL THE THINGS * when i said 'all' i meant non-swarm bugs * start adding task pool * fix entity deduplication * fix pathfinder not stopping * fix some more random bugs * fix panic that sometimes happens in swarms * make pathfinder run in task * fix some tests * fix doctests and clippy * deadlock * fix systems running in wrong order * fix non-swarm bots
2023-02-03Bump tokio from 1.23.1 to 1.24.2 (#62)dependabot[bot]
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.23.1 to 1.24.2. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/commits) --- updated-dependencies: - dependency-name: tokio dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-30More packet fixes, tests, handle error (#61)EightFactorial
* Fix packet, fix tests, fixedbitsets * Clippy: Nightmare Mode * Fix mistake * simplify impl Display and make thing pub --------- Co-authored-by: mat <github@matdoes.dev>
2023-01-30have docs for all cratesUbuntu
2023-01-25replace some string ranges with function equivalentsUbuntu
2023-01-25Fix test and packets (#60)EightFactorial
* Fix test and packets * Fix bug, fix a couple more packets * add tests and fix stuff * fix warnings Co-authored-by: Ubuntu <github@matdoes.dev>
2023-01-21oopsmat
accidentally left this random person's server ip in lmao