voxelman.world.block.blockinfo

Members

Aliases

BlockUpdateHandler
alias BlockUpdateHandler = void delegate(BlockWorldPos bwp)
Undocumented in source.
MeshHandler
alias MeshHandler = void function(BlockMeshingData)
Undocumented in source.
RotationHandler
alias RotationHandler = void function(ref BlockMetadata, ubyte, CubeSide)
Undocumented in source.
ShapeMetaHandler
alias ShapeMetaHandler = BlockShape function(BlockMetadata)
Undocumented in source.
SideSolidityHandler
alias SideSolidityHandler = Solidity function(CubeSide)
Undocumented in source.

Enums

Solidity
enum Solidity
Undocumented in source.

Functions

chunkAndBlockAt27
ChunkAndBlockAt chunkAndBlockAt27(int x, int y, int z)
Undocumented in source. Be warned that the author may not have intended to support it.
chunkAndBlockAt6
ChunkAndBlockAt chunkAndBlockAt6(int x, int y, int z)
Undocumented in source. Be warned that the author may not have intended to support it.
isMoreSolidThan
bool isMoreSolidThan(Solidity first, Solidity second)
Undocumented in source. Be warned that the author may not have intended to support it.
makeNullMesh
void makeNullMesh(BlockMeshingData )
Undocumented in source. Be warned that the author may not have intended to support it.
regBaseBlocks
void regBaseBlocks(BlockInfoSetter delegate(string name) regBlock)
Undocumented in source. Be warned that the author may not have intended to support it.
semitransparentSideSolidity
Solidity semitransparentSideSolidity(CubeSide )
Undocumented in source. Be warned that the author may not have intended to support it.
setSideTable
void setSideTable(SideIntersectionTable sideTable)
Undocumented in source. Be warned that the author may not have intended to support it.
slopeRotationHandler
void slopeRotationHandler(BlockMetadata meta, ubyte rotation, CubeSide side)
Undocumented in source. Be warned that the author may not have intended to support it.
solidSideSolidity
Solidity solidSideSolidity(CubeSide )
Undocumented in source. Be warned that the author may not have intended to support it.
transparentSideSolidity
Solidity transparentSideSolidity(CubeSide )
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

BlockInfo
struct BlockInfo
Undocumented in source.
BlockInfoSetter
struct BlockInfoSetter

Returned when registering block. Use this to set block properties.

BlockInfoTable
struct BlockInfoTable
Undocumented in source.
BlockMeshingData
struct BlockMeshingData
Undocumented in source.
ChunkAndBlockAt
struct ChunkAndBlockAt
Undocumented in source.
SeparatedBlockInfoTable
struct SeparatedBlockInfoTable
Undocumented in source.

Variables

entityBlock
BlockInfo entityBlock;
Undocumented in source.
position_in_target_chunk
ubyte[34] position_in_target_chunk;
Undocumented in source.
target_chunk
ubyte[34] target_chunk;
Undocumented in source.

Meta

Authors

Andrey Penechko.