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

Constructors

this
this(ulong data)
Undocumented in source.
this
this(BlockEntityType type, ushort id, ulong entityData)
Undocumented in source.
this
this(BlockEntityType type, ushort id, ubyte[3] mainOffset, ushort blockIndex)
Undocumented in source.
this
this(BlockEntityType type, ulong payload)
Undocumented in source.

Members

Functions

entityData
ulong entityData()
Undocumented in source. Be warned that the author may not have intended to support it.
id
ushort id()
Undocumented in source. Be warned that the author may not have intended to support it.
mainChunkPointer
MainChunkPointer mainChunkPointer()
Undocumented in source. Be warned that the author may not have intended to support it.
payload
ulong payload()
Undocumented in source. Be warned that the author may not have intended to support it.
type
BlockEntityType type()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

storage
ulong storage;
Undocumented in source.

Meta