WorldAccess

Undocumented in source.

Constructors

this
this(ChunkManager chunkManager)
Undocumented in source.

Members

Functions

applyBlockChanges
void applyBlockChanges(ChunkWorldPos cwp, BlockChange[] changes)
Undocumented in source. Be warned that the author may not have intended to support it.
fillBox
bool fillBox(WorldBox blockFillBox, BlockId blockId)
Undocumented in source. Be warned that the author may not have intended to support it.
fillChunkBox
bool fillChunkBox(ChunkWorldPos cwp, Box blockBox, BlockId blockId)
Undocumented in source. Be warned that the author may not have intended to support it.
getBlock
BlockId getBlock(BlockWorldPos bwp)
Undocumented in source. Be warned that the author may not have intended to support it.
isFree
bool isFree(BlockWorldPos bwp)
Undocumented in source. Be warned that the author may not have intended to support it.
onBlockChange
void onBlockChange(ChunkWorldPos cwp, BlockChange change)
Undocumented in source. Be warned that the author may not have intended to support it.
setBlock
bool setBlock(BlockWorldPos bwp, BlockId blockId)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

blockChanges
BlockChange[][ChunkWorldPos] blockChanges;
Undocumented in source.
blockInfos
BlockInfoTable blockInfos;
Undocumented in source.

Meta