MCPcopy Create free account
hub / github.com/cuberite/cuberite / GetBlockMetas

Method GetBlockMetas

src/BlockArea.h:294–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

292 /** Returns the internal pointer to the block types */
293 BLOCKTYPE * GetBlockTypes (void) const { return m_BlockTypes; }
294 NIBBLETYPE * GetBlockMetas (void) const { return m_BlockMetas; } // NOTE: one byte per block!
295 NIBBLETYPE * GetBlockLight (void) const { return m_BlockLight; } // NOTE: one byte per block!
296 NIBBLETYPE * GetBlockSkyLight(void) const { return m_BlockSkyLight; } // NOTE: one byte per block!
297 int GetBlockCount(void) const { return m_Size.x * m_Size.y * m_Size.z; }

Callers 4

MergeMethod · 0.80
WriteBlockAreaMethod · 0.80
CompressBlockMetasMethod · 0.80
cChunkDescClass · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected