pub struct StructureSpawnerData {
pub entity_type: Identifier,
pub weight: i32,
pub min_count: i32,
pub max_count: i32,
}Expand description
Spawn entry inside a structure spawn override.
Fields§
§entity_type: IdentifierEntity type id.
weight: i32Spawn weight.
min_count: i32Minimum group size.
max_count: i32Maximum group size.
Trait Implementations§
Source§impl Clone for StructureSpawnerData
impl Clone for StructureSpawnerData
Source§fn clone(&self) -> StructureSpawnerData
fn clone(&self) -> StructureSpawnerData
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 moreAuto Trait Implementations§
impl Freeze for StructureSpawnerData
impl RefUnwindSafe for StructureSpawnerData
impl Send for StructureSpawnerData
impl Sync for StructureSpawnerData
impl Unpin for StructureSpawnerData
impl UnsafeUnpin for StructureSpawnerData
impl UnwindSafe for StructureSpawnerData
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