|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Chunk | |
|---|---|
| org.bukkit | More generalized classes in the API. |
| org.bukkit.block | Classes used to manipulate the voxels in a world,
including special states. |
| org.bukkit.event.world | Events triggered by various world states or changes. |
| org.bukkit.generator | Classes to facilitate world generation
implementation. |
| Uses of Chunk in org.bukkit |
|---|
| Methods in org.bukkit that return Chunk | |
|---|---|
Chunk |
Location.getChunk()
Gets the chunk at the represented location |
Chunk |
World.getChunkAt(Block block)
Gets the Chunk that contains the given Block |
Chunk |
World.getChunkAt(int x,
int z)
Gets the Chunk at the given coordinates |
Chunk |
World.getChunkAt(Location location)
Gets the Chunk at the given Location |
Chunk[] |
World.getLoadedChunks()
Gets an array of all loaded Chunks |
| Methods in org.bukkit with parameters of type Chunk | |
|---|---|
boolean |
World.isChunkLoaded(Chunk chunk)
Checks if the specified Chunk is loaded |
void |
World.loadChunk(Chunk chunk)
Loads the specified Chunk |
boolean |
World.unloadChunk(Chunk chunk)
Safely unloads and saves the Chunk at the specified coordinates
This method is analogous to World.unloadChunk(int, int, boolean, boolean) where safe and saveis true |
| Uses of Chunk in org.bukkit.block |
|---|
| Methods in org.bukkit.block that return Chunk | |
|---|---|
Chunk |
Block.getChunk()
Gets the chunk which contains this block |
Chunk |
BlockState.getChunk()
Gets the chunk which contains this block |
| Uses of Chunk in org.bukkit.event.world |
|---|
| Fields in org.bukkit.event.world declared as Chunk | |
|---|---|
protected Chunk |
ChunkEvent.chunk
|
| Methods in org.bukkit.event.world that return Chunk | |
|---|---|
Chunk |
ChunkEvent.getChunk()
Gets the chunk being loaded/unloaded |
| Constructors in org.bukkit.event.world with parameters of type Chunk | |
|---|---|
ChunkEvent(Chunk chunk)
|
|
ChunkLoadEvent(Chunk chunk,
boolean newChunk)
|
|
ChunkPopulateEvent(Chunk chunk)
|
|
ChunkUnloadEvent(Chunk chunk)
|
|
| Uses of Chunk in org.bukkit.generator |
|---|
| Methods in org.bukkit.generator with parameters of type Chunk | |
|---|---|
abstract void |
BlockPopulator.populate(World world,
Random random,
Chunk source)
Populates an area of blocks at or around the given chunk. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||