Class TraceEffect

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

public class TraceEffect extends Effect
  • Field Details

    • refresh

      public int refresh
      Iterations to wait before refreshing particles
    • maxWayPoints

      public int maxWayPoints
      Maximum amount of way points
    • wayPoints

      protected final List<org.bukkit.util.Vector> wayPoints
      Waypoints of the trace
    • step

      protected int step
      Internal counter
    • world

      protected org.bukkit.World world
      World of the trace
  • 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