summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/bukkit/entity/AreaEffectCloud.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/entity/AreaEffectCloud.java b/src/main/java/org/bukkit/entity/AreaEffectCloud.java
index f88be2ff..9a569d3a 100644
--- a/src/main/java/org/bukkit/entity/AreaEffectCloud.java
+++ b/src/main/java/org/bukkit/entity/AreaEffectCloud.java
@@ -133,6 +133,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
*
* @param data PotionData to set the base potion state to