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

Creates an empty new map of given dimensions. Dimensions cannot be changed after creation.

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

Syntax

   
 C# 
public Map(
	World world,
	int width,
	int length,
	int height,
	bool initBlockArray
)

Parameters

world
World
World that owns this map. May be null, and may be changed later.
width
Int32
Width (horizontal, Notch's X).
length
Int32
Length (horizontal, Notch's Z).
height
Int32
Height (vertical, Notch's Y).
initBlockArray
Boolean
If true, the Blocks array will be created.

Exceptions

ExceptionCondition
System..::..ArgumentOutOfRangeException If width/length/height are not between 16 and 2048.

See Also