Class JetBootsTask
- java.lang.Object
-
- io.github.thebusybiscuit.slimefun4.implementation.tasks.JetBootsTask
-
-
Constructor Summary
Constructors Constructor Description JetBootsTask(Player p, double speed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
executeTask()
protected boolean
isValid()
This method checks if thisSlimefunTask
should be continued or cancelled.void
run()
void
schedule(long delay)
void
scheduleRepeating(long delay, long interval)
void
setID(int id)
-
-
-
Field Detail
-
id
protected int id
-
p
protected Player p
-
-
Constructor Detail
-
JetBootsTask
public JetBootsTask(Player p, double speed)
-
-
Method Detail
-
executeTask
public void executeTask()
-
setID
public void setID(int id)
-
schedule
public void schedule(long delay)
-
scheduleRepeating
public void scheduleRepeating(long delay, long interval)
-
isValid
protected boolean isValid()
This method checks if thisSlimefunTask
should be continued or cancelled. It will also cancel thisSlimefunTask
if it became invalid.- Returns:
- Whether this
SlimefunTask
is still valid
-
-