Class ReflectiveParticleSpawner
java.lang.Object
dev.esophose.playerparticles.particles.spawning.ParticleSpawner
dev.esophose.playerparticles.particles.spawning.ReflectiveParticleSpawner
public class ReflectiveParticleSpawner extends ParticleSpawner
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReflectiveParticleSpawner.ParticlePacketRepresents a particle effect packet with all attributes which is used for sending packets to the playersNested classes/interfaces inherited from class dev.esophose.playerparticles.particles.spawning.ParticleSpawner
ParticleSpawner.ParticleColorException, ParticleSpawner.ParticleDataException -
Constructor Summary
Constructors Constructor Description ReflectiveParticleSpawner() -
Method Summary
Modifier and Type Method Description voiddisplay(ParticleEffect particleEffect, double offsetX, double offsetY, double offsetZ, double speed, int amount, org.bukkit.Location center, boolean isLongRange, org.bukkit.entity.Player owner)Displays a particle effectvoiddisplay(ParticleEffect particleEffect, ColorTransition colorTransition, double offsetX, double offsetY, double offsetZ, int amount, org.bukkit.Location center, boolean isLongRange, org.bukkit.entity.Player owner, float size)Displays a particle effect which requires additional data and is only visible for all players within a certain range in the world of @param centervoiddisplay(ParticleEffect particleEffect, ParticleColor color, org.bukkit.Location center, boolean isLongRange, org.bukkit.entity.Player owner, float size)Displays a single particle which is coloredvoiddisplay(ParticleEffect particleEffect, Vibration vibration, double offsetX, double offsetY, double offsetZ, int amount, org.bukkit.Location center, boolean isLongRange, org.bukkit.entity.Player owner)Displays a particle effect which requires additional data and is only visible for all players within a certain range in the world of @param centervoiddisplay(ParticleEffect particleEffect, org.bukkit.Material spawnMaterial, double offsetX, double offsetY, double offsetZ, double speed, int amount, org.bukkit.Location center, boolean isLongRange, org.bukkit.entity.Player owner)Displays a particle effect which requires additional data and is only visible for all players within a certain range in the world of @param centerMethods inherited from class dev.esophose.playerparticles.particles.spawning.ParticleSpawner
canSee, getPlayersInRange
-
Constructor Details
-
ReflectiveParticleSpawner
public ReflectiveParticleSpawner()
-
-
Method Details
-
display
public void display(ParticleEffect particleEffect, double offsetX, double offsetY, double offsetZ, double speed, int amount, org.bukkit.Location center, boolean isLongRange, org.bukkit.entity.Player owner)Description copied from class:ParticleSpawnerDisplays a particle effect- Specified by:
displayin classParticleSpawner- Parameters:
particleEffect- The particle type to displayoffsetX- Maximum distance particles can fly away from the center on the x-axisoffsetY- Maximum distance particles can fly away from the center on the y-axisoffsetZ- Maximum distance particles can fly away from the center on the z-axisspeed- Display speed of the particlesamount- Amount of particlescenter- Center location of the effectisLongRange- If the particle can be viewed from long rangeowner- The player that owns the particles
-
display
public void display(ParticleEffect particleEffect, ParticleColor color, org.bukkit.Location center, boolean isLongRange, org.bukkit.entity.Player owner, float size)Description copied from class:ParticleSpawnerDisplays a single particle which is colored- Specified by:
displayin classParticleSpawner- Parameters:
particleEffect- The particle type to displaycolor- Color of the particlecenter- Center location of the effectisLongRange- If the particle can be viewed from long rangeowner- The player that owns the particlessize- The size of the particle
-
display
public void display(ParticleEffect particleEffect, org.bukkit.Material spawnMaterial, double offsetX, double offsetY, double offsetZ, double speed, int amount, org.bukkit.Location center, boolean isLongRange, org.bukkit.entity.Player owner)Description copied from class:ParticleSpawnerDisplays a particle effect which requires additional data and is only visible for all players within a certain range in the world of @param center- Specified by:
displayin classParticleSpawner- Parameters:
particleEffect- The particle type to displayspawnMaterial- Material of the effectoffsetX- Maximum distance particles can fly away from the center on the x-axisoffsetY- Maximum distance particles can fly away from the center on the y-axisoffsetZ- Maximum distance particles can fly away from the center on the z-axisspeed- Display speed of the particlesamount- Amount of particlescenter- Center location of the effectisLongRange- If the particle can be viewed from long rangeowner- The player that owns the particles
-
display
public void display(ParticleEffect particleEffect, ColorTransition colorTransition, double offsetX, double offsetY, double offsetZ, int amount, org.bukkit.Location center, boolean isLongRange, org.bukkit.entity.Player owner, float size)Description copied from class:ParticleSpawnerDisplays a particle effect which requires additional data and is only visible for all players within a certain range in the world of @param center- Specified by:
displayin classParticleSpawner- Parameters:
particleEffect- The particle type to displaycolorTransition- Color transition of the effectoffsetX- Maximum distance particles can fly away from the center on the x-axisoffsetY- Maximum distance particles can fly away from the center on the y-axisoffsetZ- Maximum distance particles can fly away from the center on the z-axisamount- Amount of particlescenter- Center location of the effectisLongRange- If the particle can be viewed from long rangeowner- The player that owns the particlessize- The size of the particles
-
display
public void display(ParticleEffect particleEffect, Vibration vibration, double offsetX, double offsetY, double offsetZ, int amount, org.bukkit.Location center, boolean isLongRange, org.bukkit.entity.Player owner)Description copied from class:ParticleSpawnerDisplays a particle effect which requires additional data and is only visible for all players within a certain range in the world of @param center- Specified by:
displayin classParticleSpawner- Parameters:
particleEffect- The particle type to displayvibration- Vibration of the effectoffsetX- Maximum distance particles can fly away from the center on the x-axisoffsetY- Maximum distance particles can fly away from the center on the y-axisoffsetZ- Maximum distance particles can fly away from the center on the z-axisamount- Amount of particlescenter- Center location of the effectisLongRange- If the particle can be viewed from long rangeowner- The player that owns the particles
-