Normal
        
        extends Generator
    
    
            
            in package
            
        
    
    
    
        
        
    
Table of Contents
- $preset : string
- $random : Random
- $seed : int
- $gaussian : Gaussian
- $generationPopulators : array<string|int, Populator>
- $noiseBase : Simplex
- $populators : array<string|int, Populator>
- $selector : BiomeSelector
- $waterHeight : int
- __construct() : mixed
- convertSeed() : int|null
- Converts a string world seed into an integer for use by the generator.
- generateChunk() : void
- populateChunk() : void
- pickBiome() : Biome
Properties
$preset
    protected
        string
    $preset
    
        
        
    
$random
    protected
        Random
    $random
    
    
    
    
$seed
    protected
        int
    $seed
    
    
    
    
$gaussian
    private
        Gaussian
    $gaussian
    
    
    
    
$generationPopulators
    private
        array<string|int, Populator>
    $generationPopulators
     = []
    
    
    
$noiseBase
    private
        Simplex
    $noiseBase
    
    
    
    
$populators
    private
        array<string|int, Populator>
    $populators
     = []
    
    
    
$selector
    private
        BiomeSelector
    $selector
    
    
    
    
$waterHeight
    private
        int
    $waterHeight
     = 62
    
    
    
Methods
__construct()
    public
                    __construct(int $seed, string $preset) : mixed
    
        Parameters
- $seed : int
- $preset : string
Tags
Return values
mixed —convertSeed()
Converts a string world seed into an integer for use by the generator.
    public
            static        convertSeed(string $seed) : int|null
    
        Parameters
- $seed : string
Return values
int|null —generateChunk()
    public
                    generateChunk(ChunkManager $world, int $chunkX, int $chunkZ) : void
        
        Parameters
- $world : ChunkManager
- $chunkX : int
- $chunkZ : int
Return values
void —populateChunk()
    public
                    populateChunk(ChunkManager $world, int $chunkX, int $chunkZ) : void
        
        Parameters
- $world : ChunkManager
- $chunkX : int
- $chunkZ : int
Return values
void —pickBiome()
    private
                    pickBiome(int $x, int $z) : Biome
        
        Parameters
- $x : int
- $z : int