java.lang.Object
io.github.thebusybiscuit.slimefun4.implementation.tasks.player.JetBootsTask
All Implemented Interfaces:
Runnable

public class JetBootsTask extends Object
  • Field Details

    • p

      protected final Player p
  • Constructor Details

    • JetBootsTask

      public JetBootsTask(@Nonnull Player p, @Nonnull JetBoots boots)
  • Method Details

    • executeTask

      protected void executeTask()
    • schedule

      public void schedule(long delay)
    • scheduleRepeating

      public void scheduleRepeating(long delay, long interval)
    • run

      public final void run()
      Specified by:
      run in interface Runnable
    • cancel

      public final void cancel()
      This method cancels this AbstractPlayerTask.
    • isValid

      protected boolean isValid()
      This method checks if this AbstractPlayerTask should be continued or cancelled. It will also cancel this AbstractPlayerTask if it became invalid.
      Returns:
      Whether this AbstractPlayerTask is still valid