Class TornadoEffect

java.lang.Object
de.slikey.effectlib.Effect
de.slikey.effectlib.effect.TornadoEffect
All Implemented Interfaces:
Runnable

public class TornadoEffect extends Effect
  • Field Details

    • tornadoParticle

      public org.bukkit.Particle tornadoParticle
      Tornado particle
    • tornadoColor

      public org.bukkit.Color tornadoColor
    • cloudParticle

      public org.bukkit.Particle cloudParticle
      Particle of the cloud
    • cloudColor

      public org.bukkit.Color cloudColor
    • cloudSpeed

      public float cloudSpeed
    • cloudSize

      public float cloudSize
      Size of the cloud
    • yOffset

      public double yOffset
      Y-Offset from location
    • tornadoHeight

      public float tornadoHeight
      Height of the Tornado
    • maxTornadoRadius

      public float maxTornadoRadius
      Max radius of the Tornado
    • showCloud

      public boolean showCloud
      Should the cloud appear?
    • showTornado

      public boolean showTornado
      Should the tornado appear?
    • distance

      public double distance
      Distance between each row
    • circleParticles

      public int circleParticles
      Number of particles per circle
    • cloudParticles

      public int cloudParticles
      Number of particles in the cloud
    • circleHeight

      public double circleHeight
      Amount of y-jitter between circle particles
    • step

      protected int step
      Internal counter
  • Constructor Details

  • Method Details

    • reset

      public void reset()
      Description copied from class: Effect
      Effects should override this if they want to be reusable, this is called prior to starting so state can be reset.
      Overrides:
      reset in class Effect
    • onRun

      public void onRun()
      Specified by:
      onRun in class Effect
    • createCircle

      public List<org.bukkit.util.Vector> createCircle(double y, double radius)