mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 23:44:38 +00:00
20 lines
534 B
Rust
20 lines
534 B
Rust
use azalea_buf::McBuf;
|
|
use azalea_core::{
|
|
game_type::{GameMode, OptionalGameType},
|
|
position::GlobalPos,
|
|
resource_location::ResourceLocation,
|
|
};
|
|
|
|
#[derive(Clone, Debug, McBuf)]
|
|
pub struct CommonPlayerSpawnInfo {
|
|
pub dimension_type: ResourceLocation,
|
|
pub dimension: ResourceLocation,
|
|
pub seed: i64,
|
|
pub game_type: GameMode,
|
|
pub previous_game_type: OptionalGameType,
|
|
pub is_debug: bool,
|
|
pub is_flat: bool,
|
|
pub last_death_location: Option<GlobalPos>,
|
|
#[var]
|
|
pub portal_cooldown: u32,
|
|
}
|