Struct ExperienceOrb
pub struct ExperienceOrb {
pub id: u32,
pub position: [f64; 3],
pub value: i32,
pub count: u32,
}Expand description
An experience orb as a server mod reads it (experience_orbs).
Read by mods only.
Fields§
§id: u32The entity’s ID, as native_entity_join_level names it.
position: [f64; 3]§value: i32ExperienceOrb.value: the signed points value saved by vanilla.
count: u32ExperienceOrb.count: orbs merged into this one, each worth value.
Trait Implementations§
§impl Clone for ExperienceOrb
impl Clone for ExperienceOrb
§fn clone(&self) -> ExperienceOrb
fn clone(&self) -> ExperienceOrb
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for ExperienceOrb
impl Debug for ExperienceOrb
Auto Trait Implementations§
impl Freeze for ExperienceOrb
impl RefUnwindSafe for ExperienceOrb
impl Send for ExperienceOrb
impl Sync for ExperienceOrb
impl Unpin for ExperienceOrb
impl UnsafeUnpin for ExperienceOrb
impl UnwindSafe for ExperienceOrb
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