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

Method modBreaksWithTile

source/game/StarMaterialDatabase.cpp:365–370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

363}
364
365bool MaterialDatabase::modBreaksWithTile(ModId modId) const {
366 if (!isRealMod(modId))
367 return {};
368 else
369 return getModInfo(modId)->breaksWithTile;
370}
371
372CollisionKind MaterialDatabase::materialCollisionKind(MaterialId materialId) const {
373 if (isRealMaterial(materialId))

Callers 3

tileDamageParametersFunction · 0.80
destroyBlockMethod · 0.80
updateDamagedBlocksMethod · 0.80

Calls 1

isRealModFunction · 0.85

Tested by

no test coverage detected