public static final class ParticleEffect.BlockData extends ParticleEffect.ParticleData
ParticleEffect.BLOCK_CRACK
and ParticleEffect.BLOCK_DUST
effects
This class is part of the ParticleEffect Library and follows the same usage conditions
Constructor and Description |
---|
BlockData(org.bukkit.Material material,
byte data)
Construct a new block data
|
getData, getMaterial, getPacketData, getPacketDataString
public BlockData(org.bukkit.Material material, byte data) throws java.lang.IllegalArgumentException
material
- Material of the blockdata
- Data value of the blockjava.lang.IllegalArgumentException
- If the material is not a blockParticleData#ParticleData(Material, byte)