Class EarthEffect

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

public class EarthEffect extends Effect
  • Field Details

    • particleLand

      public org.bukkit.Particle particleLand
    • particleOcean

      public org.bukkit.Particle particleOcean
    • colorLand

      public org.bukkit.Color colorLand
    • colorOcean

      public org.bukkit.Color colorOcean
    • particlesLand

      public int particlesLand
    • particlesOcean

      public int particlesOcean
    • speedLand

      public float speedLand
    • speedOcean

      public float speedOcean
    • precision

      public int precision
      Precision of generation. Higher numbers have better results, but increase the time of generation. Don't pick Number above 10.000
    • particles

      public int particles
      Amount of Particles to form the World
    • radius

      public float radius
      Radius of the World
    • mountainHeight

      public float mountainHeight
      Height of the mountains.
    • firstStep

      protected boolean firstStep
      Triggers invalidation on first run
    • cacheGreen

      protected final Set<org.bukkit.util.Vector> cacheGreen
      Caches vectors to increase performance
    • cacheBlue

      protected final Set<org.bukkit.util.Vector> cacheBlue
      Caches vectors to increase performance
  • 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
    • invalidate

      public void invalidate()
    • onRun

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