pub enum Sound {
Show 23 variants
Harp = 0,
Basedrum = 1,
Snare = 2,
Hat = 3,
Bass = 4,
Flute = 5,
Bell = 6,
Guitar = 7,
Chime = 8,
Xylophone = 9,
IronXylophone = 10,
CowBell = 11,
Didgeridoo = 12,
Bit = 13,
Banjo = 14,
Pling = 15,
Zombie = 16,
Skeleton = 17,
Creeper = 18,
Dragon = 19,
WitherSkeleton = 20,
Piglin = 21,
CustomHead = 22,
}
Variants§
Harp = 0
Basedrum = 1
Snare = 2
Hat = 3
Bass = 4
Flute = 5
Bell = 6
Guitar = 7
Chime = 8
Xylophone = 9
IronXylophone = 10
CowBell = 11
Didgeridoo = 12
Bit = 13
Banjo = 14
Pling = 15
Zombie = 16
Skeleton = 17
Creeper = 18
Dragon = 19
WitherSkeleton = 20
Piglin = 21
CustomHead = 22
Trait Implementations§
Source§impl Property for Sound
impl Property for Sound
type Value = Sound
fn try_from_block_state(block_state: BlockState) -> Option<Self::Value>
impl Copy for Sound
impl Eq for Sound
impl StructuralPartialEq for Sound
Auto Trait Implementations§
impl Freeze for Sound
impl RefUnwindSafe for Sound
impl Send for Sound
impl Sync for Sound
impl Unpin for Sound
impl UnwindSafe for Sound
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)