PocketMine-MP  1.4 - API 1.10.0
 All Classes Namespaces Functions Variables Pages
pocketmine\level\ChunkManager Interface Reference
+ Inheritance diagram for pocketmine\level\ChunkManager:
+ Collaboration diagram for pocketmine\level\ChunkManager:

Public Member Functions

 getBlockIdAt ($x, $y, $z)
 
 setBlockIdAt ($x, $y, $z, $id)
 
 getBlockDataAt ($x, $y, $z)
 
 setBlockDataAt ($x, $y, $z, $data)
 

Detailed Description

Definition at line 24 of file ChunkManager.php.

Member Function Documentation

pocketmine\level\ChunkManager::getBlockDataAt (   $x,
  $y,
  $z 
)

Gets the raw block metadata

Parameters
int$x
int$y
int$z
Returns
int 0-15

Implemented in pocketmine\level\Level, and pocketmine\level\generator\GenerationChunkManager.

pocketmine\level\ChunkManager::getBlockIdAt (   $x,
  $y,
  $z 
)

Gets the raw block id.

Parameters
int$x
int$y
int$z
Returns
int 0-255

Implemented in pocketmine\level\Level, and pocketmine\level\generator\GenerationChunkManager.

pocketmine\level\ChunkManager::setBlockDataAt (   $x,
  $y,
  $z,
  $data 
)

Sets the raw block metadata.

Parameters
int$x
int$y
int$z
int$data0-15

Implemented in pocketmine\level\Level, and pocketmine\level\generator\GenerationChunkManager.

pocketmine\level\ChunkManager::setBlockIdAt (   $x,
  $y,
  $z,
  $id 
)

Sets the raw block id.

Parameters
int$x
int$y
int$z
int$id0-255

Implemented in pocketmine\level\Level, and pocketmine\level\generator\GenerationChunkManager.


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