Package-level declarations

Types

Link copied to clipboard

A type of particle that uses a block texture for its appearance.

Link copied to clipboard

A type of particle that uses a colour for its appearance.

Link copied to clipboard

A type of particle that can have velocity applied in a direction.

Link copied to clipboard

A type of particle that uses a colour and scale for its appearance.

Link copied to clipboard

A type of particle that uses a colour and scale for its appearance, and transitions from one colour to another.

Link copied to clipboard

A type of particle that uses an item texture for its appearance.

Link copied to clipboard

A type of particle that uses a specific note value for its colour appearance.

Link copied to clipboard
interface ParticleEffect

Holds information used to spawn particles for a player.

Link copied to clipboard
@CataloguedBy(catalogue = ParticleTypes::class)
interface ParticleType : Keyed

A type of particle effect.

Link copied to clipboard
@Catalogue(type = ParticleType::class)
object ParticleTypes

All of the built-in vanilla particle types.

Link copied to clipboard

A particle type that scopes the return of the builder.

Link copied to clipboard

A type of particle with basic options available.

Link copied to clipboard

A type of particle that vibrates from one location to another in a given amount of ticks.

Functions

Link copied to clipboard
@Contract(value = "_, _ -> new", pure = true)
inline fun <B : Base<B>, T : Scoped<B>> particleEffect(type: T, builder: B.() -> Unit): ParticleEffect
@Contract(value = "_, _ -> new", pure = true)
inline fun <B : Base<B>, T : Scoped<B>> particleEffect(type: RegistryReference<T>, builder: B.() -> Unit): ParticleEffect

Creates a new particle effect with the given type and the result of applying the given builder.