PHP Class pocketmine\level\format\generic\BaseLevelProvider

Inheritance: implements pocketmine\level\format\LevelProvider
Mostrar archivo Open project: iTXTech/Genisys

Protected Properties

Property Type Description
$level pocketmine\level\Level
$levelData pocketmine\nbt\tag\CompoundTag
$path string

Public Methods

Method Description
__construct ( Level $level, $path )
doGarbageCollection ( )
getLevel ( )
getLevelData ( ) : CompoundTag
getName ( ) : string
getPath ( )
getSeed ( )
getServer ( )
getSpawn ( )
getTime ( )
saveLevelData ( )
setSeed ( $value )
setSpawn ( Vector3 $pos )
setTime ( $value )

Method Details

__construct() public method

public __construct ( Level $level, $path )
$level pocketmine\level\Level

doGarbageCollection() public method

public doGarbageCollection ( )

getLevel() public method

public getLevel ( )

getLevelData() public method

public getLevelData ( ) : CompoundTag
return pocketmine\nbt\tag\CompoundTag

getName() public method

public getName ( ) : string
return string

getPath() public method

public getPath ( )

getSeed() public method

public getSeed ( )

getServer() public method

public getServer ( )

getSpawn() public method

public getSpawn ( )

getTime() public method

public getTime ( )

saveLevelData() public method

public saveLevelData ( )

setSeed() public method

public setSeed ( $value )

setSpawn() public method

public setSpawn ( Vector3 $pos )
$pos pocketmine\math\Vector3

setTime() public method

public setTime ( $value )

Property Details

$level protected_oe property

protected Level,pocketmine\level $level
return pocketmine\level\Level

$levelData protected_oe property

protected CompoundTag,pocketmine\nbt\tag $levelData
return pocketmine\nbt\tag\CompoundTag

$path protected_oe property

protected string $path
return string