Package | Description |
---|---|
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 | |
org.bukkit.generator |
Classes to facilitate
world generation
implementation. |
Modifier and Type | Method | Description |
---|---|---|
Chunk |
Location.getChunk() |
Gets the chunk at the represented location
|
Chunk |
World.getChunkAt(int x,
int z) |
Gets the
Chunk at the given coordinates |
Chunk |
World.getChunkAt(Block block) |
|
Chunk |
World.getChunkAt(Location location) |
|
Chunk[] |
World.getLoadedChunks() |
Gets an array of all loaded
Chunk s |
Modifier and Type | Method | Description |
---|---|---|
Collection<Chunk> |
World.getForceLoadedChunks() |
Returns all force loaded chunks in this world.
|
Map<Plugin,Collection<Chunk>> |
World.getPluginChunkTickets() |
Returns a map of which plugins have tickets for what chunks.
|
Modifier and Type | Method | Description |
---|---|---|
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 |
Modifier and Type | Method | Description |
---|---|---|
Chunk |
Block.getChunk() |
Gets the chunk which contains this block
|
Chunk |
BlockState.getChunk() |
Gets the chunk which contains the block represented by this block state.
|
Modifier and Type | Field | Description |
---|---|---|
protected Chunk |
ChunkEvent.chunk |
Modifier and Type | Method | Description |
---|---|---|
Chunk |
ChunkEvent.getChunk() |
Gets the chunk being loaded/unloaded
|
Constructor | Description |
---|---|
ChunkEvent(Chunk chunk) |
|
ChunkLoadEvent(Chunk chunk,
boolean newChunk) |
|
ChunkPopulateEvent(Chunk chunk) |
|
ChunkUnloadEvent(Chunk chunk) |
|
ChunkUnloadEvent(Chunk chunk,
boolean save) |
Modifier and Type | Method | Description |
---|---|---|
abstract void |
BlockPopulator.populate(World world,
Random random,
Chunk source) |
Populates an area of blocks at or around the given chunk.
|
Copyright © 2019. All rights reserved.