voxelman.blockentity.utils

Members

Aliases

BlockEntityMeshhandler
alias BlockEntityMeshhandler = void function(Buffer!MeshVertex[] output, BlockEntityData data, ubyte[3] color, ubyte sides, ivec3 chunkPos, ivec3 entityPos)
Undocumented in source.
EntityBoxHandler
alias EntityBoxHandler = WorldBox function(BlockWorldPos bwp, BlockEntityData data)
Undocumented in source.
EntityDebugHandler
alias EntityDebugHandler = void function(BlockWorldPos bwp, BlockEntityData data)
Undocumented in source.
SolidityHandler
alias SolidityHandler = Solidity function(CubeSide side, ivec3 chunkPos, ivec3 entityPos, BlockEntityData data)
Undocumented in source.

Functions

blockIdFromBlockIndex
BlockId blockIdFromBlockIndex(ushort blockIndex)
Undocumented in source. Be warned that the author may not have intended to support it.
blockIndexFromBlockId
ushort blockIndexFromBlockId(BlockId blockId)
Undocumented in source. Be warned that the author may not have intended to support it.
isBlockEntity
bool isBlockEntity(BlockId blockId)
Undocumented in source. Be warned that the author may not have intended to support it.
nullBlockEntityMeshhandler
void nullBlockEntityMeshhandler(Buffer!MeshVertex[] output, BlockEntityData data, ubyte[3] color, ubyte sides, ivec3 chunkPos, ivec3 entityPos)
Undocumented in source. Be warned that the author may not have intended to support it.
nullBoxHandler
WorldBox nullBoxHandler(BlockWorldPos bwp, BlockEntityData data)
Undocumented in source. Be warned that the author may not have intended to support it.
nullDebugHandler
void nullDebugHandler(BlockWorldPos , BlockEntityData )
Undocumented in source. Be warned that the author may not have intended to support it.
nullSolidityHandler
Solidity nullSolidityHandler(CubeSide side, ivec3 chunkPos, ivec3 entityPos, BlockEntityData data)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

BLOCK_ENTITY_FLAG
enum BLOCK_ENTITY_FLAG;
Undocumented in source.
BLOCK_INDEX_MASK
enum BLOCK_INDEX_MASK;
Undocumented in source.

Structs

BlockEntityInfo
struct BlockEntityInfo
Undocumented in source.
BlockEntityInfoTable
struct BlockEntityInfoTable
Undocumented in source.

Variables

unknownBlockEntity
BlockEntityInfo unknownBlockEntity;
Undocumented in source.

Meta

Authors

Andrey Penechko.