voxelman.blockentity.blockentitydata

Members

Enums

BlockEntityType
enum BlockEntityType
Undocumented in source.

Functions

entityDataToSize
ivec3 entityDataToSize(ulong entityData)
Undocumented in source. Be warned that the author may not have intended to support it.
sizeToEntityData
ulong sizeToEntityData(ivec3 size)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

ENTITY_DATA_MASK
enum ENTITY_DATA_MASK;
Undocumented in source.
MAIN_BLOCK_INDEX_MASK
enum MAIN_BLOCK_INDEX_MASK;
Undocumented in source.
MAIN_OFFSET_BITS
enum MAIN_OFFSET_BITS;
Undocumented in source.
MAIN_OFFSET_MASK
enum MAIN_OFFSET_MASK;
Undocumented in source.
PAYLOAD_MASK
enum PAYLOAD_MASK;
Undocumented in source.

Structs

BlockEntityData
struct BlockEntityData

Layout (bit fields, MSB -> LSB) 2: type; 16 id + 46 entityData = 62 payload data is: localBlockEntity: entity id + data in payload foreignBlockEntity: position of localBlockEntity (relative to current entity) componentId: id in component system

MainChunkPointer
struct MainChunkPointer
Undocumented in source.

Meta

Authors

Andrey Penechko.