#[repr(u32)]pub enum ParticleKind {
Show 128 variants
AngryVillager = 0,
Block = 1,
BlockMarker = 2,
Bubble = 3,
SulfurBubbles = 4,
NoxiousGas = 5,
NoxiousGasCloud = 6,
Geyser = 7,
GeyserBase = 8,
GeyserPoof = 9,
GeyserPlume = 10,
Cloud = 11,
CopperFireFlame = 12,
Crit = 13,
DamageIndicator = 14,
DragonBreath = 15,
DrippingLava = 16,
FallingLava = 17,
LandingLava = 18,
DrippingWater = 19,
FallingWater = 20,
Dust = 21,
DustColorTransition = 22,
Effect = 23,
ElderGuardian = 24,
EnchantedHit = 25,
Enchant = 26,
EndRod = 27,
EntityEffect = 28,
ExplosionEmitter = 29,
Explosion = 30,
Gust = 31,
SmallGust = 32,
GustEmitterLarge = 33,
GustEmitterSmall = 34,
SonicBoom = 35,
FallingDust = 36,
Firework = 37,
Fishing = 38,
Flame = 39,
Infested = 40,
CherryLeaves = 41,
PaleOakLeaves = 42,
RedPoplarLeaves = 43,
OrangePoplarLeaves = 44,
YellowPoplarLeaves = 45,
TintedLeaves = 46,
SculkSoul = 47,
SculkCharge = 48,
SculkChargePop = 49,
SoulFireFlame = 50,
Soul = 51,
Flash = 52,
HappyVillager = 53,
Composter = 54,
Heart = 55,
InstantEffect = 56,
Item = 57,
Vibration = 58,
Trail = 59,
PauseMobGrowth = 60,
ResetMobGrowth = 61,
ItemSlime = 62,
ItemCobweb = 63,
ItemSnowball = 64,
LargeSmoke = 65,
Lava = 66,
Mycelium = 67,
Note = 68,
Poof = 69,
Portal = 70,
Rain = 71,
Smoke = 72,
WhiteSmoke = 73,
Sneeze = 74,
Spit = 75,
SquidInk = 76,
SweepAttack = 77,
TotemOfUndying = 78,
Underwater = 79,
Splash = 80,
Witch = 81,
BubblePop = 82,
CurrentDown = 83,
BubbleColumnUp = 84,
Nautilus = 85,
Dolphin = 86,
CampfireCosySmoke = 87,
CampfireSignalSmoke = 88,
DrippingHoney = 89,
FallingHoney = 90,
LandingHoney = 91,
FallingNectar = 92,
FallingSporeBlossom = 93,
Ash = 94,
CrimsonSpore = 95,
WarpedSpore = 96,
SporeBlossomAir = 97,
DrippingObsidianTear = 98,
FallingObsidianTear = 99,
LandingObsidianTear = 100,
ReversePortal = 101,
WhiteAsh = 102,
SmallFlame = 103,
Snowflake = 104,
DrippingDripstoneLava = 105,
FallingDripstoneLava = 106,
DrippingDripstoneWater = 107,
FallingDripstoneWater = 108,
GlowSquidInk = 109,
Glow = 110,
WaxOn = 111,
WaxOff = 112,
ElectricSpark = 113,
Scrape = 114,
Shriek = 115,
EggCrack = 116,
DustPlume = 117,
TrialSpawnerDetection = 118,
TrialSpawnerDetectionOminous = 119,
VaultConnection = 120,
DustPillar = 121,
OminousSpawning = 122,
RaidOmen = 123,
TrialOmen = 124,
BlockCrumble = 125,
Firefly = 126,
SulfurCubeGoo = 127,
}Variants§
AngryVillager = 0
Block = 1
BlockMarker = 2
Bubble = 3
SulfurBubbles = 4
NoxiousGas = 5
NoxiousGasCloud = 6
Geyser = 7
GeyserBase = 8
GeyserPoof = 9
GeyserPlume = 10
Cloud = 11
CopperFireFlame = 12
Crit = 13
DamageIndicator = 14
DragonBreath = 15
DrippingLava = 16
FallingLava = 17
LandingLava = 18
DrippingWater = 19
FallingWater = 20
Dust = 21
DustColorTransition = 22
Effect = 23
ElderGuardian = 24
EnchantedHit = 25
Enchant = 26
EndRod = 27
EntityEffect = 28
ExplosionEmitter = 29
Explosion = 30
Gust = 31
SmallGust = 32
GustEmitterLarge = 33
GustEmitterSmall = 34
SonicBoom = 35
FallingDust = 36
Firework = 37
Fishing = 38
Flame = 39
Infested = 40
CherryLeaves = 41
PaleOakLeaves = 42
RedPoplarLeaves = 43
OrangePoplarLeaves = 44
YellowPoplarLeaves = 45
TintedLeaves = 46
SculkSoul = 47
SculkCharge = 48
SculkChargePop = 49
SoulFireFlame = 50
Soul = 51
Flash = 52
HappyVillager = 53
Composter = 54
Heart = 55
InstantEffect = 56
Item = 57
Vibration = 58
Trail = 59
PauseMobGrowth = 60
ResetMobGrowth = 61
ItemSlime = 62
ItemCobweb = 63
ItemSnowball = 64
LargeSmoke = 65
Lava = 66
Mycelium = 67
Note = 68
Poof = 69
Portal = 70
Rain = 71
Smoke = 72
WhiteSmoke = 73
Sneeze = 74
Spit = 75
SquidInk = 76
SweepAttack = 77
TotemOfUndying = 78
Underwater = 79
Splash = 80
Witch = 81
BubblePop = 82
CurrentDown = 83
BubbleColumnUp = 84
Nautilus = 85
Dolphin = 86
CampfireCosySmoke = 87
CampfireSignalSmoke = 88
DrippingHoney = 89
FallingHoney = 90
LandingHoney = 91
FallingNectar = 92
FallingSporeBlossom = 93
Ash = 94
CrimsonSpore = 95
WarpedSpore = 96
SporeBlossomAir = 97
DrippingObsidianTear = 98
FallingObsidianTear = 99
LandingObsidianTear = 100
ReversePortal = 101
WhiteAsh = 102
SmallFlame = 103
Snowflake = 104
DrippingDripstoneLava = 105
FallingDripstoneLava = 106
DrippingDripstoneWater = 107
FallingDripstoneWater = 108
GlowSquidInk = 109
Glow = 110
WaxOn = 111
WaxOff = 112
ElectricSpark = 113
Scrape = 114
Shriek = 115
EggCrack = 116
DustPlume = 117
TrialSpawnerDetection = 118
TrialSpawnerDetectionOminous = 119
VaultConnection = 120
DustPillar = 121
OminousSpawning = 122
RaidOmen = 123
TrialOmen = 124
BlockCrumble = 125
Firefly = 126
SulfurCubeGoo = 127
Implementations§
Source§impl ParticleKind
impl ParticleKind
Trait Implementations§
Source§impl AzBuf for ParticleKind
impl AzBuf for ParticleKind
Source§impl BuiltinRegistry for ParticleKind
impl BuiltinRegistry for ParticleKind
Source§impl Clone for ParticleKind
impl Clone for ParticleKind
Source§impl<O: Ops> Codec<O> for ParticleKind
impl<O: Ops> Codec<O> for ParticleKind
Source§fn codec_read(ops: &O) -> ReadResult<Self>
fn codec_read(ops: &O) -> ReadResult<Self>
Convert from a data format to a data structure.
Source§fn codec_write(&self) -> WriteResult<O>
fn codec_write(&self) -> WriteResult<O>
Convert from a data structure to a data format.
type Incomplete = Result<Self, ReadError>
Source§impl ConstFromStr for ParticleKind
impl ConstFromStr for ParticleKind
fn const_from_str(s: &str) -> Option<Self>
impl Copy for ParticleKind
Source§impl Debug for ParticleKind
impl Debug for ParticleKind
Source§impl Display for ParticleKind
impl Display for ParticleKind
impl Eq for ParticleKind
Source§impl<'a> From<ParticleKind> for Identifier
impl<'a> From<ParticleKind> for Identifier
Source§fn from(value: ParticleKind) -> Self
fn from(value: ParticleKind) -> Self
Converts to this type from the input type.
Source§impl FromStr for ParticleKind
Parse the value from a stringified identifier, formatted like
either "air" or "minecraft:air".
impl FromStr for ParticleKind
Parse the value from a stringified identifier, formatted like
either "air" or "minecraft:air".
Source§impl Hash for ParticleKind
impl Hash for ParticleKind
Source§impl Ord for ParticleKind
impl Ord for ParticleKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ParticleKind
impl PartialEq for ParticleKind
Source§impl PartialOrd for ParticleKind
impl PartialOrd for ParticleKind
impl StructuralPartialEq for ParticleKind
Source§impl<'a> TryFrom<&'a Identifier> for ParticleKind
impl<'a> TryFrom<&'a Identifier> for ParticleKind
Source§impl TryFrom<Identifier> for ParticleKind
impl TryFrom<Identifier> for ParticleKind
Auto Trait Implementations§
impl Forget for ParticleKind
impl Freeze for ParticleKind
impl Move for ParticleKind
impl RefUnwindSafe for ParticleKind
impl Send for ParticleKind
impl Sync for ParticleKind
impl Unpin for ParticleKind
impl UnsafeUnpin 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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> ConditionalSend for Twhere
T: Send,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSend for T
impl<T> DowncastSend for T
§impl<T> DynEq for T
impl<T> DynEq for T
§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
Checks if this value is equivalent to the given key. Read more
§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.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<A, B> Interchangeable<A> for B
impl<A, B> Interchangeable<A> for B
fn interchangeable_into(self) -> A
fn interchangeable_from(other: A) -> B
§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.
§impl<T> Template for T
impl<T> Template for T
§fn build_template(
&self,
_context: &mut TemplateContext<'_, '_>,
) -> Result<<T as Template>::Output, BevyError>
fn build_template( &self, _context: &mut TemplateContext<'_, '_>, ) -> Result<<T as Template>::Output, BevyError>
Uses this template and the given
entity context to produce a [Template::Output].§fn clone_template(&self) -> T
fn clone_template(&self) -> T
Clones this template. See
Clone.§impl<T> TypeData for T
impl<T> TypeData for T
§fn clone_type_data(&self) -> Box<dyn TypeData>
fn clone_type_data(&self) -> Box<dyn TypeData>
Creates a type-erased clone of
self.