WorldAccess

When modifying world through WorldAccess changes will automatically proparate to client each tick

Constructors

this
this(Chunk* delegate(ChunkWorldPos) chunkGetter, TimestampType delegate() timestampGetter)
Undocumented in source.
this
this()
Undocumented in source.

Members

Functions

currentTimestamp
TimestampType currentTimestamp()
Undocumented in source. Be warned that the author may not have intended to support it.
getBlock
BlockType getBlock(BlockWorldPos blockPos)
Undocumented in source. Be warned that the author may not have intended to support it.
setBlock
bool setBlock(BlockWorldPos blockPos, BlockType blockType)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

onChunkModifiedHandlers
void delegate(Chunk*, BlockChange[])[] onChunkModifiedHandlers;
Undocumented in source.

Meta