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

Method blockInfo

source/game/StarWorldTemplate.cpp:280–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

278}
279
280WorldTemplate::BlockInfo WorldTemplate::blockInfo(int x, int y) const {
281 return getBlockInfo(m_geometry.xwrap(x), y);
282}
283
284WorldTemplate::BlockInfo WorldTemplate::blockBiomeInfo(int x, int y) const {
285 BlockInfo blockInfo;

Callers 9

checkOceanLiquidMethod · 0.80
prepareTilesMethod · 0.80
generateCaveLiquidMethod · 0.80
prepareSectorMethod · 0.80
caveLiquidSeedsMethod · 0.80
destroyBlockMethod · 0.80
makeWorldCallbacksFunction · 0.80
mainFunction · 0.80

Calls 1

xwrapMethod · 0.45

Tested by

no test coverage detected