VibrationParticleEffectBuilder

A builder for building vibration particle effects.

Functions

Link copied to clipboard
@Contract(value = "-> new", pure = true)
@NotNull
abstract fun build(): @NotNull ParticleEffect
Link copied to clipboard
@Contract(value = "_ -> this", mutates = "this")
abstract fun destination(position: Vec3d): VibrationParticleEffectBuilder

Sets the destination location from the given position.

Link copied to clipboard
@Contract(value = "_ -> this", mutates = "this")
abstract fun longDistance(longDistance: Boolean): VibrationParticleEffectBuilder

Sets whether the particle effect can be viewed from a further distance than normal.

Link copied to clipboard
@Contract(value = "_ -> this", mutates = "this")
abstract fun offset(offset: Vec3d): VibrationParticleEffectBuilder

Sets the offset the particles can be from the origin.

Link copied to clipboard
@Contract(value = "_ -> this", mutates = "this")
abstract fun quantity(quantity: Int): VibrationParticleEffectBuilder

Sets the number of particles to be spawned by the particle effect.

Link copied to clipboard
@Contract(value = "_ -> this", mutates = "this")
abstract fun ticks(ticks: Int): VibrationParticleEffectBuilder

Sets the amount of ticks it will take to vibrate from the origin to the destination.