|
| requestChunkTask ($x, $z) |
|
| unloadChunks () |
|
| getGenerator () |
|
| getGeneratorOptions () |
|
| getLoadedChunks () |
|
| isChunkLoaded ($x, $z) |
|
| saveChunks () |
|
| doGarbageCollection () |
|
| loadChunk ($chunkX, $chunkZ, $create=false) |
|
| getEmptyChunk ($chunkX, $chunkZ) |
|
| unloadChunk ($x, $z, $safe=true) |
|
| saveChunk ($x, $z) |
|
| getChunk ($chunkX, $chunkZ, $create=false) |
|
| setChunk ($chunkX, $chunkZ, FullChunk $chunk) |
|
| isChunkGenerated ($chunkX, $chunkZ) |
|
| isChunkPopulated ($chunkX, $chunkZ) |
|
| close () |
|
| __construct (Level $level, $path) |
|
| getPath () |
|
| getServer () |
|
| getLevel () |
|
| getName () |
|
| getTime () |
|
| setTime ($value) |
|
| getSeed () |
|
| setSeed ($value) |
|
| getSpawn () |
|
| setSpawn (Vector3 $pos) |
|
| doGarbageCollection () |
|
| getLevelData () |
|
| saveLevelData () |
|
|
| $regions = [] |
|
| $chunks = [] |
|
| $level |
|
| $path |
|
| $levelData |
|
|
const | ORDER_YZX = 0 |
|
const | ORDER_ZXY = 1 |
|
static createChunkSection |
( |
|
$Y | ) |
|
|
static |
static generate |
( |
|
$path, |
|
|
|
$name, |
|
|
|
$seed, |
|
|
|
$generator, |
|
|
array |
$options = [] |
|
) |
| |
|
static |
Generate the needed files in the path given
- Parameters
-
string | $path | |
string | $name | |
int | $seed | |
string | $generator | |
| array[] | $options |
Implements LevelProvider.
getChunk |
( |
|
$chunkX, |
|
|
|
$chunkZ, |
|
|
|
$create = false |
|
) |
| |
Returns the generator name
- Returns
- string
Implements LevelProvider.
static getProviderName |
( |
| ) |
|
|
static |
Returns the full provider name, like "anvil" or "mcregion", will be used to find the correct format.
- Returns
- string
Implements LevelProvider.
static getProviderOrder |
( |
| ) |
|
|
static |
isChunkGenerated |
( |
|
$X, |
|
|
|
$Z |
|
) |
| |
isChunkPopulated |
( |
|
$X, |
|
|
|
$Z |
|
) |
| |
Tells if the path is a valid level. This must tell if the current format supports opening the files in the directory
- Parameters
-
- Returns
- true
Implements LevelProvider.
loadChunk |
( |
|
$X, |
|
|
|
$Z, |
|
|
|
$create = false |
|
) |
| |
requestChunkTask |
( |
|
$x, |
|
|
|
$z |
|
) |
| |
Requests a MC: PE network chunk to be sent
- Parameters
-
- Returns
- |null
Implements LevelProvider.
setChunk |
( |
|
$chunkX, |
|
|
|
$chunkZ, |
|
|
FullChunk |
$chunk |
|
) |
| |
unloadChunk |
( |
|
$X, |
|
|
|
$Z, |
|
|
|
$safe = true |
|
) |
| |
static usesChunkSection |
( |
| ) |
|
|
static |
The documentation for this class was generated from the following file:
- /Users/Kids/Desktop/Doxygen/pocketmine/level/format/mcregion/McRegion.php