Class GridEffect

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

public class GridEffect extends Effect
  • Field Details

    • rows

      public int rows
      Rows of the grid
    • columns

      public int columns
      Columns of the grid
    • widthCell

      public float widthCell
      Width per cell in blocks
    • heightCell

      public float heightCell
      Height per cell in blocks
    • particlesWidth

      public int particlesWidth
      Particles to be spawned on the horizontal borders of the cell
    • particlesHeight

      public int particlesHeight
      Particles to be spawned on the vertical borders of the cell
    • rotation

      public double rotation
      Rotation around the Y-axis
    • rotationX

      public double rotationX
      Rotation around the X-axis
    • rotationZ

      public double rotationZ
      Rotation around the Z-axis
    • center

      public boolean center
      To center the grid on the location
  • Constructor Details

  • Method Details

    • onRun

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

      protected void addParticle(org.bukkit.Location location, org.bukkit.util.Vector v)