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

Method ConvertToPickups

src/Blocks/BlockHandler.cpp:342–346  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

340
341
342void cBlockHandler::ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta)
343{
344 // Setting the meta to a_BlockMeta keeps most textures. The few other blocks have to override this.
345 a_Pickups.push_back(cItem(m_BlockType, 1, a_BlockMeta));
346}
347
348
349

Callers 1

DoExplosionAtMethod · 0.45

Calls 1

cItemClass · 0.50

Tested by

no test coverage detected