MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / blockBiomeIndex

Method blockBiomeIndex

source/game/StarWorldTemplate.cpp:363–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

361}
362
363BiomeIndex WorldTemplate::blockBiomeIndex(int x, int y) const {
364 return getBlockInfo(m_geometry.xwrap(x), y).blockBiomeIndex;
365}
366
367BiomeIndex WorldTemplate::environmentBiomeIndex(int x, int y) const {
368 return getBlockInfo(m_geometry.xwrap(x), y).environmentBiomeIndex;

Callers 1

placementHueShiftMethod · 0.80

Calls 1

xwrapMethod · 0.45

Tested by

no test coverage detected