mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 06:16:04 +00:00
* start updating to 1.21.4 * fix block codegen and stop using block data from burger * rename packet related modules and structs to be simpler * ItemSlot -> ItemStack for more consistency with mojmap * .get() -> .into_packet() * simplify declare_state_packets by removing packet ids * rename read_from and write_into to azalea_read and azalea_write * rename McBufReadable and McBufWritable to AzaleaRead and AzaleaWrite * McBuf -> AzBuf * remove most uses of into_variant * update codegen and use resourcelocation names for packets * implement #[limit(i)] attribute for AzBuf derive macro * fixes for 1.21.4 * fix examples * update some physics code and fix ChatType * remove unused imports in codegen * re-add some things to migrate.py and update +mc version numbers automatically * downgrade to 1.21.3 lol
43 lines
1.1 KiB
Rust
43 lines
1.1 KiB
Rust
//! Significantly abstract [`azalea_protocol`] so it's actually useable for
|
|
//! real clients. If you want to make bots, you should use the
|
|
//! [`azalea`] crate instead.
|
|
//!
|
|
//! [`azalea_protocol`]: https://docs.rs/azalea-protocol
|
|
//! [`azalea`]: https://docs.rs/azalea
|
|
|
|
#![allow(incomplete_features)]
|
|
#![feature(error_generic_member_access)]
|
|
|
|
mod account;
|
|
pub mod attack;
|
|
pub mod chat;
|
|
pub mod chunks;
|
|
mod client;
|
|
pub mod configuration;
|
|
pub mod disconnect;
|
|
mod entity_query;
|
|
pub mod events;
|
|
pub mod interact;
|
|
pub mod inventory;
|
|
mod local_player;
|
|
pub mod mining;
|
|
pub mod movement;
|
|
pub mod packet_handling;
|
|
pub mod ping;
|
|
mod player;
|
|
pub mod raw_connection;
|
|
pub mod respawn;
|
|
pub mod task_pool;
|
|
|
|
pub use account::{Account, AccountOpts};
|
|
pub use azalea_protocol::common::client_information::ClientInformation;
|
|
pub use client::{
|
|
start_ecs_runner, Client, DefaultPlugins, JoinError, JoinedClientBundle, StartClientOpts,
|
|
TickBroadcast,
|
|
};
|
|
pub use events::Event;
|
|
pub use local_player::{GameProfileComponent, Hunger, InstanceHolder, TabList};
|
|
pub use movement::{
|
|
PhysicsState, SprintDirection, StartSprintEvent, StartWalkEvent, WalkDirection,
|
|
};
|
|
pub use player::PlayerInfo;
|