pub enum TreeDecorator {
AlterGround {
provider: BlockStateProvider,
},
Beehive {
probability: f32,
},
Cocoa {
probability: f32,
},
CreakingHeart {
probability: f32,
},
LeaveVine {
probability: f32,
},
TrunkVine,
AttachedToLeaves(AttachedToLeavesDecorator),
AttachedToLogs(AttachedToLogsDecorator),
PlaceOnGround(PlaceOnGroundDecorator),
PaleMoss {
leaves_probability: f32,
trunk_probability: f32,
ground_probability: f32,
},
}Variants§
AlterGround
Fields
§
provider: BlockStateProviderBeehive
Cocoa
CreakingHeart
LeaveVine
TrunkVine
AttachedToLeaves(AttachedToLeavesDecorator)
AttachedToLogs(AttachedToLogsDecorator)
PlaceOnGround(PlaceOnGroundDecorator)
PaleMoss
Trait Implementations§
Source§impl Clone for TreeDecorator
impl Clone for TreeDecorator
Source§fn clone(&self) -> TreeDecorator
fn clone(&self) -> TreeDecorator
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 !RefUnwindSafe for TreeDecorator
impl !UnwindSafe for TreeDecorator
impl Freeze for TreeDecorator
impl Send for TreeDecorator
impl Sync for TreeDecorator
impl Unpin for TreeDecorator
impl UnsafeUnpin for TreeDecorator
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