public class ParticleTexture extends ParticleData
ParticleData to support particles that require a texture
to function properly.PropertyType.REQUIRES_BLOCK,
PropertyType.REQUIRES_ITEM| Modifier and Type | Method and Description |
|---|---|
byte |
getData()
Gets the damage value that will be displayed by the client.
|
org.bukkit.Material |
getMaterial()
Gets the
Material that will be displayed b the particle. |
Object |
toNMSData()
Converts the current
ParticleData instance into nms data. |
getEffect, setEffectpublic org.bukkit.Material getMaterial()
Material that will be displayed b the particle.Material the current data is assigned topublic byte getData()
public 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 ParticleDataCopyright © 2021. All rights reserved.