MCPcopy 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
45Structure::ID Biome::getTree(RNG& rd) const
46{
47 return m_trees.holder[rd.intInRange(0, m_trees.total - 1)];
48}
49
50CBlock Biome::getBlock(const Biome::Gen_Container<CBlock>& container, RNG& rd) const
51{

Callers 1

setTopBlockMethod · 0.80

Calls 1

intInRangeMethod · 0.80

Tested by

no test coverage detected