PocketMine
Generator Class Reference
Inheritance diagram for Generator:
Flat Nether Normal

Public Member Functions

 __construct (array $settings=[])
 
 init (ChunkManager $level, Random $random)
 
 generateChunk ($chunkX, $chunkZ)
 
 populateChunk ($chunkX, $chunkZ)
 
 getSettings ()
 
 getName ()
 
 getSpawn ()
 

Static Public Member Functions

static addGenerator ($object, $name)
 
static getGeneratorList ()
 
static getGenerator ($name)
 
static getGeneratorName ($class)
 
static getFastNoise1D (Noise $noise, $xSize, $samplingRate, $x, $y, $z)
 
static getFastNoise2D (Noise $noise, $xSize, $zSize, $samplingRate, $x, $y, $z)
 
static getFastNoise3D (Noise $noise, $xSize, $ySize, $zSize, $xSamplingRate, $ySamplingRate, $zSamplingRate, $x, $y, $z)
 

Member Function Documentation

static getFastNoise1D ( Noise  $noise,
  $xSize,
  $samplingRate,
  $x,
  $y,
  $z 
)
static
Parameters
Noise$noise
int$xSize
int$samplingRate
int$x
int$y
int$z
Returns
static getFastNoise2D ( Noise  $noise,
  $xSize,
  $zSize,
  $samplingRate,
  $x,
  $y,
  $z 
)
static
Parameters
Noise$noise
int$xSize
int$zSize
int$samplingRate
int$x
int$y
int$z
Returns
static getFastNoise3D ( Noise  $noise,
  $xSize,
  $ySize,
  $zSize,
  $xSamplingRate,
  $ySamplingRate,
  $zSamplingRate,
  $x,
  $y,
  $z 
)
static
Parameters
Noise$noise
int$xSize
int$ySize
int$zSize
int$xSamplingRate
int$ySamplingRate
int$zSamplingRate
int$x
int$y
int$z
Returns
static getGenerator (   $name)
static
Parameters
$name
Returns
Generator
static getGeneratorList ( )
static
Returns
string[]

The documentation for this class was generated from the following file: