Expand description
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.
Re-exports§
pub use bevy_tasks;
Modules§
- attack
- auto_
reconnect - Auto-reconnect to the server when the client is kicked.
- block_
update - brand
- chat
- Implementations of chat-related features.
- chat_
signing - chunks
- Used for Minecraft’s chunk batching introduced in 23w31a (1.20.2). It’s used for making the server spread out how often it sends us chunk packets depending on our receiving speed.
- client_
information - connection
- disconnect
- Disconnect a client from the server.
- events
- Defines the
Eventenum and makes those events trigger when they’re sent in the ECS. - interact
- inventory
- join
- loading
- local_
player - login
- mining
- movement
- packet
- ping
- Ping Minecraft servers.
- player
- pong
- respawn
- task_
pool - Borrowed from
bevy_core. - tick_
broadcast - tick_
counter - tick_
end - Clients send a
ServerboundClientTickEndpacket every tick.
Structs§
- Account
- Something that can join Minecraft servers.
- Client
- A Minecraft client instance that can interact with the world.
- Client
Information - A component that contains some of the “settings” for this client that are sent to the server, such as render distance.
- Default
Plugins - This plugin group will add all the default plugins necessary for Azalea to work.
- InConfig
State - A marker component for local players that are currently in the
configurationstate. - InGame
State - A marker component for local players that are currently in the
gamestate. - Joined
Client Bundle - A bundle for the components that are present on a local player that is
currently in the
gameprotocol state. - Local
Player Bundle - A bundle of components that’s inserted right when we switch to the
loginstate and stay present on our clients until we disconnect. - Physics
State - Component for entities that can move and sprint.
- Start
Client Opts - Start
Sprint Event - An event sent when the client starts sprinting.
- Start
Walk Event - An event sent when the client starts walking.
Enums§
- Account
Opts - The parameters that were passed for creating the associated
Account. - Event
- Something that happened in-game, such as a tick passing or chat message being sent.
- Join
Error - An error that happened while joining the server.
- Sprint
Direction - The directions that a player can sprint in. It’s a subset of
WalkDirection. - Walk
Direction - A direction that a player can walk in, including none.