<divclass="inheritance"title="Inheritance Tree"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">java.lang.Object</a>
<divclass="type-signature"><spanclass="modifiers">public class </span><spanclass="element-name type-name-label">ParticleBuilder</span>
<spanclass="extends-implements">extends <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a></span></div>
<divclass="block">Helps prepare a particle to be sent to players.
Usage of the builder is preferred over the super long <ahref="../../../org/bukkit/World.html#spawnParticle(org.bukkit.Particle,org.bukkit.Location,int,double,double,double,double,T)"><code>World.spawnParticle(Particle, Location, int, double, double, double, double, Object)</code></a> API</div>
<divclass="col-constructor-name even-row-color"><code><ahref="#%3Cinit%3E(org.bukkit.Particle)"class="member-name-link">ParticleBuilder</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../../../org/bukkit/Particle.html"title="enum class in org.bukkit">Particle</a> particle)</code></div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></code></div>
<divclass="block">Sends this particle to all players in the world.</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></code></div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="#color(org.bukkit.Color)"class="member-name-link">color</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../../../org/bukkit/Color.html"title="class in org.bukkit">Color</a> color)</code></div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="#color(org.bukkit.Color,float)"class="member-name-link">color</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../../../org/bukkit/Color.html"title="class in org.bukkit">Color</a> color,
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></code></div>
<divclass="block">Gets the particle custom data.</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><T> <ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></code></div>
<divclass="block">Gets the Particle extra data.</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></code></div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></code></div>
builder.receivers(16); if (builder.hasReceivers()) { sendParticleAsync(builder); }</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../../../org/bukkit/Location.html"title="class in org.bukkit">Location</a></code></div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="#location(org.bukkit.Location)"class="member-name-link">location</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../../../org/bukkit/Location.html"title="class in org.bukkit">Location</a> location)</code></div>
<divclass="block">Sets the location of where to spawn the particle</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="#location(org.bukkit.World,double,double,double)"class="member-name-link">location</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../../../org/bukkit/World.html"title="interface in org.bukkit">World</a> world,
<divclass="block">Sets the location of where to spawn the particle</div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></code></div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../../../org/bukkit/Particle.html"title="enum class in org.bukkit">Particle</a></code></div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="#particle(org.bukkit.Particle)"class="member-name-link">particle</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../../../org/bukkit/Particle.html"title="enum class in org.bukkit">Particle</a> particle)</code></div>
<divclass="block">Changes what particle will be sent</div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html"title="class or interface in java.util"class="external-link">List</a><<ahref="../../../org/bukkit/entity/Player.html"title="interface in org.bukkit.entity">Player</a>></code></div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></code></div>
<divclass="block">Selects all players within a cuboid selection around the particle location, within the
specified bounding box.</div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></code></div>
<divclass="block">Selects all players within the specified radius around the particle location.</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></code></div>
<divclass="block">Selects all players within a cuboid selection around the particle location, within the
specified bounding box.</div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></code></div>
<divclass="block">Selects all players within the specified radius around the particle location.</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></code></div>
<divclass="block">Selects all players within a cuboid selection around the particle location, within the
specified bounding box.</div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="#receivers(java.util.Collection)"class="member-name-link">receivers</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html"title="class or interface in java.util"class="external-link">Collection</a><<ahref="../../../org/bukkit/entity/Player.html"title="interface in org.bukkit.entity">Player</a>> receivers)</code></div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="#receivers(java.util.List)"class="member-name-link">receivers</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html"title="class or interface in java.util"class="external-link">List</a><<ahref="../../../org/bukkit/entity/Player.html"title="interface in org.bukkit.entity">Player</a>> receivers)</code></div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="#receivers(org.bukkit.entity.Player...)"class="member-name-link">receivers</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../../../org/bukkit/entity/Player.html"title="interface in org.bukkit.entity">Player</a>... receivers)</code></div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../../../org/bukkit/entity/Player.html"title="interface in org.bukkit.entity">Player</a></code></div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="#source(org.bukkit.entity.Player)"class="member-name-link">source</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../../../org/bukkit/entity/Player.html"title="interface in org.bukkit.entity">Player</a> source)</code></div>
<divclass="block">Sets the source of this particle for visibility concerns (Vanish API)</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></code></div>
<divclass="block">Sends the particle to all receiving players (or all).</div>
</div>
</div>
</div>
</div>
<divclass="inherited-list">
<h3id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a></h3>
<code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()"title="class or interface in java.lang"class="external-link">clone</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"title="class or interface in java.lang"class="external-link">equals</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()"title="class or interface in java.lang"class="external-link">finalize</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()"title="class or interface in java.lang"class="external-link">getClass</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()"title="class or interface in java.lang"class="external-link">hashCode</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()"title="class or interface in java.lang"class="external-link">notify</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()"title="class or interface in java.lang"class="external-link">notifyAll</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString()"title="class or interface in java.lang"class="external-link">toString</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()"title="class or interface in java.lang"class="external-link">wait</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)"title="class or interface in java.lang"class="external-link">wait</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)"title="class or interface in java.lang"class="external-link">wait</a></code></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="element-name">ParticleBuilder</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../../../org/bukkit/Particle.html"title="enum class in org.bukkit">Particle</a> particle)</span></div>
</section>
</li>
</ul>
</section>
</li>
<!-- ============ METHOD DETAIL ========== -->
<li>
<sectionclass="method-details"id="method-detail">
<h2>Method Details</h2>
<ulclass="member-list">
<li>
<sectionclass="detail"id="spawn()">
<h3>spawn</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></span> <spanclass="element-name">spawn</span>()</div>
<divclass="block">Sends the particle to all receiving players (or all). This method is safe to use
Asynchronously</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>a reference to this object.</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="particle()">
<h3>particle</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../../../org/bukkit/Particle.html"title="enum class in org.bukkit">Particle</a></span> <spanclass="element-name">particle</span>()</div>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></span> <spanclass="element-name">particle</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../../../org/bukkit/Particle.html"title="enum class in org.bukkit">Particle</a> particle)</span></div>
<divclass="block">Changes what particle will be sent</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>particle</code> - The particle</dd>
<dt>Returns:</dt>
<dd>a reference to this object.</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="receivers()">
<h3>receivers</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html"title="class or interface in java.util"class="external-link">List</a><<ahref="../../../org/bukkit/entity/Player.html"title="interface in org.bukkit.entity">Player</a>></span> <spanclass="element-name">receivers</span>()</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>List of players who will receive the particle, or null for all in world</dd>
builder.receivers(16); if (builder.hasReceivers()) { sendParticleAsync(builder); }</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>If this particle is going to be sent to someone</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="allPlayers()">
<h3>allPlayers</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></span> <spanclass="element-name">allPlayers</span>()</div>
<divclass="block">Sends this particle to all players in the world. This is rather silly and you should likely not
be doing this.
Just be a logical person and use receivers by radius or collection.</div>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></span> <spanclass="element-name">receivers</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html"title="class or interface in java.util"class="external-link">List</a><<ahref="../../../org/bukkit/entity/Player.html"title="interface in org.bukkit.entity">Player</a>> receivers)</span></div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>receivers</code> - List of players to receive this particle, or null for all players in the
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></span> <spanclass="element-name">receivers</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html"title="class or interface in java.util"class="external-link">Collection</a><<ahref="../../../org/bukkit/entity/Player.html"title="interface in org.bukkit.entity">Player</a>> receivers)</span></div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>receivers</code> - List of players to receive this particle, or null for all players in the
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></span> <spanclass="element-name">receivers</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../../../org/bukkit/entity/Player.html"title="interface in org.bukkit.entity">Player</a>... receivers)</span></div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>receivers</code> - List of players to be receive this particle, or null for all players in the
world</dd>
<dt>Returns:</dt>
<dd>a reference to this object.</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="receivers(int)">
<h3>receivers</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></span> <spanclass="element-name">receivers</span><wbr><spanclass="parameters">(int radius)</span></div>
<divclass="block">Selects all players within a cuboid selection around the particle location, within the
specified bounding box. If you want a more spherical check, see <ahref="#receivers(int,boolean)"><code>receivers(int, boolean)</code></a></div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>radius</code> - amount to add on all axis</dd>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></span> <spanclass="element-name">receivers</span><wbr><spanclass="parameters">(int radius,
boolean byDistance)</span></div>
<divclass="block">Selects all players within the specified radius around the particle location. If byDistance is
false, behavior uses cuboid selection the same as <ahref="#receivers(int,int)"><code>receivers(int, int)</code></a> If byDistance is
true, radius is tested by distance in a spherical shape</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>radius</code> - amount to add on each axis</dd>
<dd><code>byDistance</code> - true to use a spherical radius, false to use a cuboid</dd>
<dt>Returns:</dt>
<dd>a reference to this object.</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="receivers(int,int)">
<h3>receivers</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></span> <spanclass="element-name">receivers</span><wbr><spanclass="parameters">(int xzRadius,
int yRadius)</span></div>
<divclass="block">Selects all players within a cuboid selection around the particle location, within the
specified bounding box. Allows specifying a different Y size than X and Z If you want a more
cylinder check, see <ahref="#receivers(int,int,boolean)"><code>receivers(int, int, boolean)</code></a> If you want a more spherical check,
see <ahref="#receivers(int,boolean)"><code>receivers(int, boolean)</code></a></div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>xzRadius</code> - amount to add on the x/z axis</dd>
<dd><code>yRadius</code> - amount to add on the y axis</dd>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></span> <spanclass="element-name">receivers</span><wbr><spanclass="parameters">(int xzRadius,
int yRadius,
boolean byDistance)</span></div>
<divclass="block">Selects all players within the specified radius around the particle location. If byDistance is
false, behavior uses cuboid selection the same as <ahref="#receivers(int,int)"><code>receivers(int, int)</code></a> If byDistance is
true, radius is tested by distance on the y plane and on the x/z plane, in a cylinder shape.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>xzRadius</code> - amount to add on the x/z axis</dd>
<dd><code>yRadius</code> - amount to add on the y axis</dd>
<dd><code>byDistance</code> - true to use a cylinder shape, false to use cuboid</dd>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></span> <spanclass="element-name">receivers</span><wbr><spanclass="parameters">(int xRadius,
int yRadius,
int zRadius)</span></div>
<divclass="block">Selects all players within a cuboid selection around the particle location, within the
specified bounding box. If you want a more cylinder check, see <ahref="#receivers(int,int,boolean)"><code>receivers(int, int, boolean)</code></a> If you want a more spherical check, see <ahref="#receivers(int,boolean)"><code>receivers(int, boolean)</code></a></div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>xRadius</code> - amount to add on the x axis</dd>
<dd><code>yRadius</code> - amount to add on the y axis</dd>
<dd><code>zRadius</code> - amount to add on the z axis</dd>
<dt>Returns:</dt>
<dd>a reference to this object.</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="source()">
<h3>source</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../../../org/bukkit/entity/Player.html"title="interface in org.bukkit.entity">Player</a></span> <spanclass="element-name">source</span>()</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>The player considered the source of this particle (for Visibility concerns), or null</dd>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></span> <spanclass="element-name">source</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../../../org/bukkit/entity/Player.html"title="interface in org.bukkit.entity">Player</a> source)</span></div>
<divclass="block">Sets the source of this particle for visibility concerns (Vanish API)</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>source</code> - The player who is considered the source</dd>
<dt>Returns:</dt>
<dd>a reference to this object.</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="location()">
<h3>location</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
</span><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../../../org/bukkit/Location.html"title="class in org.bukkit">Location</a></span> <spanclass="element-name">location</span>()</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>Location of where the particle will spawn</dd>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></span> <spanclass="element-name">location</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../../../org/bukkit/Location.html"title="class in org.bukkit">Location</a> location)</span></div>
<divclass="block">Sets the location of where to spawn the particle</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>location</code> - The location of the particle</dd>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></span> <spanclass="element-name">location</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../../../org/bukkit/World.html"title="interface in org.bukkit">World</a> world,
double x,
double y,
double z)</span></div>
<divclass="block">Sets the location of where to spawn the particle</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>world</code> - World to spawn particle in</dd>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></span> <spanclass="element-name">count</span><wbr><spanclass="parameters">(int count)</span></div>
<divclass="block">Sets the number of particles to spawn</div>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></span> <spanclass="element-name">offset</span><wbr><spanclass="parameters">(double offsetX,
double offsetY,
double offsetZ)</span></div>
<divclass="block">Sets the particle offset. Varies by particle on how this is used</div>
<divclass="block">Gets the Particle extra data. Varies by particle on how this is used</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>the extra particle data</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="extra(double)">
<h3>extra</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></span> <spanclass="element-name">extra</span><wbr><spanclass="parameters">(double extra)</span></div>
<divclass="block">Sets the particle extra data. Varies by particle on how this is used</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>extra</code> - the extra particle data</dd>
<dt>Returns:</dt>
<dd>a reference to this object.</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="data()">
<h3>data</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<divclass="block">Gets the particle custom data. Varies by particle on how this is used</div>
<dlclass="notes">
<dt>Type Parameters:</dt>
<dd><code>T</code> - The Particle data type</dd>
<dt>Returns:</dt>
<dd>the ParticleData for this particle</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="data(T)">
<h3id="data(java.lang.Object)">data</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="modifiers">public</span> <spanclass="type-parameters"><T></span> <spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></span> <spanclass="element-name">data</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
T data)</span></div>
<divclass="block">Sets the particle custom data. Varies by particle on how this is used</div>
<dlclass="notes">
<dt>Type Parameters:</dt>
<dd><code>T</code> - The Particle data type</dd>
<dt>Parameters:</dt>
<dd><code>data</code> - The new particle data</dd>
<dd>whether the particle is forcefully shown to players.</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="force(boolean)">
<h3>force</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></span> <spanclass="element-name">force</span><wbr><spanclass="parameters">(boolean force)</span></div>
<divclass="block">Sets whether the particle is forcefully shown to the player. If forced, the particle will show
faraway, as far as the player's view distance allows. If false, the particle will show
according to the client's particle settings.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>force</code> - true to force, false for normal</dd>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></span> <spanclass="element-name">color</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../../../org/bukkit/Color.html"title="class in org.bukkit">Color</a> color)</span></div>
<divclass="block">Sets the particle Color. Only valid for REDSTONE.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>color</code> - the new particle color</dd>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></span> <spanclass="element-name">color</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="../../../org/bukkit/Color.html"title="class in org.bukkit">Color</a> color,
float size)</span></div>
<divclass="block">Sets the particle Color and size. Only valid for REDSTONE.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>color</code> - the new particle color</dd>
<dd><code>size</code> - the size of the particle</dd>
<dt>Returns:</dt>
<dd>a reference to this object.</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="color(int,int,int)">
<h3>color</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="ParticleBuilder.html"title="class in com.destroystokyo.paper">ParticleBuilder</a></span> <spanclass="element-name">color</span><wbr><spanclass="parameters">(int r,