PHP Interface pocketmine\level\format\Chunk

Inheritance: extends pocketmine\level\format\FullChunk
Afficher le fichier Open project: ClearSkyTeam/ClearSky Interface Usage Examples

Méthodes publiques

Méthode Description
getSection ( integer $fY ) : pocketmine\level\format\ChunkSection
getSections ( ) : pocketmine\level\format\ChunkSection[]
isSectionEmpty ( $fY ) : boolean Tests whether a section (mini-chunk) is empty
setSection ( integer $fY, pocketmine\level\format\ChunkSection $section ) : boolean

Method Details

getSection() public méthode

public getSection ( integer $fY ) : pocketmine\level\format\ChunkSection
$fY integer 0-7
Résultat pocketmine\level\format\ChunkSection

getSections() public méthode

public getSections ( ) : pocketmine\level\format\ChunkSection[]
Résultat pocketmine\level\format\ChunkSection[]

isSectionEmpty() public méthode

Tests whether a section (mini-chunk) is empty
public isSectionEmpty ( $fY ) : boolean
$fY 0-7, (Y / 16)
Résultat boolean

setSection() public méthode

public setSection ( integer $fY, pocketmine\level\format\ChunkSection $section ) : boolean
$fY integer 0-7
$section pocketmine\level\format\ChunkSection
Résultat boolean