Свойство | Type | Description | |
---|---|---|---|
$NBTentities | |||
$NBTtiles | |||
$biomeColors | int[256] | ||
$blockLight | |||
$blocks | |||
$data | |||
$entities | |||
$extraData | |||
$hasChanged | |||
$heightMap | |||
$provider | pocketmine\level\format\LevelProvider | ||
$skyLight | |||
$tileList | |||
$tiles | |||
$x | |||
$z |
Méthode | Description | |
---|---|---|
addEntity ( |
||
addTile ( |
||
fromFastBinary ( $data, pocketmine\level\format\LevelProvider $provider = null ) | ||
getBiomeColor ( $x, $z ) | ||
getBiomeColorArray ( ) | ||
getBiomeId ( $x, $z ) | ||
getBiomeIdArray ( ) | ||
getBlockDataArray ( ) | ||
getBlockExtraData ( $x, $y, $z ) | ||
getBlockExtraDataArray ( ) | ||
getBlockIdArray ( ) | ||
getBlockLightArray ( ) | ||
getBlockSkyLightArray ( ) | ||
getEntities ( ) | ||
getHeightMap ( $x, $z ) | ||
getHeightMapArray ( ) | ||
getHighestBlockAt ( $x, $z, $cache = true ) | ||
getProvider ( ) : pocketmine\level\format\LevelProvider | ||
getTile ( $x, $y, $z ) | ||
getTiles ( ) | ||
getX ( ) | ||
getZ ( ) | ||
hasChanged ( ) | ||
initChunk ( ) | ||
isLightPopulated ( ) | ||
isLoaded ( ) | ||
load ( $generate = true ) | ||
populateSkyLight ( ) | ||
recalculateHeightMap ( ) | ||
removeEntity ( |
||
removeTile ( |
||
setBiomeColor ( $x, $z, $R, $G, $B ) | ||
setBiomeId ( $x, $z, $biomeId ) | ||
setBlockExtraData ( $x, $y, $z, $data ) | ||
setChanged ( $changed = true ) | ||
setHeightMap ( $x, $z, $value ) | ||
setLightPopulated ( $value = 1 ) | ||
setProvider ( pocketmine\level\format\LevelProvider $provider ) | ||
setX ( $x ) | ||
setZ ( $z ) | ||
toFastBinary ( ) | ||
unload ( $save = true, $safe = true ) |
Méthode | Description | |
---|---|---|
__construct ( pocketmine\level\format\LevelProvider $provider, integer $x, integer $z, string $blocks, string $data, string $skyLight, string $blockLight, array $biomeColors = [], array $heightMap = [], array $entities = [], array $tiles = [], array $extraData = [] ) | ||
checkOldBiomes ( $data ) |
protected __construct ( pocketmine\level\format\LevelProvider $provider, integer $x, integer $z, string $blocks, string $data, string $skyLight, string $blockLight, array $biomeColors = [], array $heightMap = [], array $entities = [], array $tiles = [], array $extraData = [] ) | ||
$provider | pocketmine\level\format\LevelProvider | |
$x | integer | |
$z | integer | |
$blocks | string | |
$data | string | |
$skyLight | string | |
$blockLight | string | |
$biomeColors | array | |
$heightMap | array | |
$entities | array | |
$tiles | array | |
$extraData | array |
public static fromFastBinary ( $data, pocketmine\level\format\LevelProvider $provider = null ) | ||
$provider | pocketmine\level\format\LevelProvider |
public getProvider ( ) : pocketmine\level\format\LevelProvider | ||
Résultat | pocketmine\level\format\LevelProvider |
public removeEntity ( |
||
$entity |
public setProvider ( pocketmine\level\format\LevelProvider $provider ) | ||
$provider | pocketmine\level\format\LevelProvider |
protected Entity[],pocketmine\entity $entities | ||
Résultat |
protected LevelProvider,pocketmine\level\format $provider | ||
Résultat | pocketmine\level\format\LevelProvider |
protected Tile[],pocketmine\tile $tileList | ||
Résultat |
protected Tile[],pocketmine\tile $tiles | ||
Résultat |