<li><ahref="../../../../../com/massivecraft/factions/util/Particles/ParticleEffect.ParticleData.html"title="class in com.massivecraft.factions.util.Particles"><spanclass="typeNameLink">Prev Class</span></a></li>
<li><ahref="../../../../../com/massivecraft/factions/util/Particles/ParticleEffect.ParticleProperty.html"title="enum in com.massivecraft.factions.util.Particles"><spanclass="typeNameLink">Next Class</span></a></li>
<dd><ahref="../../../../../com/massivecraft/factions/util/Particles/ParticleEffect.html"title="enum in com.massivecraft.factions.util.Particles">ParticleEffect</a></dd>
</dl>
<hr>
<br>
<pre>public static final class <spanclass="typeNameLabel">ParticleEffect.ParticlePacket</span>
extends java.lang.Object</pre>
<divclass="block">Represents a particle effect packet with all attributes which is used for sending packets to the players
<thclass="colOne"scope="col">Constructor and Description</th>
</tr>
<trclass="altColor">
<tdclass="colOne"><code><spanclass="memberNameLink"><ahref="../../../../../com/massivecraft/factions/util/Particles/ParticleEffect.ParticlePacket.html#ParticlePacket-com.massivecraft.factions.util.Particles.ParticleEffect-float-float-float-float-int-boolean-com.massivecraft.factions.util.Particles.ParticleEffect.ParticleData-">ParticlePacket</a></span>(<ahref="../../../../../com/massivecraft/factions/util/Particles/ParticleEffect.html"title="enum in com.massivecraft.factions.util.Particles">ParticleEffect</a> effect,
float offsetX,
float offsetY,
float offsetZ,
float speed,
int amount,
boolean longDistance,
<ahref="../../../../../com/massivecraft/factions/util/Particles/ParticleEffect.ParticleData.html"title="class in com.massivecraft.factions.util.Particles">ParticleEffect.ParticleData</a> data)</code>
<divclass="block">Construct a new particle packet</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colOne"><code><spanclass="memberNameLink"><ahref="../../../../../com/massivecraft/factions/util/Particles/ParticleEffect.ParticlePacket.html#ParticlePacket-com.massivecraft.factions.util.Particles.ParticleEffect-com.massivecraft.factions.util.Particles.ParticleEffect.ParticleColor-boolean-">ParticlePacket</a></span>(<ahref="../../../../../com/massivecraft/factions/util/Particles/ParticleEffect.html"title="enum in com.massivecraft.factions.util.Particles">ParticleEffect</a> effect,
<ahref="../../../../../com/massivecraft/factions/util/Particles/ParticleEffect.ParticleColor.html"title="class in com.massivecraft.factions.util.Particles">ParticleEffect.ParticleColor</a> color,
boolean longDistance)</code>
<divclass="block">Construct a new particle packet of a single colored particle</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colOne"><code><spanclass="memberNameLink"><ahref="../../../../../com/massivecraft/factions/util/Particles/ParticleEffect.ParticlePacket.html#ParticlePacket-com.massivecraft.factions.util.Particles.ParticleEffect-org.bukkit.util.Vector-float-boolean-com.massivecraft.factions.util.Particles.ParticleEffect.ParticleData-">ParticlePacket</a></span>(<ahref="../../../../../com/massivecraft/factions/util/Particles/ParticleEffect.html"title="enum in com.massivecraft.factions.util.Particles">ParticleEffect</a> effect,
org.bukkit.util.Vector direction,
float speed,
boolean longDistance,
<ahref="../../../../../com/massivecraft/factions/util/Particles/ParticleEffect.ParticleData.html"title="class in com.massivecraft.factions.util.Particles">ParticleEffect.ParticleData</a> data)</code>
<divclass="block">Construct a new particle packet of a single particle flying into a determined direction</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ulclass="blockList">
<liclass="blockList"><aname="method.summary">
<!---->
</a>
<h3>Method Summary</h3>
<tableclass="memberSummary"border="0"cellpadding="3"cellspacing="0"summary="Method Summary table, listing methods, and an explanation">
<divclass="block">Determine if <ahref="../../../../../com/massivecraft/factions/util/Particles/ParticleEffect.ParticlePacket.html#packetConstructor"><code>packetConstructor</code></a>, <ahref="../../../../../com/massivecraft/factions/util/Particles/ParticleEffect.ParticlePacket.html#getHandle"><code>getHandle</code></a>, <ahref="../../../../../com/massivecraft/factions/util/Particles/ParticleEffect.ParticlePacket.html#playerConnection"><code>playerConnection</code></a> and <ahref="../../../../../com/massivecraft/factions/util/Particles/ParticleEffect.ParticlePacket.html#sendPacket"><code>sendPacket</code></a> are initialized</div>
<pre>public ParticlePacket(<ahref="../../../../../com/massivecraft/factions/util/Particles/ParticleEffect.html"title="enum in com.massivecraft.factions.util.Particles">ParticleEffect</a> effect,
float offsetX,
float offsetY,
float offsetZ,
float speed,
int amount,
boolean longDistance,
<ahref="../../../../../com/massivecraft/factions/util/Particles/ParticleEffect.ParticleData.html"title="class in com.massivecraft.factions.util.Particles">ParticleEffect.ParticleData</a> data)
throws java.lang.IllegalArgumentException</pre>
<divclass="block">Construct a new particle packet</div>
<pre>public ParticlePacket(<ahref="../../../../../com/massivecraft/factions/util/Particles/ParticleEffect.html"title="enum in com.massivecraft.factions.util.Particles">ParticleEffect</a> effect,
org.bukkit.util.Vector direction,
float speed,
boolean longDistance,
<ahref="../../../../../com/massivecraft/factions/util/Particles/ParticleEffect.ParticleData.html"title="class in com.massivecraft.factions.util.Particles">ParticleEffect.ParticleData</a> data)
throws java.lang.IllegalArgumentException</pre>
<divclass="block">Construct a new particle packet of a single particle flying into a determined direction</div>
<pre>public ParticlePacket(<ahref="../../../../../com/massivecraft/factions/util/Particles/ParticleEffect.html"title="enum in com.massivecraft.factions.util.Particles">ParticleEffect</a> effect,
<ahref="../../../../../com/massivecraft/factions/util/Particles/ParticleEffect.ParticleColor.html"title="class in com.massivecraft.factions.util.Particles">ParticleEffect.ParticleColor</a> color,
boolean longDistance)</pre>
<divclass="block">Construct a new particle packet of a single colored particle</div>
<divclass="block">Initializes <ahref="../../../../../com/massivecraft/factions/util/Particles/ParticleEffect.ParticlePacket.html#packetConstructor"><code>packetConstructor</code></a>, <ahref="../../../../../com/massivecraft/factions/util/Particles/ParticleEffect.ParticlePacket.html#getHandle"><code>getHandle</code></a>, <ahref="../../../../../com/massivecraft/factions/util/Particles/ParticleEffect.ParticlePacket.html#playerConnection"><code>playerConnection</code></a> and <ahref="../../../../../com/massivecraft/factions/util/Particles/ParticleEffect.ParticlePacket.html#sendPacket"><code>sendPacket</code></a> and sets <ahref="../../../../../com/massivecraft/factions/util/Particles/ParticleEffect.ParticlePacket.html#initialized"><code>initialized</code></a> to <code>true</code> if it succeeds
<b>Note:</b> These fields only have to be initialized once, so it will return if <ahref="../../../../../com/massivecraft/factions/util/Particles/ParticleEffect.ParticlePacket.html#initialized"><code>initialized</code></a> is already set to <code>true</code></div>
<divclass="block">Determine if <ahref="../../../../../com/massivecraft/factions/util/Particles/ParticleEffect.ParticlePacket.html#packetConstructor"><code>packetConstructor</code></a>, <ahref="../../../../../com/massivecraft/factions/util/Particles/ParticleEffect.ParticlePacket.html#getHandle"><code>getHandle</code></a>, <ahref="../../../../../com/massivecraft/factions/util/Particles/ParticleEffect.ParticlePacket.html#playerConnection"><code>playerConnection</code></a> and <ahref="../../../../../com/massivecraft/factions/util/Particles/ParticleEffect.ParticlePacket.html#sendPacket"><code>sendPacket</code></a> are initialized</div>
<dl>
<dt><spanclass="returnLabel">Returns:</span></dt>
<dd>Whether these fields are initialized or not</dd>
<dd><code>center</code> - Center location of the effect</dd>
<dd><code>players</code> - Receivers of the packet</dd>
<dt><spanclass="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - If the player list is empty</dd>
<dt><spanclass="seeLabel">See Also:</span></dt>
<dd><ahref="../../../../../com/massivecraft/factions/util/Particles/ParticleEffect.ParticlePacket.html#sendTo-org.bukkit.Location-org.bukkit.entity.Player-"><code>sendTo(Location center, Player player)</code></a></dd>
<dd><code>center</code> - Center location of the effect</dd>
<dd><code>range</code> - Range in which players will receive the packet (Maximum range for particles is usually 16, but it can differ for some types)</dd>
<dt><spanclass="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - If the range is lower than 1</dd>
<dt><spanclass="seeLabel">See Also:</span></dt>
<dd><ahref="../../../../../com/massivecraft/factions/util/Particles/ParticleEffect.ParticlePacket.html#sendTo-org.bukkit.Location-org.bukkit.entity.Player-"><code>sendTo(Location center, Player player)</code></a></dd>
<li><ahref="../../../../../com/massivecraft/factions/util/Particles/ParticleEffect.ParticleData.html"title="class in com.massivecraft.factions.util.Particles"><spanclass="typeNameLink">Prev Class</span></a></li>
<li><ahref="../../../../../com/massivecraft/factions/util/Particles/ParticleEffect.ParticleProperty.html"title="enum in com.massivecraft.factions.util.Particles"><spanclass="typeNameLink">Next Class</span></a></li>