pub enum VariantApplied {
Spawn,
Metadata,
NextTick,
Input,
Server,
}Expand description
When the vanilla client applies a size variant.
Variants§
Spawn
The size right after the spawn packet (the "default" variant).
Metadata
Immediately when the entity metadata packet arrives.
NextTick
In the entity’s next client tick (passive babies, 1.8 wither skeleton, armor stand marker).
Input
From the client player’s own input (1.8 sneaking eye height).
Server
Only on the server: the client never applies it (e.g. 1.8 baby zombie’s 0.3 x 0.975); listed for reference.
Trait Implementations§
Source§impl Clone for VariantApplied
impl Clone for VariantApplied
impl Copy for VariantApplied
Source§impl Debug for VariantApplied
impl Debug for VariantApplied
impl Eq for VariantApplied
Source§impl Hash for VariantApplied
impl Hash for VariantApplied
Source§impl PartialEq for VariantApplied
impl PartialEq for VariantApplied
impl StructuralPartialEq for VariantApplied
Auto Trait Implementations§
impl Forget for VariantApplied
impl Freeze for VariantApplied
impl RefUnwindSafe for VariantApplied
impl Send for VariantApplied
impl Sync for VariantApplied
impl Unpin for VariantApplied
impl UnsafeUnpin for VariantApplied
impl UnwindSafe for VariantApplied
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