Class ExprParticleDistribution

java.lang.Object
ch.njol.skript.lang.util.SimpleExpression<org.bukkit.util.Vector>
ch.njol.skript.expressions.base.PropertyExpression<ParticleEffect,org.bukkit.util.Vector>
ch.njol.skript.expressions.base.SimplePropertyExpression<ParticleEffect,org.bukkit.util.Vector>
org.skriptlang.skript.bukkit.particles.elements.expressions.ExprParticleDistribution
All Implemented Interfaces:
Debuggable, Expression<org.bukkit.util.Vector>, Loopable<org.bukkit.util.Vector>, Simplifiable<Expression<? extends org.bukkit.util.Vector>>, SyntaxElement, Converter<ParticleEffect,org.bukkit.util.Vector>, RuntimeErrorProducer, SyntaxRuntimeErrorProducer

@Name("Particle Distribution") @Description("Determines the normal distribution that particles may be drawn within.\nThe distribution is defined by a vector of x, y, and z standard deviations.\n\nParticles will be randomly drawn based on these values, clustering towards the center. 68% of particles will be within 1 standard deviation, 95% within 2, and 99.7% within three.\nThe area the particles will spawn in can be roughly estimated as being within 2 times the standard deviation in each axis.\n\nFor example, a distribution of 1, 2, and 1 would spawn particles within roughly 2 blocks on the x and z axes, and within 4 blocks on the y axis.\n\nPlease note that distributions only take effect if the particle count is greater than 0!\nParticles with counts of 0 do not have distributions.\nIf the particle count is 0, the offset is treated differently depending on the particle.\n\nMore detailed information on particle behavior can be found at <a href=\"https://docs.papermc.io/paper/dev/particles/#count-argument-behavior\">Paper\'s particle documentation</a>.\n") @Example("set the particle distribution of {_my-particle} to vector(1, 2, 1)") @Since("2.14") public class ExprParticleDistribution extends ch.njol.skript.expressions.base.SimplePropertyExpression<ParticleEffect,org.bukkit.util.Vector>