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

The Map type exposes the following fields.

Fields

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

 MemberDescription
Blocks
Array of map blocks. Use Index(x,y,h) to convert coordinates to array indices. Use QueueUpdate() for working on live maps to ensure that all players get updated.
Bounds
Map boundaries. Can be useful for calculating volume or interesections.
Height
Map height, in blocks. Equivalent to Notch's Y (vertical).
Length
Map length, in blocks. Equivalent to Notch's Z (horizontal).
SaveFormat
Current default map format for saving.
Volume
Map volume, in terms of blocks.
Width
Map width, in blocks. Equivalent to Notch's X (horizontal).

See Also