public abstract class ParticleColor extends ParticleData
ParticleColor class is used to store the rgb values of colors and
convert them into the corresponding nms objects.PropertyType.COLORABLE| Modifier and Type | Method and Description |
|---|---|
float |
getBlue()
Gets the blue value of the color.
|
float |
getGreen()
Gets green red value of the color.
|
float |
getRed()
Gets the red value of the color.
|
abstract Object |
toNMSData()
Converts the current
ParticleData instance into nms data. |
getEffect, setEffectpublic 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.toNMSData in class ParticleDatapublic float getRed()
public float getGreen()
public float getBlue()
Copyright © 2021. All rights reserved.