BlockData

Undocumented in source.

Members

Functions

applyChanges
ushort[2] applyChanges(BlockChange[] changes)
Undocumented in source. Be warned that the author may not have intended to support it.
applyChangesChecked
void applyChangesChecked(BlockChange[] changes)
Undocumented in source. Be warned that the author may not have intended to support it.
applyChangesFast
void applyChangesFast(BlockChange[] changes)
Undocumented in source. Be warned that the author may not have intended to support it.
convertToArray
void convertToArray()
Undocumented in source. Be warned that the author may not have intended to support it.
convertToUniform
void convertToUniform(BlockType _uniformType)
Undocumented in source. Be warned that the author may not have intended to support it.
copyToBuffer
void copyToBuffer(BlockType[] outBuffer)
Undocumented in source. Be warned that the author may not have intended to support it.
deleteBlocks
void deleteBlocks()
Undocumented in source. Be warned that the author may not have intended to support it.
getBlockType
BlockType getBlockType(BlockChunkIndex index)
Undocumented in source. Be warned that the author may not have intended to support it.
setBlockType
bool setBlockType(BlockChunkIndex index, BlockType blockType)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

blocks
BlockType[] blocks;

null if uniform is true, or contains chunk data otherwise

uniform
bool uniform;

is chunk filled with block of the same type

uniformType
BlockType uniformType;

type of common block

Meta