pub struct PlayJoinGameSpec {Show 15 fields
pub entity_id: i32,
pub is_hardcore: bool,
pub gamemode: GameMode,
pub previous_gamemode: PreviousGameMode,
pub worlds: CountedArray<String, VarInt>,
pub dimension_codec: NamedNbtTag,
pub dimension: NamedNbtTag,
pub world_name: String,
pub hashed_seed: i64,
pub max_players: VarInt,
pub view_distance: VarInt,
pub reduced_debug_info: bool,
pub enable_respawn_screen: bool,
pub is_debug: bool,
pub is_flat: bool,
}Fields§
§entity_id: i32§is_hardcore: bool§gamemode: GameMode§previous_gamemode: PreviousGameMode§worlds: CountedArray<String, VarInt>§dimension_codec: NamedNbtTag§dimension: NamedNbtTag§world_name: String§hashed_seed: i64§max_players: VarInt§view_distance: VarInt§reduced_debug_info: bool§enable_respawn_screen: bool§is_debug: bool§is_flat: boolTrait Implementations§
Source§impl Clone for PlayJoinGameSpec
impl Clone for PlayJoinGameSpec
Source§fn clone(&self) -> PlayJoinGameSpec
fn clone(&self) -> PlayJoinGameSpec
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PlayJoinGameSpec
impl Debug for PlayJoinGameSpec
Source§impl Deserialize for PlayJoinGameSpec
impl Deserialize for PlayJoinGameSpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<(i32, bool, GameMode, PreviousGameMode, CountedArray<String, VarInt>, NamedNbtTag, NamedNbtTag, String, i64, VarInt, VarInt, bool, bool, bool, bool)> for PlayJoinGameSpec
impl From<(i32, bool, GameMode, PreviousGameMode, CountedArray<String, VarInt>, NamedNbtTag, NamedNbtTag, String, i64, VarInt, VarInt, bool, bool, bool, bool)> for PlayJoinGameSpec
Source§fn from(
other: (i32, bool, GameMode, PreviousGameMode, CountedArray<String, VarInt>, NamedNbtTag, NamedNbtTag, String, i64, VarInt, VarInt, bool, bool, bool, bool),
) -> Self
fn from( other: (i32, bool, GameMode, PreviousGameMode, CountedArray<String, VarInt>, NamedNbtTag, NamedNbtTag, String, i64, VarInt, VarInt, bool, bool, bool, bool), ) -> Self
Converts to this type from the input type.
Source§impl From<PlayJoinGameSpec> for (i32, bool, GameMode, PreviousGameMode, CountedArray<String, VarInt>, NamedNbtTag, NamedNbtTag, String, i64, VarInt, VarInt, bool, bool, bool, bool)
impl From<PlayJoinGameSpec> for (i32, bool, GameMode, PreviousGameMode, CountedArray<String, VarInt>, NamedNbtTag, NamedNbtTag, String, i64, VarInt, VarInt, bool, bool, bool, bool)
Source§fn from(other: PlayJoinGameSpec) -> Self
fn from(other: PlayJoinGameSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PlayJoinGameSpec
impl PartialEq for PlayJoinGameSpec
Source§impl Serialize for PlayJoinGameSpec
impl Serialize for PlayJoinGameSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for PlayJoinGameSpec
Auto Trait Implementations§
impl Freeze for PlayJoinGameSpec
impl RefUnwindSafe for PlayJoinGameSpec
impl Send for PlayJoinGameSpec
impl Sync for PlayJoinGameSpec
impl Unpin for PlayJoinGameSpec
impl UnwindSafe for PlayJoinGameSpec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more