Package | Description |
---|---|
com.projectkorra.projectkorra.util |
Modifier and Type | Class and Description |
---|---|
static class |
ParticleEffect.BlockData
Represents the block data for the
ParticleEffect.BLOCK_CRACK and
ParticleEffect.BLOCK_DUST effects |
static class |
ParticleEffect.ItemData
Represents the item data for the
ParticleEffect.ITEM_CRACK effect |
Modifier and Type | Method and Description |
---|---|
void |
ParticleEffect.display(ParticleEffect.ParticleData data,
float offsetX,
float offsetY,
float offsetZ,
float speed,
int amount,
org.bukkit.Location center,
double range)
Displays a particle effect which requires additional data and is only
visible for all players within a certain range in the world of @param
center
|
void |
ParticleEffect.display(ParticleEffect.ParticleData data,
float offsetX,
float offsetY,
float offsetZ,
float speed,
int amount,
org.bukkit.Location center,
java.util.List<org.bukkit.entity.Player> players)
Displays a particle effect which requires additional data and is only
visible for the specified players
|
void |
ParticleEffect.display(ParticleEffect.ParticleData data,
org.bukkit.util.Vector direction,
float speed,
org.bukkit.Location center,
double range)
Displays a single particle which requires additional data that flies into
a determined direction and is only visible for all players within a
certain range in the world of @param center
|
void |
ParticleEffect.display(ParticleEffect.ParticleData data,
org.bukkit.util.Vector direction,
float speed,
org.bukkit.Location center,
java.util.List<org.bukkit.entity.Player> players)
Displays a single particle which requires additional data that flies into
a determined direction and is only visible for the specified players
|
Constructor and Description |
---|
ParticlePacket(ParticleEffect effect,
float offsetX,
float offsetY,
float offsetZ,
float speed,
int amount,
boolean longDistance,
ParticleEffect.ParticleData data)
Construct a new particle packet
|
ParticlePacket(ParticleEffect effect,
org.bukkit.util.Vector direction,
float speed,
boolean longDistance,
ParticleEffect.ParticleData data)
Construct a new particle packet of a single particle flying into a
determined direction
|