C# Class OpenMinecraft.IMapGenerator

Mostra file Open project: N3X15/MineEdit Class Usage Examples

Private Properties

Property Type Description
Precipitate void

Public Methods

Method Description
AddDungeons ( byte &b, IMapHandler &mh, Random rand, long X, long Z ) : void
AddSoil ( long X, long Z, RidgedMultifractal CavernNoise, Perlin CaveNoise, double hm, byte &b, BiomeType biomes, int WaterHeight, int depth, MapGenMaterials mats ) : void
AddTrees ( IMapHandler &mh, BiomeType biomes, Random &rand, int X, int Z, int H ) : void
DetermineBiomes ( Vector3i chunkScale, long X, long Z ) : ].BiomeType[
Generate ( IMapHandler map, long X, long Z, double &min, double &max ) : ].double[
Load ( string Folder ) : void
Save ( string Folder ) : void
SetupBiomeNoise ( int RandomSeed ) : void

Private Methods

Method Description
Precipitate ( byte &b, BiomeType bt, MapGenMaterials mats, long X, long Z ) : void

Method Details

AddDungeons() public method

public AddDungeons ( byte &b, IMapHandler &mh, Random rand, long X, long Z ) : void
b byte
mh IMapHandler
rand System.Random
X long
Z long
return void

AddSoil() public method

public AddSoil ( long X, long Z, RidgedMultifractal CavernNoise, Perlin CaveNoise, double hm, byte &b, BiomeType biomes, int WaterHeight, int depth, MapGenMaterials mats ) : void
X long
Z long
CavernNoise LibNoise.RidgedMultifractal
CaveNoise LibNoise.Perlin
hm double
b byte
biomes BiomeType
WaterHeight int
depth int
mats MapGenMaterials
return void

AddTrees() public method

public AddTrees ( IMapHandler &mh, BiomeType biomes, Random &rand, int X, int Z, int H ) : void
mh IMapHandler
biomes BiomeType
rand System.Random
X int
Z int
H int
return void

DetermineBiomes() public method

public DetermineBiomes ( Vector3i chunkScale, long X, long Z ) : ].BiomeType[
chunkScale Vector3i
X long
Z long
return ].BiomeType[

Generate() public abstract method

public abstract Generate ( IMapHandler map, long X, long Z, double &min, double &max ) : ].double[
map IMapHandler
X long
Z long
min double
max double
return ].double[

Load() public abstract method

public abstract Load ( string Folder ) : void
Folder string
return void

Save() public abstract method

public abstract Save ( string Folder ) : void
Folder string
return void

SetupBiomeNoise() public method

public SetupBiomeNoise ( int RandomSeed ) : void
RandomSeed int
return void