#[repr(u32)]pub enum ParticleKind {
Show 112 variants
AngryVillager = 0,
Block = 1,
BlockMarker = 2,
Bubble = 3,
Cloud = 4,
Crit = 5,
DamageIndicator = 6,
DragonBreath = 7,
DrippingLava = 8,
FallingLava = 9,
LandingLava = 10,
DrippingWater = 11,
FallingWater = 12,
Dust = 13,
DustColorTransition = 14,
Effect = 15,
ElderGuardian = 16,
EnchantedHit = 17,
Enchant = 18,
EndRod = 19,
EntityEffect = 20,
ExplosionEmitter = 21,
Explosion = 22,
Gust = 23,
SmallGust = 24,
GustEmitterLarge = 25,
GustEmitterSmall = 26,
SonicBoom = 27,
FallingDust = 28,
Firework = 29,
Fishing = 30,
Flame = 31,
Infested = 32,
CherryLeaves = 33,
PaleOakLeaves = 34,
SculkSoul = 35,
SculkCharge = 36,
SculkChargePop = 37,
SoulFireFlame = 38,
Soul = 39,
Flash = 40,
HappyVillager = 41,
Composter = 42,
Heart = 43,
InstantEffect = 44,
Item = 45,
Vibration = 46,
Trail = 47,
ItemSlime = 48,
ItemCobweb = 49,
ItemSnowball = 50,
LargeSmoke = 51,
Lava = 52,
Mycelium = 53,
Note = 54,
Poof = 55,
Portal = 56,
Rain = 57,
Smoke = 58,
WhiteSmoke = 59,
Sneeze = 60,
Spit = 61,
SquidInk = 62,
SweepAttack = 63,
TotemOfUndying = 64,
Underwater = 65,
Splash = 66,
Witch = 67,
BubblePop = 68,
CurrentDown = 69,
BubbleColumnUp = 70,
Nautilus = 71,
Dolphin = 72,
CampfireCosySmoke = 73,
CampfireSignalSmoke = 74,
DrippingHoney = 75,
FallingHoney = 76,
LandingHoney = 77,
FallingNectar = 78,
FallingSporeBlossom = 79,
Ash = 80,
CrimsonSpore = 81,
WarpedSpore = 82,
SporeBlossomAir = 83,
DrippingObsidianTear = 84,
FallingObsidianTear = 85,
LandingObsidianTear = 86,
ReversePortal = 87,
WhiteAsh = 88,
SmallFlame = 89,
Snowflake = 90,
DrippingDripstoneLava = 91,
FallingDripstoneLava = 92,
DrippingDripstoneWater = 93,
FallingDripstoneWater = 94,
GlowSquidInk = 95,
Glow = 96,
WaxOn = 97,
WaxOff = 98,
ElectricSpark = 99,
Scrape = 100,
Shriek = 101,
EggCrack = 102,
DustPlume = 103,
TrialSpawnerDetection = 104,
TrialSpawnerDetectionOminous = 105,
VaultConnection = 106,
DustPillar = 107,
OminousSpawning = 108,
RaidOmen = 109,
TrialOmen = 110,
BlockCrumble = 111,
}
Variants§
AngryVillager = 0
Block = 1
BlockMarker = 2
Bubble = 3
Cloud = 4
Crit = 5
DamageIndicator = 6
DragonBreath = 7
DrippingLava = 8
FallingLava = 9
LandingLava = 10
DrippingWater = 11
FallingWater = 12
Dust = 13
DustColorTransition = 14
Effect = 15
ElderGuardian = 16
EnchantedHit = 17
Enchant = 18
EndRod = 19
EntityEffect = 20
ExplosionEmitter = 21
Explosion = 22
Gust = 23
SmallGust = 24
GustEmitterLarge = 25
GustEmitterSmall = 26
SonicBoom = 27
FallingDust = 28
Firework = 29
Fishing = 30
Flame = 31
Infested = 32
CherryLeaves = 33
PaleOakLeaves = 34
SculkSoul = 35
SculkCharge = 36
SculkChargePop = 37
SoulFireFlame = 38
Soul = 39
Flash = 40
HappyVillager = 41
Composter = 42
Heart = 43
InstantEffect = 44
Item = 45
Vibration = 46
Trail = 47
ItemSlime = 48
ItemCobweb = 49
ItemSnowball = 50
LargeSmoke = 51
Lava = 52
Mycelium = 53
Note = 54
Poof = 55
Portal = 56
Rain = 57
Smoke = 58
WhiteSmoke = 59
Sneeze = 60
Spit = 61
SquidInk = 62
SweepAttack = 63
TotemOfUndying = 64
Underwater = 65
Splash = 66
Witch = 67
BubblePop = 68
CurrentDown = 69
BubbleColumnUp = 70
Nautilus = 71
Dolphin = 72
CampfireCosySmoke = 73
CampfireSignalSmoke = 74
DrippingHoney = 75
FallingHoney = 76
LandingHoney = 77
FallingNectar = 78
FallingSporeBlossom = 79
Ash = 80
CrimsonSpore = 81
WarpedSpore = 82
SporeBlossomAir = 83
DrippingObsidianTear = 84
FallingObsidianTear = 85
LandingObsidianTear = 86
ReversePortal = 87
WhiteAsh = 88
SmallFlame = 89
Snowflake = 90
DrippingDripstoneLava = 91
FallingDripstoneLava = 92
DrippingDripstoneWater = 93
FallingDripstoneWater = 94
GlowSquidInk = 95
Glow = 96
WaxOn = 97
WaxOff = 98
ElectricSpark = 99
Scrape = 100
Shriek = 101
EggCrack = 102
DustPlume = 103
TrialSpawnerDetection = 104
TrialSpawnerDetectionOminous = 105
VaultConnection = 106
DustPillar = 107
OminousSpawning = 108
RaidOmen = 109
TrialOmen = 110
BlockCrumble = 111
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 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 ParticleKind
impl Debug for ParticleKind
Source§impl<'de> Deserialize<'de> for ParticleKind
impl<'de> Deserialize<'de> for ParticleKind
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
impl Serialize for ParticleKind
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