aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2023-01-21clippymat
2023-01-21Server functions and proxy example (#59)EightFactorial
* A couple useful things for servers * Add proxy example * Use Uuid's serde feature * Add const options to proxy example * Example crates go in dev-dependencies * Warn instead of error * Log address on login * Requested changes * add a test for deserializing game profile + random small changes Co-authored-by: mat <github@matdoes.dev>
2023-01-20Allow using azalea-chat without azalea-buf to avoid unstable features (#58)Nemo157
2023-01-18update a thing in cargo.tomlUbuntu
2023-01-15the repo is NOT called Cargo.tomlmat
2023-01-14Add function to get message sender's UUID (#56)EightFactorial
* Add uuid function for chat messages * Does this please you, clippy?
2023-01-10Bump tokio from 1.22.0 to 1.23.1 (#55)dependabot[bot]
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.22.0 to 1.23.1. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.22.0...tokio-1.23.1) --- updated-dependencies: - dependency-name: tokio dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-06Add reason for disconnect (#54)EightFactorial
* Add reason for disconnect Handles messages like "The server is full!" and "Banned by an operator." Ban reasons are shown like "You are banned from this server.\nReason: foo" * keep the kick reason as a Component in the error Co-authored-by: mat <github@matdoes.dev>
2023-01-05log headers on unknown sessionserver errormat
2023-01-05fixmat
2023-01-05fix auto reauthenticationmat
THANKS MOJANG
2023-01-05Fix binary compilation (#53)Shayne Hartford
* Fix binary compilation * Unnecessary reference
2022-12-11fix bot/main.rsmat
2022-12-11fix PartialWorld::default() for testsmat
2022-12-11rename find_entity to entity_by & add entities_bymat
2022-12-11make entities have a reference to WeakWorlds insteadmat
... and other exciting bug fixes
2022-12-09(cargo-release) version 0.5.0Ubuntu