---
title: KSpigotParticle -
---
//[KSpigot](../../index.md)/[net.axay.kspigot.particles](../index.md)/[KSpigotParticle](index.md)
# KSpigotParticle
[jvm] data class [KSpigotParticle](index.md)(**particle**: Particle, **amount**: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), **offset**: Vector?, **extra**: [Number](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html), **data**: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?, **force**: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html))
## Parameters
jvm
| Name| Summary|
|---|---|
| amount|
The amount of particles.
| data|
Particle specific data, often specifying BlockData or an ItemStack.
| extra|
Particle specific data, often specifying an aspect like speed.
| force|
Determines whether the client should be encouraged to display the particles.
| offset|
The offset at which particles should appear.
| particle|
The type of Particle.
## Constructors
| Name| Summary|
|---|---|
| [KSpigotParticle](-k-spigot-particle.md)| [jvm]
The type of Particle.
fun [KSpigotParticle](-k-spigot-particle.md)(particle: Particle, amount: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), offset: Vector?, extra: [Number](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html), data: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?, force: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html))
## Functions
| Name| Summary|
|---|---|
| [component1](component1.md)| [jvm]
Content
operator fun [component1](component1.md)(): Particle
| [component2](component2.md)| [jvm]
Content
operator fun [component2](component2.md)(): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)
| [component3](component3.md)| [jvm]
Content
operator fun [component3](component3.md)(): Vector?
| [component4](component4.md)| [jvm]
Content
operator fun [component4](component4.md)(): [Number](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html)
| [component5](component5.md)| [jvm]
Content
operator fun [component5](component5.md)(): [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?
| [component6](component6.md)| [jvm]
Content
operator fun [component6](component6.md)(): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
| [copy](copy.md)| [jvm]
Content
fun [copy](copy.md)(particle: Particle, amount: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), offset: Vector?, extra: [Number](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html), data: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?, force: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)): [KSpigotParticle](index.md)
| [equals](../../net.axay.kspigot.utils/-registerable-command/index.md#kotlin/Any/equals/#kotlin.Any?/PointingToDeclaration/)| [jvm]
Content
open operator override fun [equals](../../net.axay.kspigot.utils/-registerable-command/index.md#kotlin/Any/equals/#kotlin.Any?/PointingToDeclaration/)(other: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
| [hashCode](../../net.axay.kspigot.utils/-registerable-command/index.md#kotlin/Any/hashCode/#/PointingToDeclaration/)| [jvm]
Content
open override fun [hashCode](../../net.axay.kspigot.utils/-registerable-command/index.md#kotlin/Any/hashCode/#/PointingToDeclaration/)(): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)
| [spawnAt](spawn-at.md)| [jvm]
Brief description
Spawns the particle at the location. It will be visible for everyone near it.
Content
fun [spawnAt](spawn-at.md)(loc: Location)
| [spawnFor](spawn-for.md)| [jvm]
Brief description
Spawns the particle at the location of the player. It will be only visible for the player.
Content
fun [spawnFor](spawn-for.md)(player: Player)
| [toString](../../net.axay.kspigot.utils/-registerable-command/index.md#kotlin/Any/toString/#/PointingToDeclaration/)| [jvm]
Content
open override fun [toString](../../net.axay.kspigot.utils/-registerable-command/index.md#kotlin/Any/toString/#/PointingToDeclaration/)(): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)
## Properties
| Name| Summary|
|---|---|
| [amount](index.md#net.axay.kspigot.particles/KSpigotParticle/amount/#/PointingToDeclaration/)| [jvm]
The amount of particles.
var [amount](index.md#net.axay.kspigot.particles/KSpigotParticle/amount/#/PointingToDeclaration/): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)
| [data](index.md#net.axay.kspigot.particles/KSpigotParticle/data/#/PointingToDeclaration/)| [jvm]
Particle specific data, often specifying BlockData or an ItemStack.
var [data](index.md#net.axay.kspigot.particles/KSpigotParticle/data/#/PointingToDeclaration/): [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?
| [extra](index.md#net.axay.kspigot.particles/KSpigotParticle/extra/#/PointingToDeclaration/)| [jvm]
Particle specific data, often specifying an aspect like speed.
var [extra](index.md#net.axay.kspigot.particles/KSpigotParticle/extra/#/PointingToDeclaration/): [Number](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html)
| [force](index.md#net.axay.kspigot.particles/KSpigotParticle/force/#/PointingToDeclaration/)| [jvm]
Determines whether the client should be encouraged to display the particles.
var [force](index.md#net.axay.kspigot.particles/KSpigotParticle/force/#/PointingToDeclaration/): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
| [offset](index.md#net.axay.kspigot.particles/KSpigotParticle/offset/#/PointingToDeclaration/)| [jvm]
The offset at which particles should appear.
var [offset](index.md#net.axay.kspigot.particles/KSpigotParticle/offset/#/PointingToDeclaration/): Vector?
| [particle](index.md#net.axay.kspigot.particles/KSpigotParticle/particle/#/PointingToDeclaration/)| [jvm]
The type of Particle.
val [particle](index.md#net.axay.kspigot.particles/KSpigotParticle/particle/#/PointingToDeclaration/): Particle