[This is preliminary documentation and is subject to change.]
Generates a new "ocean" map: 1 layer of sand at the bottom the map,
then solid water up to the middle of the map.
Namespace: fCraftAssembly: fCraft (in fCraft.dll) Version: 0.6.3.5 (0.6.3.5)
Syntax
| C# |
[NotNullAttribute] public static Map GenerateOcean( int width, int length, int height )
Parameters
- width
- Int32
Map width (horizontal, Notch's X).
- length
- Int32
Map length (horizontal, Notch's Z).
- height
- Int32
Map height (vertical, Notch's Y).
Return Value
Generated "ocean" map.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentOutOfRangeException | Map width, length, or height is not between 16 and 2048. |
| System..::..ArgumentException | Map volume exceeds Int32.MaxValue. |