mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-21 05:44:17 +00:00
SPIGOT-4204: Allow passing data to AreaEffectCloud particles
This commit is contained in:
parent
61e81e7467
commit
df94b61d25
1 changed files with 9 additions and 0 deletions
|
@ -132,6 +132,15 @@ public interface AreaEffectCloud extends Entity {
|
|||
*/
|
||||
void setParticle(Particle particle);
|
||||
|
||||
/**
|
||||
* Sets the particle which this cloud will be composed of
|
||||
*
|
||||
* @param particle the new particle type
|
||||
* @param data the data to use for the particle or null,
|
||||
* the type of this depends on {@link Particle#getDataType()}
|
||||
*/
|
||||
<T> void setParticle(Particle particle, T data);
|
||||
|
||||
/**
|
||||
* Sets the underlying potion data
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue