Class ParticleImage

java.lang.Object
studio.magemonkey.fabled.api.particle.ParticleImage
All Implemented Interfaces:
IParticleEffect

public class ParticleImage extends Object implements IParticleEffect
A particle effect image that can be played
  • Constructor Details

    • ParticleImage

      public ParticleImage(String name, org.bukkit.Color[][] colors, Point3D[][] points, Formula particleSizeFormula, int interval, int iterationsPerFrame, int view, boolean withRotation, TimeBasedTransform transform)
  • Method Details

    • play

      public void play(org.bukkit.Location loc, int frame, int level)
      Plays the effect
      Specified by:
      play in interface IParticleEffect
      Parameters:
      loc - location to play at
      frame - frame of the animation to play
      level - level of the effect
    • getName

      public String getName()
      Specified by:
      getName in interface IParticleEffect
      Returns:
      name of the effect
    • getInterval

      public int getInterval()
      Specified by:
      getInterval in interface IParticleEffect
      Returns:
      time between each frame in ticks