MCPcopy Create free account
hub / github.com/DFHack/dfhack / block_items

Method block_items

plugins/fix-occupancy.cpp:84–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82 }
83
84 std::set<int32_t> * block_items(df::map_block * block) {
85 if (!block)
86 return nullptr;
87 return &block_items_buf[block];
88 }
89 std::set<int32_t> * block_items(int32_t x, int32_t y, int32_t z) {
90 return block_items(Maps::getTileBlock(x, y, z));
91 }

Callers 2

scan_itemFunction · 0.80
fix_mapFunction · 0.80

Calls 1

getTileBlockFunction · 0.85

Tested by

no test coverage detected