use of slimeknights.tconstruct.library.materials.Material in project EnderIO by SleepyTrousers.
the class Metal method createMaterial.
public static void createMaterial(@Nonnull final Alloy alloy) {
TicMaterials.setMaterial(alloy, new Material(alloy.getBaseName(), alloy.getColor()));
TicMaterials.getMaterial(alloy).addCommonItems(alloy.getOreName());
TinkerRegistry.integrate(new MaterialIntegration(TicMaterials.getMaterial(alloy), null, alloy.getOreName()) {
@Override
public void registerFluidBlock(IForgeRegistry<Block> registry) {
}
}).preInit();
TicMaterials.getData(alloy).stats(TicMaterials.getMaterial(alloy));
}
Aggregations