Struct Parts
pub struct Parts { /* private fields */ }Expand description
Every mod’s parts, by the id of the thing they are attached to, in dispatch order.
Implementations§
§impl Parts
impl Parts
pub fn entity_parts(&self, id: &str) -> &[Attached<dyn EntityPart>]
pub fn entity_parts(&self, id: &str) -> &[Attached<dyn EntityPart>]
The entity parts attached to entity type id (minecraft:zombie), in
dispatch order, for the goal registration at every Mob construction
(#1077).
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Parts
impl !UnwindSafe for Parts
impl Freeze for Parts
impl Send for Parts
impl Sync for Parts
impl Unpin for Parts
impl UnsafeUnpin for Parts
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