public interface SeasonsSnowManager
extends java.lang.Runnable
| Modifier and Type | Interface and Description |
|---|---|
static class |
SeasonsSnowManager.Mode
Enum to know if it's placing/removing blocks
|
| Modifier and Type | Method and Description |
|---|---|
void |
changeMode(SeasonsSnowManager.Mode mode)
Change the Mode of the Manager.
|
void |
clearQueue()
Clear the Queue of all tasks it contains.
|
SeasonsSnowManager.Mode |
getMode() |
int |
getQueueMaxSize() |
double |
getSpeed() |
org.bukkit.World |
getWorld() |
boolean |
isActive() |
boolean |
isFull() |
boolean |
offerTask(SeasonsSnowTask task)
Offer a Task to the Manager, to be resolved on the next Tick.
|
void |
setSpeed(double speed)
Change the value of speed (number of blocks modified per chunk per second).
|
void |
start()
Start the Placing/Removal of Snow Block, depending on the speed.
|
void |
stop()
Stop the Placing/Removal of Snow Block.
|
void start()
stop()void stop()
start()boolean isActive()
boolean offerTask(SeasonsSnowTask task)
task - Task to be done.isActive(),
isFull()int getQueueMaxSize()
isFull()boolean isFull()
getQueueMaxSize()void clearQueue()
SeasonsSnowManager.Mode getMode()
changeMode(Mode)void changeMode(SeasonsSnowManager.Mode mode)
mode - getMode()double getSpeed()
setSpeed(double)void setSpeed(double speed)
speed - getSpeed()org.bukkit.World getWorld()