Crate azalea_client

Crate azalea_client 

Source
Expand description

§azalea-client

A library for creating Minecraft clients with Bevy.

If you intend on creating a bot, consider using the azalea crate instead.

Re-exports§

pub use bevy_tasks;

Modules§

account
Connect to Minecraft servers.
attack
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
cookies
Arbitrary data sent by the server that gets temporarily stored on the client.
disconnect
Disconnect a client from the server.
interact
inventory
join
loading
local_player
login
mining
movement
packet
ping
Ping Minecraft servers.
player
pong
respawn
task_pool
Borrowed from bevy_core.
tick_counter
tick_end
Clients send a [ServerboundClientTickEnd] packet every tick.

Structs§

ClientInformation
A component that contains some of the “settings” for this client that are sent to the server, such as render distance.
DefaultPlugins
This plugin group will add all the default plugins necessary for Azalea to work.
InConfigState
A marker component for local players that are currently in the configuration state.
InGameState
A marker component for local players that are currently in the game state.
JoinedClientBundle
A bundle for the components that are present on a local player that is currently in the game protocol state.
LocalPlayerBundle
A bundle of components that’s inserted right when we switch to the login state and stay present on our clients until we disconnect.
PhysicsState
Component for entities that can move and sprint.
StartSprintEvent
An event sent when the client starts sprinting.
StartWalkEvent
An event sent when the client starts walking.

Enums§

SprintDirection
The directions that a player can sprint in. It’s a subset of WalkDirection.
WalkDirection
A direction that a player can walk in, including none.

Type Aliases§

AccountDeprecated