PHP 클래스 pocketmine\level\format\mcregion\Chunk

상속: extends pocketmine\level\format\generic\BaseFullChunk
파일 보기 프로젝트 열기: robske110/ClearSky 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$nbt pocketmine\nbt\tag\CompoundTag

공개 메소드들

메소드 설명
__construct ( $level, CompoundTag $nbt = null )
fromBinary ( string $data, pocketmine\level\format\LevelProvider $provider = null ) : Chunk
fromFastBinary ( $data, pocketmine\level\format\LevelProvider $provider = null )
getBlockData ( $x, $y, $z )
getBlockDataColumn ( $x, $z )
getBlockId ( $x, $y, $z )
getBlockIdColumn ( $x, $z )
getBlockLight ( $x, $y, $z )
getBlockLightColumn ( $x, $z )
getBlockSkyLight ( $x, $y, $z )
getBlockSkyLightColumn ( $x, $z )
getEmptyChunk ( integer $chunkX, integer $chunkZ, pocketmine\level\format\LevelProvider $provider = null ) : Chunk
getFullBlock ( $x, $y, $z )
getNBT ( ) : CompoundTag
isGenerated ( ) : boolean
isLightPopulated ( )
isPopulated ( ) : boolean
setBlock ( $x, $y, $z, $blockId = null, $meta = null )
setBlockData ( $x, $y, $z, $data )
setBlockId ( $x, $y, $z, $id )
setBlockLight ( $x, $y, $z, $level )
setBlockSkyLight ( $x, $y, $z, $level )
setGenerated ( integer $value = 1 )
setLightPopulated ( $value = 1 )
setPopulated ( integer $value = 1 )
toBinary ( )
toFastBinary ( )

메소드 상세

__construct() 공개 메소드

public __construct ( $level, CompoundTag $nbt = null )
$nbt pocketmine\nbt\tag\CompoundTag

fromBinary() 공개 정적인 메소드

public static fromBinary ( string $data, pocketmine\level\format\LevelProvider $provider = null ) : Chunk
$data string
$provider pocketmine\level\format\LevelProvider
리턴 Chunk

fromFastBinary() 공개 정적인 메소드

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

getBlockData() 공개 메소드

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

getBlockDataColumn() 공개 메소드

public getBlockDataColumn ( $x, $z )

getBlockId() 공개 메소드

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

getBlockIdColumn() 공개 메소드

public getBlockIdColumn ( $x, $z )

getBlockLight() 공개 메소드

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

getBlockLightColumn() 공개 메소드

public getBlockLightColumn ( $x, $z )

getBlockSkyLight() 공개 메소드

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

getBlockSkyLightColumn() 공개 메소드

public getBlockSkyLightColumn ( $x, $z )

getEmptyChunk() 공개 정적인 메소드

public static getEmptyChunk ( integer $chunkX, integer $chunkZ, pocketmine\level\format\LevelProvider $provider = null ) : Chunk
$chunkX integer
$chunkZ integer
$provider pocketmine\level\format\LevelProvider
리턴 Chunk

getFullBlock() 공개 메소드

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

getNBT() 공개 메소드

public getNBT ( ) : CompoundTag
리턴 pocketmine\nbt\tag\CompoundTag

isGenerated() 공개 메소드

public isGenerated ( ) : boolean
리턴 boolean

isLightPopulated() 공개 메소드

public isLightPopulated ( )

isPopulated() 공개 메소드

public isPopulated ( ) : boolean
리턴 boolean

setBlock() 공개 메소드

public setBlock ( $x, $y, $z, $blockId = null, $meta = null )

setBlockData() 공개 메소드

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

setBlockId() 공개 메소드

public setBlockId ( $x, $y, $z, $id )

setBlockLight() 공개 메소드

public setBlockLight ( $x, $y, $z, $level )

setBlockSkyLight() 공개 메소드

public setBlockSkyLight ( $x, $y, $z, $level )

setGenerated() 공개 메소드

public setGenerated ( integer $value = 1 )
$value integer

setLightPopulated() 공개 메소드

public setLightPopulated ( $value = 1 )

setPopulated() 공개 메소드

public setPopulated ( integer $value = 1 )
$value integer

toBinary() 공개 메소드

public toBinary ( )

toFastBinary() 공개 메소드

public toFastBinary ( )

프로퍼티 상세

$nbt 보호되어 있는 프로퍼티

protected CompoundTag,pocketmine\nbt\tag $nbt
리턴 pocketmine\nbt\tag\CompoundTag