use of gregtech.common.blocks.surfacerock.BlockSurfaceRockDeprecated in project GregTech by GregTechCE.
the class MetaBlocks method createSurfaceRockBlock.
private static void createSurfaceRockBlock(Material[] materials, int index) {
BlockSurfaceRockDeprecated block = new BlockSurfaceRockDeprecated(materials);
block.setRegistryName("meta_block_surface_rock_" + index);
for (Material material : materials) {
if (material instanceof IngotMaterial) {
SURFACE_ROCKS.put((IngotMaterial) material, block);
}
}
}
Aggregations