Documentation

Ore
in package
implements Populator

Interfaces, Classes, Traits and Enums

Populator

Table of Contents

$oreTypes  : array<string|int, OreType>
populate()  : void
setOreTypes()  : void

Properties

$oreTypes

private array<string|int, OreType> $oreTypes = []

Methods

populate()

public populate(ChunkManager $world, int $chunkX, int $chunkZ, Random $random) : void
Parameters
$world : ChunkManager
$chunkX : int
$chunkZ : int
$random : Random
Return values
void

setOreTypes()

public setOreTypes(array<string|int, OreType$types) : void
Parameters
$types : array<string|int, OreType>
Return values
void

Search results