Particle Option (Expression) — SkNMS

Addon: SkNMS · Category: Expression · Since: 1.1.0

Syntax

particle option of %particle/minecraftparticle% [(with data|using) %-object%] [and] with probability %float%

Description

Create a particle option to use in custom biomes. You can use either Skript's `particle` (along with its built in data) or SkBee's `minecraftParticle`. Probability is a value between 0 and 1 (Anything higher/lower will be clamped), this is how often the particle will spawn in the biome.

Examples

particle option of white_ash with probability 1
particle option of pale_oak_leaves with probability 0.05
particle option of block with data oak_leaves[] with probability 0.1

View source