aboutsummaryrefslogtreecommitdiff
path: root/azalea/src/lib.rs
AgeCommit message (Collapse)Author
2025-12-14cleanup azalea crate, move client/swarm builders into separate modulesmat
2025-12-15sort derives with cargo sort-derivesmat
might add to ci later, unsure how to do it without adding significant friction for contributors though
2025-12-12Delete `StartError` and `JoinError` (#296)mat
* delete StartError and JoinError * update changelog
2025-12-12Refactor azalea-registry (#294)mat
* move registries in azalea-registry into separate modules * rename Item and Block to ItemKind and BlockKind * remove 'extra' registries from azalea-registry * hide deprecated items from docs * use DamageKindKey instead of Identifier when parsing registries * store tag entries as a Vec instead of a HashSet * sort tag values by protocol id * update changelog
2025-12-11Add options to request Mojang sessionserver with a proxy (#293)mat
* add options to request mojang sessionserver with a socks5 proxy * update changelog * rename auth_proxy to sessionserver_proxy
2025-12-11Run handler function in a Tokio LocalSet (#295)mat
* Run handler function in a Tokio LocalSet * remove tokio flavor=current_thread from examples * update changelog
2025-11-21refactor resolve_addressmat
2025-11-13rename ResourceLocation to Identifier ahead of mojmap changesmat
2025-10-12upgrade deps and clean up lots of doc commentsmat
2025-09-28update depsmat
2025-09-26don't re-export azalea::bot::*, and some doc improvementsmat
2025-08-23handle AppExit eventmat
2025-06-26let chains are stabilizedmat
2025-06-14add note about current_thread to azalea readmemat
2025-05-30more formatting fixesmat
2025-05-30formatting: merge importsmat
2025-05-07better docs for disabling pluginsmat
2025-05-02Add AutoReconnectPlugin (#221)mat
* add AutoReconnectPlugin * merge main * start simplifying swarm internals * fix Swarm::into_iter, handler functions, DisconnectEvent, and add some more docs * add ClientBuilder/SwarmBuilder::reconnect_after * fix a doctest * reword SwarmEvent::Disconnect doc * better behavior when we try to join twice * reconnect on ConnectionFailedEvent too * autoreconnect is less breaking now
2025-05-02make ClientBuilder/SwarmBuilder Sendmat
2025-02-22update to rust edition 2024mat
2025-02-14remove stabilized trait_upcasting feature gatesmat
2024-12-23lift requirement on anyhow for handler functionmat
2024-10-26group imports with rustfmtmat
2024-07-05upgrade to simdnbt 0.6 (#160)mat
2024-04-20socks5 support (#113)mat
2024-04-09add functions to ClientBuilder and SwarmBuilder for custom addressesmat
2024-02-24add Display for Vec3, add SimulationSet, and add EntityChunkPos componentmat
2023-12-05make start return nevermat
2023-12-04fix ClientBuilder erroring, maybemat
2023-12-03make ClientBuilder use SwarmBuilder internallymat
2023-12-03let plugins override query responsesmat
2023-12-02make sure Startup system runs before any bots joinmat
2023-12-01Make auto_respawn pub (#116)veronoicc
2023-10-26remove some more #![feature]smat
2023-10-21async_fn_in_trait stabilizedmat
2023-10-10start adding mining to pathfindermat
2023-10-07split pathfinder execution into multiple systems (and fix some bugs)mat
2023-10-01organize azalea_core and re-export it from azaleamat
2023-09-18fix entities not always being despawned after mergemat
2023-09-18instanceloadedevent and a few fixesmat
2023-09-17heightmapsmat
2023-09-15rename start_ecs to start_ecs_runnermat
2023-09-14AcceptResourcePacksPluginmat
2023-08-26use better pathfinder costs and also fix relative entity updates breaking ↵mat
sometimes
2023-08-22Created nearest_entity system param (#102)TheDudeFromCI
* Created nearest_entity system param Signed-off-by: TheDudeFromCI <thedudefromci@gmail.com> * Added nearby item iterators. Signed-off-by: TheDudeFromCI <thedudefromci@gmail.com> * Export bot.rs (#101) * Removed .vscode settings (#104) Signed-off-by: TheDudeFromCI <thedudefromci@gmail.com> * raycasting not raytracing * don't panic if TranslatableComponent::to_string fails * Food/saturation component support (#97) * modified for food stuff * moved food/saturation to a separate file * hunger component * simplify some logic --------- Co-authored-by: mat <git@matdoes.dev> * Created nearest_entity system param Signed-off-by: TheDudeFromCI <thedudefromci@gmail.com> * Added nearby item iterators. Signed-off-by: TheDudeFromCI <thedudefromci@gmail.com> * Applied tweaks from PR review Signed-off-by: TheDudeFromCI <thedudefromci@gmail.com> * Fixed doctests Signed-off-by: TheDudeFromCI <thedudefromci@gmail.com> --------- Signed-off-by: TheDudeFromCI <thedudefromci@gmail.com> Co-authored-by: mat <git@matdoes.dev> Co-authored-by: Luuk van Oijen <lazyluuk.channel@gmail.com>
2023-08-19Export bot.rs (#101)TheDudeFromCI
2023-08-16no_handler() option for ClientBuilder (#100)TheDudeFromCI
* Added no_handler client builder option Signed-off-by: TheDudeFromCI <thedudefromci@gmail.com> * Made EmptyState public Signed-off-by: TheDudeFromCI <thedudefromci@gmail.com> * Packaged no_handler placeholders in own module Signed-off-by: TheDudeFromCI <thedudefromci@gmail.com> * imply no state and remove Fut generic from ClientBuilder and SwarmBuilder * use destructuring in set_handler and fix a doc --------- Signed-off-by: TheDudeFromCI <thedudefromci@gmail.com> Co-authored-by: mat <git@matdoes.dev>
2023-07-15fix brigadier booleansmat
2023-07-15Attacking (#96)mat
* add Client::attack * partially implement attack cooldowns * attack speed modifiers * don't care clippy --------- Co-authored-by: mat <git@matdoes.dev>
2023-07-14Mining (#95)mat
* more mining stuff * initialize azalea-tags crate * more mining stuff 2 * mining in ecs * well technically mining works but no codegen for how long it takes to mine each block yet * rename downloads to __cache__ it was bothering me since it's not *just* downloads * codegen block behavior * fix not sending packet to finish breaking block * mining animation 🎉 * clippy * cleanup, move Client::mine into a client extension * add azalea/src/mining.rs --------- Co-authored-by: mat <git@matdoes.dev>