PocketMine-MP 5.23.3 git-f7687af337d001ddbcc47b8e773f014a33faa662
Loading...
Searching...
No Matches
pocketmine\world\ChunkManager Interface Reference
+ Inheritance diagram for pocketmine\world\ChunkManager:
+ Collaboration diagram for pocketmine\world\ChunkManager:

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)
 

Detailed Description

Definition at line 29 of file ChunkManager.php.

Member Function Documentation

◆ getBlockAt()

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.

◆ getMaxY()

pocketmine\world\ChunkManager::getMaxY ( )

Returns the highest buildable Y coordinate of the world

Implemented in pocketmine\world\SimpleChunkManager, and pocketmine\world\World.

◆ getMinY()

pocketmine\world\ChunkManager::getMinY ( )

Returns the lowest buildable Y coordinate of the world

Implemented in pocketmine\world\SimpleChunkManager, and pocketmine\world\World.

◆ isInWorld()

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.

◆ setBlockAt()

pocketmine\world\ChunkManager::setBlockAt ( int $x,
int $y,
int $z,
Block $block )

Sets the block at the given coordinates to the block state specified.

Exceptions

InvalidArgumentException

Implemented in pocketmine\world\SimpleChunkManager.


The documentation for this interface was generated from the following file: