OptionalaccelerationParticle's acceleration, if it's spawned without this parameter.
OptionaladdParticle will lose given number of ticks from it's maximum lifetime, when touching a block.
OptionalanimatorsAnimators allow to change some properties of the specific particle depending on the time, each animator is described as an object of definite format and can be not described, if it's not needed.
Optionalalpha?: AnimatorDescriptionDescribes the particle's opacity, for the unit value
the alpha in the color parameter from the type's description is taken.
Optionalcolor?: ColorAnimatorDescriptionDescribes the animated color value, if particle supports it.
Accepts values in RGBA ranges, like color property in descriptor.
Optionalicon?: AnimatorDescriptionDescribes the animation frame, if particle supports it. Must have the value between 0 and 1.
Optionalsize?: AnimatorDescriptionDescribes the behavior of particle's size, for the unit size the size from the type's description is taken.
Optionaltexture?: AnimatorDescriptionDescribes the animation frame, if particle supports it. Must have the value between 0 and 1.
OptionalcollisionIf true, particle won't go through blocks. It reduces performance if
there are lots of these particles.
OptionalcolorFour component color of the particle (RGBA).
Optionalcolor2OptionalemittersSub-emitters (don't confuse with emitters) describe how specific particle can emit other particles, according to some events, that may happen to it. Each sub-emitter is described as an object of definite format and can be not described if it's not needed.
Optionaldeath?: SubEmitterDescriptionCalled at the end of particle's life.
Optionalidle?: SubEmitterDescriptionCalled every tick.
Optionalimpact?: SubEmitterDescriptionCalled when touching a block, makes sense only if collision parameter is true.
OptionalframesXAnimation frame grid size around width.
OptionalframesYAnimation frame grid size around height.
OptionalfrictionParticle's speed modifier in the air and when touching a block. Usually it's a number between 0 and 1, close to 1, but in fact it can be any value. Both values are 1 by default.
OptionalisIf true, the particle will be exposed to the world's lighting.
If false, the particle will always have maximum brightness.
Enabling this parameter may reduce the performance when having lots of particles.
OptionalkeepIf false, particle's speed will be set to zero when touching a block.
If true, the speed will be saved.
Minimum and maximum particle's lifetime in ticks.
OptionalrebuildTime in ticks between particle mesh updates.
OptionalrenderParticle's render type:
Minimum and maximum size of the particle.
Particle's texture name from /particle-atlas resource directory.
OptionalvelocityParticle's initial velocity, if it's spawned without initial speed parameter.
Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.
Custom particle type params object.