Class BeeWingsTask
java.lang.Object
io.github.thebusybiscuit.slimefun4.implementation.tasks.player.BeeWingsTask
- All Implemented Interfaces:
Runnable
This task is responsible for the repeating checks for our
BeeWings
.- Author:
- beSnow, TheBusyBiscuit
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
cancel()
This method cancels thisAbstractPlayerTask
.protected void
protected boolean
isValid()
This method checks if thisAbstractPlayerTask
should be continued or cancelled.final void
run()
void
schedule
(long delay) void
scheduleRepeating
(long delay, long interval)
-
Field Details
-
p
-
-
Constructor Details
-
BeeWingsTask
-
-
Method Details
-
executeTask
protected void executeTask() -
isValid
protected boolean isValid()This method checks if thisAbstractPlayerTask
should be continued or cancelled. It will also cancel thisAbstractPlayerTask
if it became invalid.- Returns:
- Whether this
AbstractPlayerTask
is still valid
-
schedule
public void schedule(long delay) -
scheduleRepeating
public void scheduleRepeating(long delay, long interval) -
run
public final void run() -
cancel
public final void cancel()This method cancels thisAbstractPlayerTask
.
-