mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-14 11:31:51 +01:00
SPIGOT-4204: Allow passing data to AreaEffectCloud particles
By: md_5 <git@md-5.net>
This commit is contained in:
parent
21e4c28d42
commit
276f96f5de
@ -132,6 +132,15 @@ public interface AreaEffectCloud extends Entity {
|
|||||||
*/
|
*/
|
||||||
void setParticle(Particle particle);
|
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
|
* Sets the underlying potion data
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user