public abstract class ParticleData extends Object
| Constructor and Description |
|---|
ParticleData() |
| Modifier and Type | Method and Description |
|---|---|
ParticleEffect |
getEffect()
Gets the
ParticleEffect the current ParticleData is assigned to. |
void |
setEffect(ParticleEffect effect)
Sets the
ParticleEffect. |
abstract Object |
toNMSData()
Converts the current
ParticleData instance into nms data. |
public void setEffect(ParticleEffect effect)
ParticleEffect.effect - the ParticleEffect that should be displayed.public abstract Object toNMSData()
ParticleData instance into nms data. If the current
minecraft version was released before 1.13 an int array should be returned. If the
version was released after 1.12 a nms "ParticleParam" has to be returned.public ParticleEffect getEffect()
ParticleEffect the current ParticleData is assigned to.ParticleEffectCopyright © 2021. All rights reserved.