pub enum OffsetType {
None,
Xz,
Xyz,
}Expand description
Vanilla model offset type (AbstractBlock.OffsetType): bamboo and plants are shifted by a
per-position pseudo-random offset.
Variants§
None
No offset.
Xz
Horizontal offset (bamboo’s collision shape follows it).
Xyz
Horizontal and vertical offset.
Trait Implementations§
Source§impl Clone for OffsetType
impl Clone for OffsetType
impl Copy for OffsetType
Source§impl Debug for OffsetType
impl Debug for OffsetType
impl Eq for OffsetType
Source§impl Hash for OffsetType
impl Hash for OffsetType
Source§impl PartialEq for OffsetType
impl PartialEq for OffsetType
impl StructuralPartialEq for OffsetType
Auto Trait Implementations§
impl Forget for OffsetType
impl Freeze for OffsetType
impl RefUnwindSafe for OffsetType
impl Send for OffsetType
impl Sync for OffsetType
impl Unpin for OffsetType
impl UnsafeUnpin for OffsetType
impl UnwindSafe for OffsetType
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