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

public class ParachuteTask extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final org.bukkit.entity.Player
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ParachuteTask(org.bukkit.entity.Player p)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final void
    This method cancels this AbstractPlayerTask.
    protected void
     
    protected boolean
    This method checks if this AbstractPlayerTask should be continued or cancelled.
    final void
    run()
     
    void
    schedule(long delay)
     
    void
    scheduleRepeating(long delay, long interval)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • p

      protected final org.bukkit.entity.Player p
  • Constructor Details

    • ParachuteTask

      public ParachuteTask(@Nonnull org.bukkit.entity.Player p)
  • 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