public enum ParticleEffect extends Enum<ParticleEffect>
Enum to reflect particle packets
with their respective data.
List of all currently supported effects:
BARRIERBLOCK_CRACKBLOCK_DUSTBUBBLE_COLUMN_UPBUBBLE_POPCAMPFIRE_COSY_SMOKECAMPFIRE_SIGNAL_SMOKECLOUDCOMPOSTERCRITCRIT_MAGICCURRENT_DOWNDAMAGE_INDICATORDOLPHINDRAGON_BREATHDRIP_LAVADRIP_WATERDRIPPING_HONEYENCHANTMENT_TABLEEND_RODEXPLOSION_HUGEEXPLOSION_LARGEEXPLOSION_NORMALFALLING_DUSTFALLING_HONEYFALLING_NECTARFIREWORKS_SPARKFLAMEFOOTSTEPHEARTITEM_CRACKLANDING_HONEYLAVAMOB_APPEARANCENAUTILUSNOTEPORTALREDSTONESLIMESMOKE_LARGESMOKE_NORMALSNEEZESNOWBALLSNOW_SHOVELSPELLSPELL_INSTANTSPELL_MOBSPELL_MOB_AMBIENTSPELL_WITCHSPITSQUID_INKSUSPENDEDSUSPENDED_DEPTHSWEEP_ATTACKTOTEMTOWN_AURAVILLAGER_ANGRYVILLAGER_HAPPYWATER_BUBBLEWATER_DROPWATER_SPLASHWATER_WAKE| Enum Constant and Description |
|---|
ASH
1.16 Placeholder
|
BARRIER
In the base game this particle
is displayed by barrier blocks
when a player holds a barrier
item in the main or off hand.
|
BLOCK_CRACK
In the base game this particle
is displayed when a player breaks
a block or sprints.
|
BLOCK_DUST
In the base game this particle
is displayed when an entity hits the ground
after falling.
|
BUBBLE_COLUMN_UP
In the base game this particle
is randomly displayed by magma
blocks and soulsand underwater.
|
BUBBLE_POP
In the base game this particle
is displayed at the top of
bubble columns.
|
CAMPFIRE_COSY_SMOKE
In the base game this particle
is displayed by campfires.
|
CAMPFIRE_SIGNAL_SMOKE
In the base game this particle
is displayed by campfires with
a hay bale placed under them.
|
CLOUD
In the base game this particle
is displayed when an entity dies.
|
COMPOSTER
In the base game this particle
is displayed when a composter
is used by a player.
|
CRIMSON_SPORE
1.16 Placeholder
|
CRIT
In the base game this particle
is displayed when a player lands
a critical hit on an entity or an
arrow is launched with full power.
|
CRIT_MAGIC
In the base game this particle
is displayed when a player hits
an entity with a sharpness sword.
|
CURRENT_DOWN
In the base game this particle
is displayed by magma blocks
under water.
|
DAMAGE_INDICATOR
In the base game this particle
is displayed when a Player hits
an Entity by melee attack.
|
DOLPHIN
In the base game this particle
is displayed as a trail of
dolphins.
|
DRAGON_BREATH
In the base game this particle
is displayed by the ender dragons
breath and ender fireballs.
|
DRIP_LAVA
In the base game this particle
is displayed randomly when a
lava block is above a block.
|
DRIP_WATER
In the base game this particle
is displayed randomly when a
water block is above a block.
|
DRIPPING_HONEY
In the base game this particle
is displayed by beehives filled
with honey.
|
DRIPPING_OBSIDIAN_TEAR
1.16 Placeholder
|
ENCHANTMENT_TABLE
In the base game this particle
is displayed by bookshelves near
an enchanting table.
|
END_ROD
In the base game this particle
is displayed by end rods and
shulker bullets.
|
EXPLOSION_HUGE
In the base game this particle
is displayed when tnt or creeper
explodes.
|
EXPLOSION_LARGE
In the base game this particle
is displayed when a fireball
explodes or a wither skull hits
a block/entity.
|
EXPLOSION_NORMAL
In the base game this particle is
displayed when either a creeper or
a tnt explodes.
|
FALLING_DUST
In the base game this particle is
displayed randomly by floating sand
and gravel.
|
FALLING_HONEY
In the base game this particle is
displayed below beehives filled
with honey.
|
FALLING_NECTAR
In the base game this particle is
displayed by bees that have pollen
and are on their way to the beehive.
|
FIREWORKS_SPARK
In the base game this particle
is displayed when a firework is
launched.
|
FLAME
In the base game this particle
is randomly displayed by torches,
active furnaces,spawners and
magma cubes.
|
FOOTSTEP
This particle is unused and is removed
in the version 1.13.
|
HEART
In the base game this particle
is displayed when taming or
breeding animals.
|
ITEM_CRACK
In the base game this particle
is displayed when a tool is
broken, a egg or a splash potion
hits an entity or a block, It is
also displayed when a player eats
or a eye of ender breaks.
|
LANDING_HONEY
In the base game this particle
is displayed after a Falling or
Dripping Honey particle reaches
a block.
|
LANDING_OBSIDIAN_TEAR
1.16 Placeholder
|
LAVA
In the base game this particle
is randomly displayed by lava.
|
MOB_APPEARANCE
In the base game this particle
is displayed by elder guardians.
|
NAUTILUS
In the base game this particle
is displayed by active conduits.
|
NOTE
In the base game this particle
is displayed when rightclicking
or activating a note block.
|
PORTAL
In the base game this particle
is randomly displayed by nether
portal, endermen, ender chests,
dragon eggs, endermites and end
gateway portals.
|
REDSTONE
In the base game this particle
is randomly displayed by active
redstone ore, active redstone,
active redstone repeater and
active redstone torches.
|
REVERSE_PORTAL
1.16 Placeholder
|
SLIME
In the base game this particle
is displayed by jumping slimes.
|
SMOKE_LARGE
In the base game this particle is
randomly displayed by fire, furnace
minecarts and blazes.
|
SMOKE_NORMAL
In the base game this particle
is randomly displayed by primed
tnt, torches, end portals,
active brewing stands, monster
spawners or when either a dropper
or dispenser gets triggered.
|
SNEEZE
In the base game this particle
is displayed by sneezing baby
pandas.
|
SNOW_SHOVEL
This particle is unused and is
merged into "poof" in 1.13.
|
SNOWBALL
In the base game this particle
is displayed when a snowball
hits an entity or a block.
|
SPELL
In the base game this particle
is displayed when a splash potion or
a experience bottle hits a block or
an entity.
|
SPELL_INSTANT
In the base game this particle
is displayed when a instant splash
potion (e.g.
|
SPELL_MOB
In the base game this particle
is displayed when a entity has
a active potion effect with the
"ShowParticles" tag set to 1.
|
SPELL_MOB_AMBIENT
In the base game this particle
is displayed when a entity has
a active potion effect from a
nearby beacon.
|
SPELL_WITCH
In the base game this particle
is displayed randomly by witches.
|
SPIT
In the base game this particle
is displayed by llamas while
attacking an entity.
|
SQUID_INK
In the base game this particle
is displayed when a squid gets
damaged.
|
SUSPENDED
In the base game this particle
is displayed randomly in water.
|
SUSPENDED_DEPTH
In the base game this particle
is displayed when a player is close
to bedrock or the void.
|
SWEEP_ATTACK
In the base game this particle
is displayed when a Player hits
multiple entities at once with
a sword.
|
TOTEM
In the base game this particle
is displayed when a totem of
undying is used.
|
TOWN_AURA
In the base game this particle
is randomly displayed by mycelium
blocks.
|
VILLAGER_ANGRY
In the base game this particle
is displayed when attacking a
village.
|
VILLAGER_HAPPY
In the base game this particle
is displayed when trading with a
villager, using bone meal on crops,
feeding baby animals or walking on
turtle eggs.
|
WARPED_SPORE
1.16 Placeholder
|
WATER_BUBBLE
In the base game this particle
is displayed when a Entity is
swimming in water, a projectile
flies into the water or a fish
bites onto the bait.
|
WATER_DROP
In the base game this particle
is displayed when rain hits the
ground.
|
WATER_SPLASH
In the base game this particle
is displayed when a Entity is
swimming in water, wolves shaking
off after swimming or boats.
|
WATER_WAKE
In the base game this particle
is displayed when a fish bites
onto the bait of a fishing rod.
|
WHITE_ASH
1.16 Placeholder
|
| Modifier and Type | Field and Description |
|---|---|
static Map<ParticleEffect,Object> |
NMS_EFFECTS
A
HashMap to store the nms
instances of all currently supported
ParticleEffects. |
static ParticleEffect[] |
VALUES
A array with all
ParticleEffects. |
| Modifier and Type | Method and Description |
|---|---|
void |
display(org.bukkit.Location location)
Displays the current
ParticleEffect. |
void |
display(org.bukkit.Location location,
Collection<? extends org.bukkit.entity.Player> players)
Displays the current
ParticleEffect. |
void |
display(org.bukkit.Location location,
Color color)
Displays the current
ParticleEffect. |
void |
display(org.bukkit.Location location,
Color color,
Collection<? extends org.bukkit.entity.Player> players)
Displays the current
ParticleEffect. |
void |
display(org.bukkit.Location location,
Color color,
org.bukkit.entity.Player... players)
Displays the current
ParticleEffect. |
void |
display(org.bukkit.Location location,
Color color,
java.util.function.Predicate filter)
Displays the current
ParticleEffect. |
void |
display(org.bukkit.Location location,
float offsetX,
float offsetY,
float offsetZ,
float speed,
int amount,
ParticleData data)
Displays the current
ParticleEffect. |
void |
display(org.bukkit.Location location,
float offsetX,
float offsetY,
float offsetZ,
float speed,
int amount,
ParticleData data,
Collection<? extends org.bukkit.entity.Player> players)
Displays the current
ParticleEffect. |
void |
display(org.bukkit.Location location,
float offsetX,
float offsetY,
float offsetZ,
float speed,
int amount,
ParticleData data,
org.bukkit.entity.Player... players)
Displays the current
ParticleEffect. |
void |
display(org.bukkit.Location location,
float offsetX,
float offsetY,
float offsetZ,
float speed,
int amount,
ParticleData data,
java.util.function.Predicate<org.bukkit.entity.Player> filter)
Displays the current
ParticleEffect. |
void |
display(org.bukkit.Location location,
ParticleColor color)
Displays the current
ParticleEffect. |
void |
display(org.bukkit.Location location,
ParticleColor color,
Collection<? extends org.bukkit.entity.Player> players)
Displays the current
ParticleEffect. |
void |
display(org.bukkit.Location location,
ParticleColor color,
org.bukkit.entity.Player... players)
Displays the current
ParticleEffect. |
void |
display(org.bukkit.Location location,
ParticleColor color,
java.util.function.Predicate filter)
Displays the current
ParticleEffect. |
void |
display(org.bukkit.Location location,
org.bukkit.entity.Player... players)
Displays the current
ParticleEffect. |
void |
display(org.bukkit.Location location,
java.util.function.Predicate filter)
Displays the current
ParticleEffect. |
void |
display(org.bukkit.Location location,
org.bukkit.util.Vector vector,
float speed,
int amount,
ParticleData data)
Displays the current
ParticleEffect. |
void |
display(org.bukkit.Location location,
org.bukkit.util.Vector vector,
float speed,
int amount,
ParticleData data,
Collection<? extends org.bukkit.entity.Player> players)
Displays the current
ParticleEffect. |
void |
display(org.bukkit.Location location,
org.bukkit.util.Vector vector,
float speed,
int amount,
ParticleData data,
org.bukkit.entity.Player... players)
Displays the current
ParticleEffect. |
void |
display(org.bukkit.Location location,
org.bukkit.util.Vector vector,
float speed,
int amount,
ParticleData data,
java.util.function.Predicate filter)
Displays the current
ParticleEffect. |
String |
getFieldName()
Applies the
IntFunction defined
in the constructor to get the respective
name of the particle. |
Object |
getNMSObject()
Gets the nms instance of the current
ParticleEffect instance. |
boolean |
hasProperty(PropertyType propertyType)
Checks if the current
ParticleEffect
instance has a specific PropertyType. |
boolean |
isCorrectColor(ParticleColor color)
Checks if the current
ParticleEffect
instance needs the given ParticleColor. |
boolean |
isCorrectData(ParticleData data)
Checks if the current
ParticleEffect
instance supports the given ParticleData. |
static ParticleEffect |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParticleEffect[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParticleEffect ASH
public static final ParticleEffect BARRIER
The original use of this
particle is clientside. However
when the server writes the data
of a WorldParticles into a
ByteBuf and the particle field
is null the barrier
particle is used.
Information:
public static final ParticleEffect BLOCK_CRACK
The particle originates from the nms Entity and EntityIronGolem classes.
Information:
public static final ParticleEffect BLOCK_DUST
The particle originates from the nms EntityArmorStand, EntityRabbit and EntityLiving classes.
Information:
public static final ParticleEffect BUBBLE_COLUMN_UP
The particle is displayed clientside so it's not used in any nms classes.
Information:
public static final ParticleEffect BUBBLE_POP
The particle is displayed clientside so it's not used in any nms classes.
Information:
public static final ParticleEffect CAMPFIRE_COSY_SMOKE
The particle originates from the nms BlockCampfire class.
Information:
public static final ParticleEffect CAMPFIRE_SIGNAL_SMOKE
The particle originates from the nms BlockCampfire class.
Information:
public static final ParticleEffect CLOUD
The particle is displayed clientside so it's not used in any nms classes.
Information:
public static final ParticleEffect COMPOSTER
The particle is displayed clientside so it's not used in any nms classes.
Information:
public static final ParticleEffect CRIMSON_SPORE
public static final ParticleEffect CRIT
The normal critical particle is displayed clientside which is why it is only used in the nms EntityArrow class.
Information:
public static final ParticleEffect CRIT_MAGIC
The particle is displayed clientside so it's not used in any nms classes.
Information:
public static final ParticleEffect CURRENT_DOWN
The particle is displayed clientside so it's not used in any nms classes.
Information:
public static final ParticleEffect DAMAGE_INDICATOR
The particle originates from the nms EntityHuman class.
Information:
public static final ParticleEffect DOLPHIN
The particle originates from the nms EntityDolphin class.
Information:
public static final ParticleEffect DRAGON_BREATH
The particle originates from the nms DragonControllerLandedFlame, DragonControllerLanding and EntityDragonFireball classes.
Information:
public static final ParticleEffect DRIP_LAVA
The particle is displayed clientside so it's not used in any nms classes.
Information:
public static final ParticleEffect DRIP_WATER
The particle is displayed clientside so it's not used in any nms classes.
Information:
public static final ParticleEffect DRIPPING_HONEY
FALLING_HONEY particles,
this particle floats in the air
before falling to the ground.
The particle is displayed clientside so it's not used in any nms classes.
Information:
LANDING_HONEY particle after landing on a block.public static final ParticleEffect DRIPPING_OBSIDIAN_TEAR
public static final ParticleEffect ENCHANTMENT_TABLE
The particle is displayed clientside so it's not used in any nms classes.
Information:
public static final ParticleEffect END_ROD
Even though the original purpose of this particle is handled clientside the nms EntityShulkerBullet class still uses this particle.
Information:
public static final ParticleEffect EXPLOSION_HUGE
The particle originates from the nms EntityEnderDragon and Explosion classes and will only be shown when the size field is greater than 2.
Information:
public static final ParticleEffect EXPLOSION_LARGE
The particle originates from the nms Explosion class and will only be shown when the size field is smaller than 2.
Information:
public static final ParticleEffect EXPLOSION_NORMAL
The particle originates from the nms Explosion class.
Information:
public static final ParticleEffect FALLING_DUST
The particle is displayed clientside so it's not used in any nms classes.
Information:
public static final ParticleEffect FALLING_HONEY
DRIPPING_HONEY particles,
this particle falls instantly.
The particle is displayed clientside so it's not used in any nms classes.
Information:
LANDING_HONEY after landing on a block.public static final ParticleEffect FALLING_NECTAR
The particle originates from the nms EntityBee class.
Information:
public static final ParticleEffect FIREWORKS_SPARK
The particle originates from the nms EntityFireworks class.
Information:
public static final ParticleEffect FLAME
The particle originates from the nms MobSpawnerAbstract and EntityMagmaCube class.
Information:
public static final ParticleEffect FOOTSTEP
Since this particle is unused it isn't used in any nms classes.
Information:
public static final ParticleEffect HEART
The particle originates from the nms EntityAnimal, EntityTameableAnimal and PathfinderGoalBreed classes.
Information:
public static final ParticleEffect ITEM_CRACK
The particle originates from the nms EntityEgg, EntityHuman and EntityLiving classes.
Information:
public static final ParticleEffect LANDING_HONEY
The particle is displayed clientside so it's not used in any nms classes.
Information:
public static final ParticleEffect LANDING_OBSIDIAN_TEAR
public static final ParticleEffect LAVA
The particle is displayed clientside so it's not used in any nms classes.
Information:
public static final ParticleEffect MOB_APPEARANCE
The particle is displayed clientside so it's not used in any nms classes.
Information:
public static final ParticleEffect NAUTILUS
The particle originates from the nmsTileEntityConduit class.
Information:
public static final ParticleEffect NOTE
The particle originates from the nms BlockNote class.
Information:
public static final ParticleEffect PORTAL
The particle originates from
the following nms classes:
BlockDragonEgg, EntityEnderman,
EntityEndermite, EntityEnderPearl
and EntityEnderSignal
Information:
public static final ParticleEffect REDSTONE
The particle is mainly displayed clientside. However it is used in the BlockRedstoneOre nms class
Information:
public static final ParticleEffect REVERSE_PORTAL
public static final ParticleEffect SLIME
The particle originates from the nms EntitySlime class.
Information:
public static final ParticleEffect SMOKE_LARGE
The particle originates from the nms ItemBucket, EntityBlaze BlockFluids and EntityMinecart classes.
Information:
public static final ParticleEffect SMOKE_NORMAL
Most of the particles are displayed by the client however the explosion particles, the taming particles and a lot more are displayed by the server.
Information:
public static final ParticleEffect SNEEZE
The particle originates from the nms EntityPanda class.
Information:
public static final ParticleEffect SNOWBALL
The particle originates from the nms EntitySnowball class.
Information:
public static final ParticleEffect SNOW_SHOVEL
Since this particle is unused it isn't used in any nms classes.
Information:
public static final ParticleEffect SPELL
The particle is displayed clientside so it's not used in any nms classes.
Information:
public static final ParticleEffect SPELL_INSTANT
The particle is displayed clientside so it's not used in any nms classes.
Information:
public static final ParticleEffect SPELL_MOB
The particle originates from the nms EntityLiving and EntityWither classes.
Information:
public static final ParticleEffect SPELL_MOB_AMBIENT
The particle originates from the nms EntityLiving class.
Information:
public static final ParticleEffect SPELL_WITCH
The particle is displayed clientside so it's not used in any nms classes.
Information:
public static final ParticleEffect SPIT
The particle is displayed clientside so it's not used in any nms classes.
Information:
public static final ParticleEffect SQUID_INK
The particle originates from the nmsEntitySquid class.
Information:
public static final ParticleEffect SUSPENDED
The particle is displayed clientside so it's not used in any nms classes.
Information:
public static final ParticleEffect SUSPENDED_DEPTH
The particle is displayed clientside so it's not used in any nms classes.
Information:
public static final ParticleEffect SWEEP_ATTACK
The particle originates from the nms EntityHuman class,
Information:
public static final ParticleEffect TOTEM
The particle is displayed clientside so it's not used in any nms classes.
Information:
public static final ParticleEffect TOWN_AURA
The particle is displayed clientside so it's not used in any nms classes.
Information:
public static final ParticleEffect VILLAGER_ANGRY
The particle is displayed clientside so it's not used in any nms classes.
Information:
public static final ParticleEffect VILLAGER_HAPPY
The particle originates from the nms EntityAgeable class.
Information:
public static final ParticleEffect WARPED_SPORE
public static final ParticleEffect WATER_BUBBLE
The particle originates from the nms EntityLiving, EntityProjectile and EntityFishingHook classes.
Information:
public static final ParticleEffect WATER_DROP
The particle is displayed clientside so it's not used in any nms classes.
Information:
public static final ParticleEffect WATER_SPLASH
The particle originates from the nms EntityWolf, EntityLiving and EntityBoat classes.
Information:
public static final ParticleEffect WATER_WAKE
The particle originates from the nms EntityFishingHook class.
Information:
public static final ParticleEffect WHITE_ASH
public static final ParticleEffect[] VALUES
ParticleEffects.public static final Map<ParticleEffect,Object> NMS_EFFECTS
HashMap to store the nms
instances of all currently supported
ParticleEffects.public static ParticleEffect[] values()
for (ParticleEffect c : ParticleEffect.values()) System.out.println(c);
public static ParticleEffect valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getFieldName()
IntFunction defined
in the constructor to get the respective
name of the particle.String name of the particle.public boolean hasProperty(PropertyType propertyType)
ParticleEffect
instance has a specific PropertyType.propertyType - the PropertyType
that should be searched.true if the current ParticleEffect instance supports the given PropertyType.public boolean isCorrectData(ParticleData data)
ParticleEffect
instance supports the given ParticleData.data - the ParticleData that should
that should be checked.true if the current instance supports the given ParticleData.public boolean isCorrectColor(ParticleColor color)
ParticleEffect
instance needs the given ParticleColor.
Note: Use NoteColor for the color of
notes.
color - the ParticleColor data
that should be checked.true if the current instance supports the given ParticleColor.public Object getNMSObject()
ParticleEffect instance.null if the particle isn't supported in the current minecraft version.public void display(org.bukkit.Location location,
ParticleColor color,
org.bukkit.entity.Player... players)
ParticleEffect.location - the Location at which
the particle should be displayed.color - the ParticleColor the particle
should have.players - a list of players that should receive
the particle packet.public void display(org.bukkit.Location location,
Color color,
org.bukkit.entity.Player... players)
ParticleEffect.location - the Location at which
the particle should be displayed.color - the Color the particle
should have.players - a list of players that should receive
the particle packet.public void display(org.bukkit.Location location,
ParticleColor color,
java.util.function.Predicate filter)
ParticleEffect.location - the Location at which
the particle should be displayed.color - the ParticleColor the particle
should have.filter - a Predicate to filter out
specific Players.public void display(org.bukkit.Location location,
Color color,
java.util.function.Predicate filter)
ParticleEffect.public void display(org.bukkit.Location location,
ParticleColor color,
Collection<? extends org.bukkit.entity.Player> players)
ParticleEffect.location - the Location at which
the particle should be displayed.color - the ParticleColor the particle
should have.players - a Collection of players that
should receive the particle packet.public void display(org.bukkit.Location location,
Color color,
Collection<? extends org.bukkit.entity.Player> players)
ParticleEffect.location - the Location at which
the particle should be displayed.color - the Color the particle
should have.players - a Collection of players that
should receive the particle packet.public void display(org.bukkit.Location location,
ParticleColor color)
ParticleEffect.location - the Location at which
the particle should be displayed.color - the ParticleColor the particle
should have.public void display(org.bukkit.Location location,
Color color)
ParticleEffect.location - the Location at which
the particle should be displayed.color - the Color the particle
should have.public void display(org.bukkit.Location location,
org.bukkit.entity.Player... players)
ParticleEffect.location - the Location at which
the particle should be displayed.players - a list of players that should receive
the particle packet.public void display(org.bukkit.Location location,
java.util.function.Predicate filter)
ParticleEffect.location - the Location at which
the particle should be displayed.filter - a Predicate to filter out
specific Players.public void display(org.bukkit.Location location,
Collection<? extends org.bukkit.entity.Player> players)
ParticleEffect.location - the Location at which
the particle should be displayed.players - a Collection of players that
should receive the particle packet.public void display(org.bukkit.Location location)
ParticleEffect.location - the Location at which
the particle should be displayed.public void display(org.bukkit.Location location,
org.bukkit.util.Vector vector,
float speed,
int amount,
ParticleData data,
org.bukkit.entity.Player... players)
ParticleEffect.location - the Location at whichvector - the velocity at which the
particle should fly off.
the multiplier of the particle
velocity.speed - the multiplier of the particle
velocity.amount - the amount of particles that should
be displayed.data - the ParticleData the particle
should have.players - a list of players that should receive
the particle packet.public void display(org.bukkit.Location location,
org.bukkit.util.Vector vector,
float speed,
int amount,
ParticleData data,
java.util.function.Predicate filter)
ParticleEffect.location - the Location at whichvector - the velocity at which the
particle should fly off.
the multiplier of the particle
velocity.speed - the multiplier of the particle
velocity.amount - the amount of particles that should
be displayed.data - the ParticleData the particle
should have.filter - a Predicate to filter out
specific Players.public void display(org.bukkit.Location location,
org.bukkit.util.Vector vector,
float speed,
int amount,
ParticleData data,
Collection<? extends org.bukkit.entity.Player> players)
ParticleEffect.location - the Location at whichvector - the velocity at which the
particle should fly off.
the multiplier of the particle
velocity.speed - the multiplier of the particle
velocity.amount - the amount of particles that should
be displayed.data - the ParticleData the particle
should have.players - a Collection of players that
should receive the particle packet.public void display(org.bukkit.Location location,
org.bukkit.util.Vector vector,
float speed,
int amount,
ParticleData data)
ParticleEffect.location - the Location at whichvector - the velocity at which the
particle should fly off.
the multiplier of the particle
velocity.speed - the multiplier of the particle
velocity.amount - the amount of particles that should
be displayed.data - the ParticleData the particle
should have.public void display(org.bukkit.Location location,
float offsetX,
float offsetY,
float offsetZ,
float speed,
int amount,
ParticleData data,
org.bukkit.entity.Player... players)
ParticleEffect.location - the Location at which
the particle should be displayed.offsetX - the offsetX data of the particle.offsetY - the offsetY data of the particle.offsetZ - the offsetZ data of the particle.speed - the multiplier of the particle
velocity.amount - the amount of particles that should
be displayed.data - the ParticleData the particle
should have.players - a list of players that should receive
the particle packet.public void display(org.bukkit.Location location,
float offsetX,
float offsetY,
float offsetZ,
float speed,
int amount,
ParticleData data,
java.util.function.Predicate<org.bukkit.entity.Player> filter)
ParticleEffect.location - the Location at which
the particle should be displayed.offsetX - the offsetX data of the particle.offsetY - the offsetY data of the particle.offsetZ - the offsetZ data of the particle.speed - the multiplier of the particle
velocity.amount - the amount of particles that should
be displayed.data - the ParticleData the particle
should have.filter - a Predicate to filter out
specific Players.public void display(org.bukkit.Location location,
float offsetX,
float offsetY,
float offsetZ,
float speed,
int amount,
ParticleData data)
ParticleEffect.location - the Location at which
the particle should be displayed.offsetX - the offsetX data of the particle.offsetY - the offsetY data of the particle.offsetZ - the offsetZ data of the particle.speed - the multiplier of the particle
velocity.amount - the amount of particles that should
be displayed.data - the ParticleData the particle
should have.public void display(org.bukkit.Location location,
float offsetX,
float offsetY,
float offsetZ,
float speed,
int amount,
ParticleData data,
Collection<? extends org.bukkit.entity.Player> players)
ParticleEffect.location - the Location at which
the particle should be displayed.offsetX - the offsetX data of the particle.offsetY - the offsetY data of the particle.offsetZ - the offsetZ data of the particle.speed - the multiplier of the particle
velocity.amount - the amount of particles that should
be displayed.data - the ParticleData the particle
should have.players - a Collection of players that
should receive the particle packet.Copyright © 2020. All rights reserved.