pub enum ClientType {
None,
Vanilla,
Forge,
NeoForged,
Fabric,
Quilt,
LiteLoader,
Risugamis,
Rift,
Unknown(String),
}Expand description
Different modifications for the client. Mostly mututally exclusive
Variants§
None
Unspecified. Usually inherits from something else
Vanilla
No modifications, just the default game
Forge
MinecraftForge
NeoForged
NeoForged
Fabric
Fabric Loader
Quilt
Quilt Loader
LiteLoader
LiteLoader
Risugamis
Risugami’s Modloader
Rift
Rift
Unknown(String)
An unknown client type
Trait Implementations§
Source§impl Clone for ClientType
impl Clone for ClientType
Source§fn clone(&self) -> ClientType
fn clone(&self) -> ClientType
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 ClientType
impl Debug for ClientType
Source§impl Default for ClientType
impl Default for ClientType
Source§fn default() -> ClientType
fn default() -> ClientType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClientType
impl<'de> Deserialize<'de> for ClientType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ClientType
impl Display for ClientType
Source§impl PartialEq for ClientType
impl PartialEq for ClientType
Source§impl Serialize for ClientType
impl Serialize for ClientType
impl Eq for ClientType
impl StructuralPartialEq for ClientType
Auto Trait Implementations§
impl Freeze for ClientType
impl RefUnwindSafe for ClientType
impl Send for ClientType
impl Sync for ClientType
impl Unpin for ClientType
impl UnwindSafe for ClientType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DefaultExt for T
impl<T> DefaultExt for T
Source§fn is_default(&self) -> bool
fn is_default(&self) -> bool
Check if the value is equal to it’s default value