[This is preliminary documentation and is subject to change.]

Generates a new empty map, filled entirely with air.

Namespace: fCraft
Assembly: fCraft (in fCraft.dll) Version: 0.6.3.5 (0.6.3.5)

Syntax

   
 C# 
[NotNullAttribute]
public static Map GenerateEmpty(
	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 empty map.

Exceptions

ExceptionCondition
System..::..ArgumentOutOfRangeException Map width, length, or height is not between 16 and 2048.
System..::..ArgumentException Map volume exceeds Int32.MaxValue.

See Also