voxelman.world.blockentity.utils

Members

Aliases

BlockEntityMeshhandler
alias BlockEntityMeshhandler = void function(BlockEntityMeshingData)
Undocumented in source.
BlockShapeHandler
alias BlockShapeHandler = BlockShape function(ivec3 chunkPos, ivec3 entityPos, BlockEntityData data)
Undocumented in source.
EntityBoxHandler
alias EntityBoxHandler = WorldBox function(BlockWorldPos bwp, BlockEntityData data)
Undocumented in source.
EntityDebugHandler
alias EntityDebugHandler = void function(ref BlockEntityDebugContext)
Undocumented in source.
SolidityHandler
alias SolidityHandler = Solidity function(CubeSide side, ivec3 chunkPos, ivec3 entityPos, BlockEntityData data)
Undocumented in source.

Functions

blockEntityIndexFromBlockId
ushort blockEntityIndexFromBlockId(BlockId blockId)
Undocumented in source. Be warned that the author may not have intended to support it.
blockIdFromBlockEntityIndex
BlockId blockIdFromBlockEntityIndex(ushort blockIndex)
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(BlockEntityMeshingData )
Undocumented in source. Be warned that the author may not have intended to support it.
nullBlockShapeHandler
BlockShape nullBlockShapeHandler(ivec3 chunkPos, ivec3 entityPos, BlockEntityData data)
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.
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

BlockEntityDebugContext
struct BlockEntityDebugContext
Undocumented in source.
BlockEntityInfo
struct BlockEntityInfo
Undocumented in source.
BlockEntityInfoTable
struct BlockEntityInfoTable
Undocumented in source.
BlockEntityMeshingData
struct BlockEntityMeshingData
Undocumented in source.

Variables

unknownBlockEntity
BlockEntityInfo unknownBlockEntity;
Undocumented in source.

Meta

Authors

Andrey Penechko.