C# Класс ManicDigger.MapTools.Generators.Noise3DWorldGenerator

Provides a chunk generator that generates chunks using the class Manic Digger (up to 2011-Mar-18) chunk generation algorithm.
Наследование: WorldGeneratorBase
Показать файл Открыть проект

Открытые методы

Метод Описание
GetChunk ( int x, int y, int z ) : byte[,,]

Returns the contents of the chunk by its coordinates.

Noise3DWorldGenerator ( ) : System

Initializes a new instance of the Noise3DWorldGenerator class.

PopulateChunk ( IMapStorage map, int x, int y, int z ) : void

Populates a chunk using the default Manic Digger chunk generation algorithm.

Приватные методы

Метод Описание
GetBlock ( int x, int y, int z, int height, int special, int xx, int yy, int zz ) : int
GetHeight ( int x, int y ) : byte

Описание методов

GetChunk() публичный Метод

Returns the contents of the chunk by its coordinates.
public GetChunk ( int x, int y, int z ) : byte[,,]
x int
y int
z int
Результат byte[,,]

Noise3DWorldGenerator() публичный Метод

Initializes a new instance of the Noise3DWorldGenerator class.
public Noise3DWorldGenerator ( ) : System
Результат System

PopulateChunk() публичный Метод

Populates a chunk using the default Manic Digger chunk generation algorithm.
public PopulateChunk ( IMapStorage map, int x, int y, int z ) : void
map IMapStorage
x int
y int
z int
Результат void