#[repr(u32)]pub enum DecoratedPotPattern {
Show 24 variants
Angler = 0,
Archer = 1,
ArmsUp = 2,
Blade = 3,
Brewer = 4,
Burn = 5,
Danger = 6,
Explorer = 7,
Flow = 8,
Friend = 9,
Guster = 10,
Heart = 11,
Heartbreak = 12,
Howl = 13,
Miner = 14,
Mourner = 15,
Plenty = 16,
Prize = 17,
Scrape = 18,
Sheaf = 19,
Shelter = 20,
Skull = 21,
Snort = 22,
Blank = 23,
}
Variants§
Angler = 0
Archer = 1
ArmsUp = 2
Blade = 3
Brewer = 4
Burn = 5
Danger = 6
Explorer = 7
Flow = 8
Friend = 9
Guster = 10
Heart = 11
Heartbreak = 12
Howl = 13
Miner = 14
Mourner = 15
Plenty = 16
Prize = 17
Scrape = 18
Sheaf = 19
Shelter = 20
Skull = 21
Snort = 22
Blank = 23
Implementations§
Source§impl DecoratedPotPattern
impl DecoratedPotPattern
pub fn azalea_read_id( buf: &mut Cursor<&[u8]>, id: u32, ) -> Result<Self, BufReadError>
Source§impl DecoratedPotPattern
impl DecoratedPotPattern
Sourcepub unsafe fn from_u32_unchecked(id: u32) -> Self
pub unsafe fn from_u32_unchecked(id: u32) -> Self
pub fn is_valid_id(id: u32) -> bool
Trait Implementations§
Source§impl AzaleaRead for DecoratedPotPattern
impl AzaleaRead for DecoratedPotPattern
fn azalea_read(buf: &mut Cursor<&[u8]>) -> Result<Self, BufReadError>
Source§impl AzaleaWrite for DecoratedPotPattern
impl AzaleaWrite for DecoratedPotPattern
Source§impl Clone for DecoratedPotPattern
impl Clone for DecoratedPotPattern
Source§fn clone(&self) -> DecoratedPotPattern
fn clone(&self) -> DecoratedPotPattern
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DecoratedPotPattern
impl Debug for DecoratedPotPattern
Source§impl<'de> Deserialize<'de> for DecoratedPotPattern
impl<'de> Deserialize<'de> for DecoratedPotPattern
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for DecoratedPotPattern
impl Display for DecoratedPotPattern
Source§impl FromNbtTag for DecoratedPotPattern
impl FromNbtTag for DecoratedPotPattern
fn from_nbt_tag(tag: NbtTag<'_, '_>) -> Option<Self>
fn from_optional_nbt_tag( tag: Option<NbtTag<'_, '_>>, ) -> Result<Option<Self>, DeserializeError>
Source§impl FromStr for DecoratedPotPattern
impl FromStr for DecoratedPotPattern
Source§impl Hash for DecoratedPotPattern
impl Hash for DecoratedPotPattern
Source§impl PartialEq for DecoratedPotPattern
impl PartialEq for DecoratedPotPattern
Source§impl Registry for DecoratedPotPattern
impl Registry for DecoratedPotPattern
Source§impl Serialize for DecoratedPotPattern
impl Serialize for DecoratedPotPattern
Source§impl ToNbtTag for DecoratedPotPattern
impl ToNbtTag for DecoratedPotPattern
fn to_nbt_tag(self) -> NbtTag
fn to_optional_nbt_tag(self) -> Option<NbtTag>
Source§impl TryFrom<u32> for DecoratedPotPattern
impl TryFrom<u32> for DecoratedPotPattern
impl Copy for DecoratedPotPattern
impl Eq for DecoratedPotPattern
impl StructuralPartialEq for DecoratedPotPattern
Auto Trait Implementations§
impl Freeze for DecoratedPotPattern
impl RefUnwindSafe for DecoratedPotPattern
impl Send for DecoratedPotPattern
impl Sync for DecoratedPotPattern
impl Unpin for DecoratedPotPattern
impl UnwindSafe for DecoratedPotPattern
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