Buy Me a Coffee at ko-fi.com

A global API which is used for dealing with Minecraft's particles
Particles instances are created when indexing their id
Accessed using the name "particles"

Checks if this particle id is registered

overload 1:
ParticleAPI.isPresent(id: String): Boolean
typings.-1808118735typings.1729365000
Method PropertyFluent DescriptionRepresentation
id accepts
Return Value

Creates a particle with the given name at the specified position, with the given velocity
Some particles have special properties, like the "dust" particle
For these particles, the special properties can be put into the "name" parameter, the same way as it works for commands

overload 1:
ParticleAPI.newParticle(name: String, pos: Vector3): Particle
typings.-1808118735typings.2002444080typings.1253495462
Method PropertyFluent DescriptionRepresentation
name accepts
pos accepts
Return Value
overload 2:
ParticleAPI.newParticle(name: String, pos: Vector3, vel: Vector3): Particle
typings.-1808118735typings.2002444080typings.2002444080typings.1253495462
Method PropertyFluent DescriptionRepresentation
name accepts
pos accepts
vel accepts
Return Value
overload 3:
ParticleAPI.newParticle(name: String, posX: Number, posY: Number, posZ: Number): Particle
typings.-1808118735typings.-1950496919typings.-1950496919typings.-1950496919typings.1253495462
Method PropertyFluent DescriptionRepresentation
name accepts
posX accepts
posY accepts
posZ accepts
Return Value
overload 4:
ParticleAPI.newParticle(name: String, pos: Vector3, velX: Number, velY: Number, velZ: Number): Particle
typings.-1808118735typings.2002444080typings.-1950496919typings.-1950496919typings.-1950496919typings.1253495462
Method PropertyFluent DescriptionRepresentation
name accepts
pos accepts
velX accepts
velY accepts
velZ accepts
Return Value
overload 5:
ParticleAPI.newParticle(name: String, posX: Number, posY: Number, posZ: Number, vel: Vector3): Particle
typings.-1808118735typings.-1950496919typings.-1950496919typings.-1950496919typings.2002444080typings.1253495462
Method PropertyFluent DescriptionRepresentation
name accepts
posX accepts
posY accepts
posZ accepts
vel accepts
Return Value
overload 6:
ParticleAPI.newParticle(name: String, posX: Number, posY: Number, posZ: Number, velX: Number, velY: Number, velZ: Number): Particle
typings.-1808118735typings.-1950496919typings.-1950496919typings.-1950496919typings.-1950496919typings.-1950496919typings.-1950496919typings.1253495462
Method PropertyFluent DescriptionRepresentation
name accepts
posX accepts
posY accepts
posZ accepts
velX accepts
velY accepts
velZ accepts
Return Value

Removes all particles spawned from this avatar

overload 1:
ParticleAPI.removeParticles(): ParticleAPI
typings.-1857265260
Method PropertyFluent DescriptionRepresentation
Return Value