Provides functionality for generating map files.
More...
|
| static Map | GenerateFlatgrass (int width, int length, int height) |
| | Generates a new "flatgrass" map: 1 layer of grass in the middle of the map, 4 layers of dirt underneath, then stone all the way down.
|
| |
| static Map | GenerateEmpty (int width, int length, int height) |
| | Generates a new empty map, filled entirely with air.
|
| |
| static Map | GenerateOcean (int width, int length, int height) |
| | Generates a new "ocean" map: 1 layer of sand at the bottom the map, then solid water up to the middle of the map.
|
| |
| static void | MakeFloodBarrier (Map map) |
| | Makes an admincrete barrier, 1 block thick, around the lower half of the map.
|
| |
| static MapGeneratorArgs | MakeTemplate (MapGenTemplate template) |
| |
Provides functionality for generating map files.
| void fCraft.MapGenerator.AddCaves |
( |
Map |
map | ) |
|
| Map fCraft.MapGenerator.Generate |
( |
| ) |
|
| static Map fCraft.MapGenerator.GenerateEmpty |
( |
int |
width, |
|
|
int |
length, |
|
|
int |
height |
|
) |
| |
|
static |
Generates a new empty map, filled entirely with air.
- Parameters
-
| width | Map width (horizontal, Notch's X). |
| length | Map length (horizontal, Notch's Z). |
| height | Map height (vertical, Notch's Y). |
- Returns
- Generated empty map.
- Exceptions
-
| ArgumentOutOfRangeException | Map width, length, or height is not between 16 and 2048. |
| ArgumentException | Map volume exceeds Int32.MaxValue. |
| static Map fCraft.MapGenerator.GenerateFlatgrass |
( |
int |
width, |
|
|
int |
length, |
|
|
int |
height |
|
) |
| |
|
static |
Generates a new "flatgrass" map: 1 layer of grass in the middle of the map, 4 layers of dirt underneath, then stone all the way down.
- Parameters
-
| width | Map width (horizontal, Notch's X). |
| length | Map length (horizontal, Notch's Z). |
| height | Map height (vertical, Notch's Y). |
- Returns
- Generated flatgrass map.
- Exceptions
-
| ArgumentOutOfRangeException | Map width, length, or height is not between 16 and 2048. |
| ArgumentException | Map volume exceeds Int32.MaxValue. |
| Map fCraft.MapGenerator.GenerateMap |
( |
| ) |
|
| static Map fCraft.MapGenerator.GenerateOcean |
( |
int |
width, |
|
|
int |
length, |
|
|
int |
height |
|
) |
| |
|
static |
Generates a new "ocean" map: 1 layer of sand at the bottom the map, then solid water up to the middle of the map.
- Parameters
-
| width | Map width (horizontal, Notch's X). |
| length | Map length (horizontal, Notch's Z). |
| height | Map height (vertical, Notch's Y). |
- Returns
- Generated "ocean" map.
- Exceptions
-
| ArgumentOutOfRangeException | Map width, length, or height is not between 16 and 2048. |
| ArgumentException | Map volume exceeds Int32.MaxValue. |
| static void fCraft.MapGenerator.MakeFloodBarrier |
( |
Map |
map | ) |
|
|
static |
Makes an admincrete barrier, 1 block thick, around the lower half of the map.
| ProgressChangedEventHandler fCraft.MapGenerator.ProgressChanged |
The documentation for this class was generated from the following file: