PHP Class pocketmine\level\format\generic\BaseFullChunk

Inheritance: implements pocketmine\level\format\FullChunk
Afficher le fichier Open project: robske110/ClearSky Class Usage Examples

Protected Properties

Свойство Type Description
$NBTentities
$NBTtiles
$biomeColors int[256]
$blockLight
$blocks
$data
$entities pocketmine\entity\Entity[]
$extraData
$hasChanged
$heightMap
$provider pocketmine\level\format\LevelProvider
$skyLight
$tileList pocketmine\tile\Tile[]
$tiles pocketmine\tile\Tile[]
$x
$z

Méthodes publiques

Méthode Description
addEntity ( Entity $entity )
addTile ( Tile $tile )
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 ( Entity $entity )
removeTile ( Tile $tile )
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éthodes protégées

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 )

Method Details

__construct() protected méthode

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

addEntity() public méthode

public addEntity ( Entity $entity )
$entity pocketmine\entity\Entity

addTile() public méthode

public addTile ( Tile $tile )
$tile pocketmine\tile\Tile

checkOldBiomes() protected méthode

protected checkOldBiomes ( $data )

fromFastBinary() public static méthode

public static fromFastBinary ( $data, pocketmine\level\format\LevelProvider $provider = null )
$provider pocketmine\level\format\LevelProvider

getBiomeColor() public méthode

public getBiomeColor ( $x, $z )

getBiomeColorArray() public méthode

public getBiomeColorArray ( )

getBiomeId() public méthode

public getBiomeId ( $x, $z )

getBiomeIdArray() public méthode

public getBiomeIdArray ( )

getBlockDataArray() public méthode

public getBlockDataArray ( )

getBlockExtraData() public méthode

public getBlockExtraData ( $x, $y, $z )

getBlockExtraDataArray() public méthode

getBlockIdArray() public méthode

public getBlockIdArray ( )

getBlockLightArray() public méthode

public getBlockLightArray ( )

getBlockSkyLightArray() public méthode

getEntities() public méthode

public getEntities ( )

getHeightMap() public méthode

public getHeightMap ( $x, $z )

getHeightMapArray() public méthode

public getHeightMapArray ( )

getHighestBlockAt() public méthode

public getHighestBlockAt ( $x, $z, $cache = true )

getProvider() public méthode

public getProvider ( ) : pocketmine\level\format\LevelProvider
Résultat pocketmine\level\format\LevelProvider

getTile() public méthode

public getTile ( $x, $y, $z )

getTiles() public méthode

public getTiles ( )

getX() public méthode

public getX ( )

getZ() public méthode

public getZ ( )

hasChanged() public méthode

public hasChanged ( )

initChunk() public méthode

public initChunk ( )

isLightPopulated() public méthode

public isLightPopulated ( )

isLoaded() public méthode

public isLoaded ( )

load() public méthode

public load ( $generate = true )

populateSkyLight() public méthode

public populateSkyLight ( )

recalculateHeightMap() public méthode

removeEntity() public méthode

public removeEntity ( Entity $entity )
$entity pocketmine\entity\Entity

removeTile() public méthode

public removeTile ( Tile $tile )
$tile pocketmine\tile\Tile

setBiomeColor() public méthode

public setBiomeColor ( $x, $z, $R, $G, $B )

setBiomeId() public méthode

public setBiomeId ( $x, $z, $biomeId )

setBlockExtraData() public méthode

public setBlockExtraData ( $x, $y, $z, $data )

setChanged() public méthode

public setChanged ( $changed = true )

setHeightMap() public méthode

public setHeightMap ( $x, $z, $value )

setLightPopulated() public méthode

public setLightPopulated ( $value = 1 )

setProvider() public méthode

public setProvider ( pocketmine\level\format\LevelProvider $provider )
$provider pocketmine\level\format\LevelProvider

setX() public méthode

public setX ( $x )

setZ() public méthode

public setZ ( $z )

toFastBinary() public méthode

public toFastBinary ( )

unload() public méthode

public unload ( $save = true, $safe = true )

Property Details

$NBTentities protected_oe property

protected $NBTentities

$NBTtiles protected_oe property

protected $NBTtiles

$biomeColors protected_oe property

protected int[256] $biomeColors
Résultat int[256]

$blockLight protected_oe property

protected $blockLight

$blocks protected_oe property

protected $blocks

$data protected_oe property

protected $data

$entities protected_oe property

protected Entity[],pocketmine\entity $entities
Résultat pocketmine\entity\Entity[]

$extraData protected_oe property

protected $extraData

$hasChanged protected_oe property

protected $hasChanged

$heightMap protected_oe property

protected $heightMap

$provider protected_oe property

protected LevelProvider,pocketmine\level\format $provider
Résultat pocketmine\level\format\LevelProvider

$skyLight protected_oe property

protected $skyLight

$tileList protected_oe property

protected Tile[],pocketmine\tile $tileList
Résultat pocketmine\tile\Tile[]

$tiles protected_oe property

protected Tile[],pocketmine\tile $tiles
Résultat pocketmine\tile\Tile[]

$x protected_oe property

protected $x

$z protected_oe property

protected $z