Expand description
This module contains all things player-related.
Re-exportsยง
pub use chat::LastSeen;pub use chat::LastSeenMessagesValidator;pub use chat::MessageCache;pub use connection::ClientInformation;pub use connection::PlayerConnection;pub use movement::PlayerInput;
Modulesยง
- abilities ๐
- Player abilities (flight, invulnerability, etc.)
- chat
- Chat and messaging state for a player.
- chunk_
sender - This module is responsible for sending chunks to the client.
- connection
- This module contains the
PlayerConnectiontrait that abstracts network connections. This module contains thePlayerConnectiontrait that abstracts network connections. - container_
counter ๐ - entity_
state ๐ - Core entity state flags for a player.
- experience
- Experience System
- food_
data - Player food/hunger system.
- game_
mode - Game mode specific logic for player interactions. Game mode specific logic for player interactions.
- health_
sync ๐ - Delta-tracking state for
CSetHealthpacket deduplication. - item_
cooldowns ๐ - lifecycle ๐
- movement
- Player movement physics and validation.
- permissions ๐
- player_
data - Persistent player data structures.
- player_
data_ storage - Player data storage for global and domain-scoped player state.
- player_
inventory - Player inventory management.
- profile ๐
- This module contains the
GameProfilestruct, which is used to store information about a playerโs profile. - tick_
state ๐
Structsยง
- Abilities
- Player abilities that control flight, invulnerability, and other special states.
This mirrors vanillaโs
Abilitiesclass. - Domain
Residence ๐Token - Runtime identity for one continuous stay in a Steel domain.
- Game
Profile - A struct representing a playerโs game profile.
- Known
Player - One cached player identity.
- Known
Players - In-memory player identity cache.
- Pending
Root ๐Vehicle Restore - Player
- A struct representing a player.
- Player
Residence ๐State
Enumsยง
- Game
Profile Action - An enum representing a profile action.
- Profile
Lookup Error - Failure while resolving a player identity through the configured profile service.
Constantsยง
- DEFAULT_
FLYING_ SPEED - Default flying speed in vanilla Minecraft
- RESPAWN_
SEARCH_ ๐READY_ CANDIDATE_ BUDGET
Functionsยง
- is_
valid_ player_ name - Returns whether a name is valid for online login and profile lookup.
- offline_
uuid - Generates vanillaโs deterministic offline-mode UUID for a player name.
- protocol_
look_ ๐at_ anchor