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

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.

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

Syntax

   
 C# 
[NotNullAttribute]
public static Map GenerateFlatgrass(
	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 flatgrass 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