#[repr(u32)]pub enum DecoratedPotPatterns {
Show 25 variants
DecoratedPotSide = 0,
AnglerPotteryPattern = 1,
ArcherPotteryPattern = 2,
ArmsUpPotteryPattern = 3,
BladePotteryPattern = 4,
BrewerPotteryPattern = 5,
BurnPotteryPattern = 6,
DangerPotteryPattern = 7,
ExplorerPotteryPattern = 8,
FlowPotteryPattern = 9,
FriendPotteryPattern = 10,
GusterPotteryPattern = 11,
HeartPotteryPattern = 12,
HeartbreakPotteryPattern = 13,
HowlPotteryPattern = 14,
MinerPotteryPattern = 15,
MournerPotteryPattern = 16,
PlentyPotteryPattern = 17,
PrizePotteryPattern = 18,
ScrapePotteryPattern = 19,
SheafPotteryPattern = 20,
ShelterPotteryPattern = 21,
SkullPotteryPattern = 22,
SnortPotteryPattern = 23,
DecoratedPotBase = 24,
}
Variants§
DecoratedPotSide = 0
AnglerPotteryPattern = 1
ArcherPotteryPattern = 2
ArmsUpPotteryPattern = 3
BladePotteryPattern = 4
BrewerPotteryPattern = 5
BurnPotteryPattern = 6
DangerPotteryPattern = 7
ExplorerPotteryPattern = 8
FlowPotteryPattern = 9
FriendPotteryPattern = 10
GusterPotteryPattern = 11
HeartPotteryPattern = 12
HeartbreakPotteryPattern = 13
HowlPotteryPattern = 14
MinerPotteryPattern = 15
MournerPotteryPattern = 16
PlentyPotteryPattern = 17
PrizePotteryPattern = 18
ScrapePotteryPattern = 19
SheafPotteryPattern = 20
ShelterPotteryPattern = 21
SkullPotteryPattern = 22
SnortPotteryPattern = 23
DecoratedPotBase = 24
Implementations§
Source§impl DecoratedPotPatterns
impl DecoratedPotPatterns
pub fn read_from_id( buf: &mut Cursor<&[u8]>, id: u32, ) -> Result<Self, BufReadError>
Source§impl DecoratedPotPatterns
impl DecoratedPotPatterns
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 Clone for DecoratedPotPatterns
impl Clone for DecoratedPotPatterns
Source§fn clone(&self) -> DecoratedPotPatterns
fn clone(&self) -> DecoratedPotPatterns
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 DecoratedPotPatterns
impl Debug for DecoratedPotPatterns
Source§impl<'de> Deserialize<'de> for DecoratedPotPatterns
impl<'de> Deserialize<'de> for DecoratedPotPatterns
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 DecoratedPotPatterns
impl Display for DecoratedPotPatterns
Source§impl FromNbtTag for DecoratedPotPatterns
impl FromNbtTag for DecoratedPotPatterns
fn from_nbt_tag(tag: NbtTag<'_, '_>) -> Option<Self>
fn from_optional_nbt_tag( tag: Option<NbtTag<'_, '_>>, ) -> Result<Option<Self>, DeserializeError>
Source§impl FromStr for DecoratedPotPatterns
impl FromStr for DecoratedPotPatterns
Source§impl Hash for DecoratedPotPatterns
impl Hash for DecoratedPotPatterns
Source§impl McBufReadable for DecoratedPotPatterns
impl McBufReadable for DecoratedPotPatterns
Source§impl McBufWritable for DecoratedPotPatterns
impl McBufWritable for DecoratedPotPatterns
Source§impl PartialEq for DecoratedPotPatterns
impl PartialEq for DecoratedPotPatterns
Source§impl Registry for DecoratedPotPatterns
impl Registry for DecoratedPotPatterns
Source§impl Serialize for DecoratedPotPatterns
impl Serialize for DecoratedPotPatterns
Source§impl ToNbtTag for DecoratedPotPatterns
impl ToNbtTag for DecoratedPotPatterns
fn to_nbt_tag(self) -> NbtTag
fn to_optional_nbt_tag(self) -> Option<NbtTag>
Source§impl TryFrom<u32> for DecoratedPotPatterns
impl TryFrom<u32> for DecoratedPotPatterns
impl Copy for DecoratedPotPatterns
impl Eq for DecoratedPotPatterns
impl StructuralPartialEq for DecoratedPotPatterns
Auto Trait Implementations§
impl Freeze for DecoratedPotPatterns
impl RefUnwindSafe for DecoratedPotPatterns
impl Send for DecoratedPotPatterns
impl Sync for DecoratedPotPatterns
impl Unpin for DecoratedPotPatterns
impl UnwindSafe for DecoratedPotPatterns
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
)