Spawns EParticleType.ITEM_BREAK particles at a given location with a given item in world.
numeric item ID
item data
Same as Particles.addParticle, but applies far
shader to the particle.
Optional
data: numberSpawns particle of given type on given coords with given velocity and additional parameters in the world.
particle type's numeric ID; if you want to spawn vanilla particles, see EParticleType enums
velocity for the particle by X-axis
velocity for the particle by Y-axis
velocity for the particle by Z-axis
Optional
data: numberadditional params, currently don't know how to use, just put 0
Object Particles.ParticleType of the particle by given ID, if it exists.
Spawnds particles in line with specified gapness.
particle type's numeric ID; if you want to spawn vanilla particles, see EParticleType enums
start location of line
end location of line
Optional
gap: numbergapness means step of particles, values more than 1 will increase offsets between particles; randomized
Optional
vel: Vectorvelocity of spawned particles
Optional
data: numbervariant of spawned particles or properties
Registers new custom particle type of given params object.
Created particle type's numeric ID.
Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.
Module to work with vanilla and custom particles.