Particle's acceleration, if it's spawned without this parameter. Default is [0, 0, 0]
Particle will lose given number of ticks from its maximum lifetime, when touching a block. This value makes sense only if collision param is true. Default is 0
Animators 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.
Describes the particle's opacity, for the unit value
the alpha
in the color
parameter from the type's description is taken.
Describes the animation frame, if particle supports it. Must have the value between 0 and 1
Describes the behaviour of particle's size, for the unit size the size from the type's description is taken.
Describes the animation frame, if particle supports it. Must have the value between 0 and 1
If true, particle won't go through blocks. It reduces performance if there are lots of these particles, default is false.
Four component color of the particle (RGBA), default is [1, 1, 1, 1]
Four component color of the particle (RGBA), default is [1, 1, 1, 1]
Sub-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.
Called at the end of particle's life
Called every tick
Called when touching a block, makes sense only if collision parameter is true
Particle'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.
Note: this value makes sense only if collision param is true
If 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. Default is false.
If false, particle's speed will be set to zero when touching a block. If true, the speed will be saved. This value makes sense only if collision param is true
Minimum and maximum particle's lifetime in ticks
default value 10
Particle's render type: 0 - additive, 1 - without blending, 2 - with blending.
Minimum and maximum size of the particle
Particle's texture name from 'particle-atlas' resource directory
Particle's initial velocity, if it's spawned without initial speed parameter. Default is [0, 0, 0]
Generated using TypeDoc
Custom particle type params object