TechReborn/src/main/java/techreborn/init/ModParts.java
2015-04-24 21:22:09 +01:00

21 lines
600 B
Java

package techreborn.init;
import techreborn.partSystem.ModPartRegistry;
import techreborn.partSystem.block.WorldProvider;
import techreborn.partSystem.parts.CablePart;
public class ModParts {
public static void init()
{
for (int i = 0; i < 14; i++) {
ModPartRegistry.registerPart(new CablePart(i));
}
ModPartRegistry.addProvider(
"techreborn.partSystem.QLib.QModPartFactory", "qmunitylib");
ModPartRegistry.addProvider("techreborn.partSystem.fmp.FMPFactory",
"ForgeMultipart");
ModPartRegistry.addProvider(new WorldProvider());
ModPartRegistry.addAllPartsToSystems();
}
}