Class ParticleEffect
java.lang.Object
studio.magemonkey.fabled.api.particle.ParticleEffect
- All Implemented Interfaces:
- IParticleEffect
A particle effect that can be played
- 
Constructor SummaryConstructorsConstructorDescriptionParticleEffect(String name, PolarSettings shape, PolarSettings animation, ParticleSettings particle, DirectionHandler shapeDir, DirectionHandler animDir, String size, String animSize, int interval, int viewRange, boolean withRotation, double initialRotation) 
- 
Method Summary
- 
Constructor Details- 
ParticleEffectpublic ParticleEffect(String name, PolarSettings shape, PolarSettings animation, ParticleSettings particle, DirectionHandler shapeDir, DirectionHandler animDir, String size, String animSize, int interval, int viewRange, boolean withRotation, double initialRotation) - Parameters:
- shape- shape formula details
- animation- motion animation formula details
- particle- settings of the particle to use
- shapeDir- shape orientation
- animDir- animation orientation
- size- formula string for shape size
- animSize- formula string for animation size
- interval- time between animation frames in ticks
- viewRange- range in blocks players can see the effect from
 
 
- 
- 
Method Details- 
playpublic void play(org.bukkit.Location loc, int frame, int level) Plays the effect- Specified by:
- playin interface- IParticleEffect
- Parameters:
- loc- location to play at
- frame- frame of the animation to play
- level- level of the effect
 
- 
getName- Specified by:
- getNamein interface- IParticleEffect
- Returns:
- name of the effect
 
- 
getIntervalpublic int getInterval()- Specified by:
- getIntervalin interface- IParticleEffect
- Returns:
- time between each frame in ticks
 
 
-