Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ getBlockAt
Method
getBlockAt
plugins/3dveins.cpp:418–424 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
416
}
417
418
GeoBlock *getBlockAt(df::coord pos)
419
{
420
if (pos.z < 0 || pos.z >= blocks.size().z)
421
return NULL;
422
423
return blocks(pos);
424
}
425
426
void setZBias(int bias)
427
{
Callers
1
write_block_tiles
Method · 0.80
Calls
1
size
Method · 0.45
Tested by
no test coverage detected