mirror of
https://github.com/italicsjenga/valence.git
synced 2024-12-24 23:11:29 +11:00
13 lines
241 B
Rust
13 lines
241 B
Rust
|
use bevy_ecs::prelude::*;
|
||
|
|
||
|
use crate::packet::{Decode, Encode};
|
||
|
|
||
|
#[derive(Copy, Clone, PartialEq, Eq, Debug, Default, Encode, Decode, Component)]
|
||
|
pub enum GameMode {
|
||
|
#[default]
|
||
|
Survival,
|
||
|
Creative,
|
||
|
Adventure,
|
||
|
Spectator,
|
||
|
}
|