GenisysPro  for Minecraft PE/Windows 10 v1.1.x
Feature-rich server software for Minecraft PE and Windows 10 Edition
ChunkManager Interface Reference

Public Member Functions

 getBlockIdAt (int $x, int $y, int $z)
 
 setBlockIdAt (int $x, int $y, int $z, int $id)
 
 getBlockDataAt (int $x, int $y, int $z)
 
 setBlockDataAt (int $x, int $y, int $z, int $data)
 
 getBlockLightAt (int $x, int $y, int $z)
 
 updateBlockLight (int $x, int $y, int $z)
 
 setBlockLightAt (int $x, int $y, int $z, int $level)
 
 getChunk (int $chunkX, int $chunkZ)
 
 setChunk (int $chunkX, int $chunkZ, Chunk $chunk=null)
 
 getSeed ()
 

Member Function Documentation

◆ getBlockDataAt()

getBlockDataAt ( int  $x,
int  $y,
int  $z 
)

Gets the raw block metadata

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

Implemented in Level, and SimpleChunkManager.

◆ getBlockIdAt()

getBlockIdAt ( int  $x,
int  $y,
int  $z 
)

Gets the raw block id.

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

Implemented in Level, and SimpleChunkManager.

◆ getBlockLightAt()

getBlockLightAt ( int  $x,
int  $y,
int  $z 
)

Gets the raw block light level

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

Implemented in Level, and SimpleChunkManager.

◆ getChunk()

getChunk ( int  $chunkX,
int  $chunkZ 
)
Parameters
int$chunkX
int$chunkZ
Returns
Chunk|null

Implemented in SimpleChunkManager.

◆ getSeed()

getSeed ( )

Gets the level seed

Returns
int|string

Implemented in Level, and SimpleChunkManager.

◆ setBlockDataAt()

setBlockDataAt ( int  $x,
int  $y,
int  $z,
int  $data 
)

Sets the raw block metadata.

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

Implemented in Level, and SimpleChunkManager.

◆ setBlockIdAt()

setBlockIdAt ( int  $x,
int  $y,
int  $z,
int  $id 
)

Sets the raw block id.

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

Implemented in Level, and SimpleChunkManager.

◆ setBlockLightAt()

setBlockLightAt ( int  $x,
int  $y,
int  $z,
int  $level 
)

Sets the raw block light level.

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

Implemented in Level, and SimpleChunkManager.

◆ setChunk()

setChunk ( int  $chunkX,
int  $chunkZ,
Chunk  $chunk = null 
)
Parameters
int$chunkX
int$chunkZ
Chunk$chunk

Implemented in SimpleChunkManager.

◆ updateBlockLight()

updateBlockLight ( int  $x,
int  $y,
int  $z 
)

Updates the light around the block

Parameters
$x
$y
$z

Implemented in Level.


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