PocketMine-MP 5.21.2 git-a6534ecbbbcf369264567d27e5ed70f7f5be9816
|
Public Member Functions | |
getBlockAt (int $x, int $y, int $z) | |
getChunk (int $chunkX, int $chunkZ) | |
getMaxY () | |
getMinY () | |
isInWorld (int $x, int $y, int $z) | |
setBlockAt (int $x, int $y, int $z, Block $block) | |
setChunk (int $chunkX, int $chunkZ, Chunk $chunk) | |
Definition at line 29 of file ChunkManager.php.
pocketmine\world\ChunkManager::getBlockAt | ( | int | $x, |
int | $y, | ||
int | $z ) |
Returns a Block object representing the block state at the given coordinates.
Implemented in pocketmine\world\SimpleChunkManager.
pocketmine\world\ChunkManager::getMaxY | ( | ) |
Returns the highest buildable Y coordinate of the world
Implemented in pocketmine\world\SimpleChunkManager, and pocketmine\world\World.
pocketmine\world\ChunkManager::getMinY | ( | ) |
Returns the lowest buildable Y coordinate of the world
Implemented in pocketmine\world\SimpleChunkManager, and pocketmine\world\World.
pocketmine\world\ChunkManager::isInWorld | ( | int | $x, |
int | $y, | ||
int | $z ) |
Returns whether the specified coordinates are within the valid world boundaries, taking world format limitations into account.
Implemented in pocketmine\world\SimpleChunkManager, and pocketmine\world\World.
pocketmine\world\ChunkManager::setBlockAt | ( | int | $x, |
int | $y, | ||
int | $z, | ||
Block | $block ) |
Sets the block at the given coordinates to the block state specified.
InvalidArgumentException
Implemented in pocketmine\world\SimpleChunkManager.