Class BukkitChunk
java.lang.Object
com.olziedev.playerauctions.api.scheduler.wrapped.chunk.BukkitChunk
Represents a chunk in the world.
-
Constructor Summary
ConstructorsConstructorDescriptionBukkitChunk
(Chunk chunk) BukkitChunk
(Location location) BukkitChunk
(World world, int x, int z) -
Method Summary
-
Constructor Details
-
BukkitChunk
- Parameters:
chunk
- The chunk to wrap.
-
BukkitChunk
-
BukkitChunk
- Parameters:
x
- The x coordinate of the chunk.z
- The z coordinate of the chunk.
-
-
Method Details
-
getBlock
Gets the block at the specified coordinates.- Parameters:
x
- The x coordinate of the block.y
- The y coordinate of the block.z
- The z coordinate of the block.- Returns:
- The block at the specified coordinates.
-
getWorld
- Returns:
- The world that the chunk is in.
-
getX
public int getX()- Returns:
- The x coordinate of the chunk.
-
getZ
public int getZ()- Returns:
- The z coordinate of the chunk.
-