Appearance
helix / Dust
Function: Dust() โ
Dust(
color,scale?):ParticleOptionsValue
Defined in: core/values/particle.ts:54
Coloured dust particle, any colour and size.
ctx.particle(Dust(0xff3b00, 1.5), Pos.here(), Pos(0, 0, 0), 0, 1); // 1.21.4: particle minecraft:dust{color:[1.0f,0.23f,0.0f],scale:1.5f} ... // 1.20.4: particle minecraft:dust 1.0 0.23 0.0 1.5 ...
scale is clamped by vanilla to 0.01..4.
Parameters โ
color โ
number
scale? โ
number = 1