C# Class OpenMinecraft.IMapGenerator

Afficher le fichier Open project: N3X15/MineEdit Class Usage Examples

Private Properties

Свойство Type Description
Precipitate void

Méthodes publiques

Méthode 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

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

Method Details

AddDungeons() public méthode

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

AddSoil() public méthode

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
Résultat void

AddTrees() public méthode

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
Résultat void

DetermineBiomes() public méthode

public DetermineBiomes ( Vector3i chunkScale, long X, long Z ) : ].BiomeType[
chunkScale Vector3i
X long
Z long
Résultat ].BiomeType[

Generate() public abstract méthode

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

Load() public abstract méthode

public abstract Load ( string Folder ) : void
Folder string
Résultat void

Save() public abstract méthode

public abstract Save ( string Folder ) : void
Folder string
Résultat void

SetupBiomeNoise() public méthode

public SetupBiomeNoise ( int RandomSeed ) : void
RandomSeed int
Résultat void