diff --git a/paper-api/src/main/java/org/bukkit/entity/AreaEffectCloud.java b/paper-api/src/main/java/org/bukkit/entity/AreaEffectCloud.java index f88be2fffa..9a569d3a3a 100644 --- a/paper-api/src/main/java/org/bukkit/entity/AreaEffectCloud.java +++ b/paper-api/src/main/java/org/bukkit/entity/AreaEffectCloud.java @@ -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()} + */ + void setParticle(Particle particle, T data); + /** * Sets the underlying potion data *