Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Hopson97/HopsonCraft
/ getTree
Method
getTree
Source/World/Generators/Biome.cpp:45–48 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
43
44
45
Structure::ID Biome::getTree(RNG& rd) const
46
{
47
return m_trees.holder[rd.intInRange(0, m_trees.total - 1)];
48
}
49
50
CBlock Biome::getBlock(const Biome::Gen_Container<CBlock>& container, RNG& rd) const
51
{
Callers
1
setTopBlock
Method · 0.80
Calls
1
intInRange
Method · 0.80
Tested by
no test coverage detected