#[repr(u32)]pub enum ParticleKind {
Show 115 variants
AngryVillager = 0,
Block = 1,
BlockMarker = 2,
Bubble = 3,
Cloud = 4,
CopperFireFlame = 5,
Crit = 6,
DamageIndicator = 7,
DragonBreath = 8,
DrippingLava = 9,
FallingLava = 10,
LandingLava = 11,
DrippingWater = 12,
FallingWater = 13,
Dust = 14,
DustColorTransition = 15,
Effect = 16,
ElderGuardian = 17,
EnchantedHit = 18,
Enchant = 19,
EndRod = 20,
EntityEffect = 21,
ExplosionEmitter = 22,
Explosion = 23,
Gust = 24,
SmallGust = 25,
GustEmitterLarge = 26,
GustEmitterSmall = 27,
SonicBoom = 28,
FallingDust = 29,
Firework = 30,
Fishing = 31,
Flame = 32,
Infested = 33,
CherryLeaves = 34,
PaleOakLeaves = 35,
TintedLeaves = 36,
SculkSoul = 37,
SculkCharge = 38,
SculkChargePop = 39,
SoulFireFlame = 40,
Soul = 41,
Flash = 42,
HappyVillager = 43,
Composter = 44,
Heart = 45,
InstantEffect = 46,
Item = 47,
Vibration = 48,
Trail = 49,
ItemSlime = 50,
ItemCobweb = 51,
ItemSnowball = 52,
LargeSmoke = 53,
Lava = 54,
Mycelium = 55,
Note = 56,
Poof = 57,
Portal = 58,
Rain = 59,
Smoke = 60,
WhiteSmoke = 61,
Sneeze = 62,
Spit = 63,
SquidInk = 64,
SweepAttack = 65,
TotemOfUndying = 66,
Underwater = 67,
Splash = 68,
Witch = 69,
BubblePop = 70,
CurrentDown = 71,
BubbleColumnUp = 72,
Nautilus = 73,
Dolphin = 74,
CampfireCosySmoke = 75,
CampfireSignalSmoke = 76,
DrippingHoney = 77,
FallingHoney = 78,
LandingHoney = 79,
FallingNectar = 80,
FallingSporeBlossom = 81,
Ash = 82,
CrimsonSpore = 83,
WarpedSpore = 84,
SporeBlossomAir = 85,
DrippingObsidianTear = 86,
FallingObsidianTear = 87,
LandingObsidianTear = 88,
ReversePortal = 89,
WhiteAsh = 90,
SmallFlame = 91,
Snowflake = 92,
DrippingDripstoneLava = 93,
FallingDripstoneLava = 94,
DrippingDripstoneWater = 95,
FallingDripstoneWater = 96,
GlowSquidInk = 97,
Glow = 98,
WaxOn = 99,
WaxOff = 100,
ElectricSpark = 101,
Scrape = 102,
Shriek = 103,
EggCrack = 104,
DustPlume = 105,
TrialSpawnerDetection = 106,
TrialSpawnerDetectionOminous = 107,
VaultConnection = 108,
DustPillar = 109,
OminousSpawning = 110,
RaidOmen = 111,
TrialOmen = 112,
BlockCrumble = 113,
Firefly = 114,
}
Variants§
AngryVillager = 0
Block = 1
BlockMarker = 2
Bubble = 3
Cloud = 4
CopperFireFlame = 5
Crit = 6
DamageIndicator = 7
DragonBreath = 8
DrippingLava = 9
FallingLava = 10
LandingLava = 11
DrippingWater = 12
FallingWater = 13
Dust = 14
DustColorTransition = 15
Effect = 16
ElderGuardian = 17
EnchantedHit = 18
Enchant = 19
EndRod = 20
EntityEffect = 21
ExplosionEmitter = 22
Explosion = 23
Gust = 24
SmallGust = 25
GustEmitterLarge = 26
GustEmitterSmall = 27
SonicBoom = 28
FallingDust = 29
Firework = 30
Fishing = 31
Flame = 32
Infested = 33
CherryLeaves = 34
PaleOakLeaves = 35
TintedLeaves = 36
SculkSoul = 37
SculkCharge = 38
SculkChargePop = 39
SoulFireFlame = 40
Soul = 41
Flash = 42
HappyVillager = 43
Composter = 44
Heart = 45
InstantEffect = 46
Item = 47
Vibration = 48
Trail = 49
ItemSlime = 50
ItemCobweb = 51
ItemSnowball = 52
LargeSmoke = 53
Lava = 54
Mycelium = 55
Note = 56
Poof = 57
Portal = 58
Rain = 59
Smoke = 60
WhiteSmoke = 61
Sneeze = 62
Spit = 63
SquidInk = 64
SweepAttack = 65
TotemOfUndying = 66
Underwater = 67
Splash = 68
Witch = 69
BubblePop = 70
CurrentDown = 71
BubbleColumnUp = 72
Nautilus = 73
Dolphin = 74
CampfireCosySmoke = 75
CampfireSignalSmoke = 76
DrippingHoney = 77
FallingHoney = 78
LandingHoney = 79
FallingNectar = 80
FallingSporeBlossom = 81
Ash = 82
CrimsonSpore = 83
WarpedSpore = 84
SporeBlossomAir = 85
DrippingObsidianTear = 86
FallingObsidianTear = 87
LandingObsidianTear = 88
ReversePortal = 89
WhiteAsh = 90
SmallFlame = 91
Snowflake = 92
DrippingDripstoneLava = 93
FallingDripstoneLava = 94
DrippingDripstoneWater = 95
FallingDripstoneWater = 96
GlowSquidInk = 97
Glow = 98
WaxOn = 99
WaxOff = 100
ElectricSpark = 101
Scrape = 102
Shriek = 103
EggCrack = 104
DustPlume = 105
TrialSpawnerDetection = 106
TrialSpawnerDetectionOminous = 107
VaultConnection = 108
DustPillar = 109
OminousSpawning = 110
RaidOmen = 111
TrialOmen = 112
BlockCrumble = 113
Firefly = 114
Implementations§
Source§impl ParticleKind
impl ParticleKind
pub fn azalea_read_id( buf: &mut Cursor<&[u8]>, id: u32, ) -> Result<Self, BufReadError>
Source§impl ParticleKind
impl ParticleKind
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 ParticleKind
impl AzaleaRead for ParticleKind
fn azalea_read(buf: &mut Cursor<&[u8]>) -> Result<Self, BufReadError>
Source§impl AzaleaWrite for ParticleKind
impl AzaleaWrite for ParticleKind
Source§impl Clone for ParticleKind
impl Clone for ParticleKind
Source§fn clone(&self) -> ParticleKind
fn clone(&self) -> ParticleKind
Returns a duplicate 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 ParticleKind
impl Debug for ParticleKind
Source§impl<'de> Deserialize<'de> for ParticleKind
Available on crate feature serde
only.
impl<'de> Deserialize<'de> for ParticleKind
Available on crate feature
serde
only.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 ParticleKind
impl Display for ParticleKind
Source§impl FromNbtTag for ParticleKind
impl FromNbtTag for ParticleKind
fn from_nbt_tag(tag: NbtTag<'_, '_>) -> Option<Self>
fn from_optional_nbt_tag( tag: Option<NbtTag<'_, '_>>, ) -> Result<Option<Self>, DeserializeError>
Source§impl FromStr for ParticleKind
impl FromStr for ParticleKind
Source§impl Hash for ParticleKind
impl Hash for ParticleKind
Source§impl PartialEq for ParticleKind
impl PartialEq for ParticleKind
Source§impl Registry for ParticleKind
impl Registry for ParticleKind
Source§impl Serialize for ParticleKind
Available on crate feature serde
only.
impl Serialize for ParticleKind
Available on crate feature
serde
only.Source§impl ToNbtTag for ParticleKind
impl ToNbtTag for ParticleKind
fn to_nbt_tag(self) -> NbtTag
fn to_optional_nbt_tag(self) -> Option<NbtTag>
Source§impl TryFrom<u32> for ParticleKind
impl TryFrom<u32> for ParticleKind
impl Copy for ParticleKind
impl Eq for ParticleKind
impl StructuralPartialEq for ParticleKind
Auto Trait Implementations§
impl Freeze for ParticleKind
impl RefUnwindSafe for ParticleKind
impl Send for ParticleKind
impl Sync for ParticleKind
impl Unpin for ParticleKind
impl UnwindSafe for ParticleKind
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.