| 423 | } |
| 424 | |
| 425 | bool MaterialDatabase::isMultiColor(MaterialId materialId) const { |
| 426 | if (isRealMaterial(materialId)) { |
| 427 | auto const& matInfo = getMaterialInfo(materialId); |
| 428 | if (matInfo->materialRenderProfile) |
| 429 | return matInfo->materialRenderProfile->colorVariants > 0; |
| 430 | } |
| 431 | |
| 432 | return false; |
| 433 | } |
| 434 | |
| 435 | ParticleConfigPtr MaterialDatabase::miningParticle(MaterialId materialId, ModId modId) const { |
| 436 | if (isRealMod(modId)) { |
no test coverage detected