Type Alias valence::protocol::packets::play::AdvancementUpdateS2c
pub type AdvancementUpdateS2c<'a> = GenericAdvancementUpdateS2c<'a, (Ident<Cow<'a, str>>, Advancement<'a, ItemStack>)>;
Aliased Type§
struct AdvancementUpdateS2c<'a> {
pub reset: bool,
pub advancement_mapping: Vec<(Ident<Cow<'a, str>>, Advancement<'a, ItemStack>)>,
pub identifiers: Vec<Ident<Cow<'a, str>>>,
pub progress_mapping: Vec<(Ident<Cow<'a, str>>, Vec<AdvancementCriteria<'a>>)>,
}
Fields§
§reset: bool
§advancement_mapping: Vec<(Ident<Cow<'a, str>>, Advancement<'a, ItemStack>)>
§identifiers: Vec<Ident<Cow<'a, str>>>
§progress_mapping: Vec<(Ident<Cow<'a, str>>, Vec<AdvancementCriteria<'a>>)>
Trait Implementations
§impl<'a, AM> Clone for GenericAdvancementUpdateS2c<'a, AM>where
AM: Clone + 'a,
impl<'a, AM> Clone for GenericAdvancementUpdateS2c<'a, AM>where
AM: Clone + 'a,
§fn clone(&self) -> GenericAdvancementUpdateS2c<'a, AM>
fn clone(&self) -> GenericAdvancementUpdateS2c<'a, AM>
Returns a copy 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 more§impl<'a, AM> Debug for GenericAdvancementUpdateS2c<'a, AM>where
AM: Debug + 'a,
impl<'a, AM> Debug for GenericAdvancementUpdateS2c<'a, AM>where
AM: Debug + 'a,
§impl<'a, AM> Decode<'a> for GenericAdvancementUpdateS2c<'a, AM>where
AM: 'a + Decode<'a>,
impl<'a, AM> Decode<'a> for GenericAdvancementUpdateS2c<'a, AM>where
AM: 'a + Decode<'a>,
§impl<'a, AM> Encode for GenericAdvancementUpdateS2c<'a, AM>where
AM: 'a + Encode,
impl<'a, AM> Encode for GenericAdvancementUpdateS2c<'a, AM>where
AM: 'a + Encode,
§impl<'a, AM> Packet for GenericAdvancementUpdateS2c<'a, AM>where
AM: 'a + Debug,
impl<'a, AM> Packet for GenericAdvancementUpdateS2c<'a, AM>where
AM: 'a + Debug,
§const NAME: &'static str = "GenericAdvancementUpdateS2c"
const NAME: &'static str = "GenericAdvancementUpdateS2c"
The name of this packet for debugging purposes.
§const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound
const SIDE: PacketSide = ::valence_protocol::PacketSide::Clientbound
The side this packet is intended for.
§const STATE: PacketState = ::valence_protocol::PacketState::Play
const STATE: PacketState = ::valence_protocol::PacketState::Play
The state in which this packet is used.