public class PulseTask
extends org.bukkit.scheduler.BukkitRunnable
Constructor and Description |
---|
PulseTask(GlowBlock block,
boolean async,
long delay,
boolean single)
Creates a block update task.
|
Modifier and Type | Method and Description |
---|---|
void |
run() |
void |
startPulseTask()
Schedules this task.
|
public PulseTask(GlowBlock block, boolean async, long delay, boolean single)
block
- the block to updateasync
- whether to run asynchronouslydelay
- the ticks to wait before running the tasksingle
- if true, run this task only once; if false, repeat every delay
ticksCopyright © 2021. All rights reserved.