PocketMine
|
Public Member Functions | |
__construct (Level $level, $path) | |
getPath () | |
getServer () | |
getLevel () | |
getName () | |
getTime () | |
setTime ($value) | |
getSeed () | |
setSeed ($value) | |
getSpawn () | |
setSpawn (Vector3 $pos) | |
doGarbageCollection () | |
getLevelData () | |
saveLevelData () | |
Public Member Functions inherited from LevelProvider | |
requestChunkTask ($x, $z) | |
getGenerator () | |
getGeneratorOptions () | |
getChunk ($X, $Z, $create=false) | |
saveChunks () | |
saveChunk ($X, $Z) | |
unloadChunks () | |
loadChunk ($X, $Z, $create=false) | |
unloadChunk ($X, $Z, $safe=true) | |
isChunkGenerated ($X, $Z) | |
isChunkPopulated ($X, $Z) | |
isChunkLoaded ($X, $Z) | |
setChunk ($chunkX, $chunkZ, FullChunk $chunk) | |
getLoadedChunks () | |
close () | |
Protected Attributes | |
$level | |
$path | |
$levelData | |
Additional Inherited Members | |
Static Public Member Functions inherited from LevelProvider | |
static | getProviderName () |
static | getProviderOrder () |
static | usesChunkSection () |
static | isValid ($path) |
static | generate ($path, $name, $seed, $generator, array $options=[]) |
static | createChunkSection ($Y) |
Data Fields inherited from LevelProvider | |
const | ORDER_YZX = 0 |
const | ORDER_ZXY = 1 |
__construct | ( | Level | $level, |
$path | |||
) |
Level | $level | |
string | $path |
Implements LevelProvider.
getLevel | ( | ) |
Implements LevelProvider.
getLevelData | ( | ) |
getName | ( | ) |
Implements LevelProvider.
getPath | ( | ) |
Implements LevelProvider.
getSeed | ( | ) |
Implements LevelProvider.
getSpawn | ( | ) |
Implements LevelProvider.
getTime | ( | ) |
Implements LevelProvider.
setSeed | ( | $value | ) |
int | $value |
Implements LevelProvider.
setSpawn | ( | Vector3 | $pos | ) |
Vector3 | $pos |
Implements LevelProvider.
setTime | ( | $value | ) |
int | $value |
Implements LevelProvider.