public interface VisualEffect extends RemoteEffect<VisualEffectType>
Modifier and Type | Method and Description |
---|---|
int |
data()
Returns the data of the effect
|
void |
setData(int data)
Set the data of the effect
Only used for FIRE_SMOKE, BLOCK_BREAK and SPLASH_POTION FIRE_SMOKE requires direction of the smoke 0 = South-East, 1 = South, 2 = South-West, 3 = East, 4 = Up/Middle, 5 = West, 6 = North-East, 7 = North, 8 = North-West BLOCK_BREAK requires block ID SPLASH_POTION requires potion ID (refer to This List) |
setPosition
void setData(int data)
data
- Data of the effectint data()
Copyright © 2016. All rights reserved.