public interface LoaderData
Modifier and Type | Method and Description |
---|---|
int |
getChunksRadius()
Get the radius of chunks that the chunk loader will load.
|
org.bukkit.inventory.ItemStack |
getLoaderItem()
Get the drop item of the chunk loader, with default time.
|
org.bukkit.inventory.ItemStack |
getLoaderItem(long timeLeft)
Get the drop item of the chunk loader, with a specific time left.
|
java.lang.String |
getName()
Get the name of the data.
|
long |
getTimeLeft()
Get the default amount of time the chunk loader will run for.
|
boolean |
isChunksSpread()
Get whether or not the chunks-spread mode is enabled for this chunk loader.
|
boolean |
isInfinite()
Whether or not the chunk loader is infinite.
|
void |
setChunksRadius(int chunksRadius)
Set the radius of chunks that the chunk loader will load.
|
void |
setChunksSpread(boolean chunksSpread)
Set whether or not the chunks-spread mode is enabled for this chunk loader.
|
java.lang.String getName()
long getTimeLeft()
boolean isInfinite()
org.bukkit.inventory.ItemStack getLoaderItem()
org.bukkit.inventory.ItemStack getLoaderItem(long timeLeft)
void setChunksRadius(int chunksRadius)
chunksRadius
- The chunk radius to set.int getChunksRadius()
void setChunksSpread(boolean chunksSpread)
chunksSpread
- Set the status of the chunks spread mode.boolean isChunksSpread()