2015-04-20 21:53:16 +02:00
|
|
|
package techreborn.init;
|
|
|
|
|
2016-03-25 10:47:34 +01:00
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
|
2016-10-08 21:46:16 +02:00
|
|
|
import java.util.HashMap;
|
|
|
|
|
|
|
|
public class ModParts {
|
2015-04-20 21:53:16 +02:00
|
|
|
|
2016-04-03 15:34:39 +02:00
|
|
|
public static HashMap<Integer, ItemStack> stackCable = new HashMap<>();
|
2015-06-23 14:23:56 +02:00
|
|
|
|
2016-10-08 21:46:16 +02:00
|
|
|
public static void init() { // TODO 1.8
|
2016-03-25 10:47:34 +01:00
|
|
|
// if (Loader.isModLoaded("IC2")) {
|
|
|
|
// for (int i = 0; i < 11; i++) {
|
|
|
|
// CablePart part = new CablePart();
|
|
|
|
// part.setType(i);
|
|
|
|
// ModPartRegistry.registerPart(part);
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// ModPartRegistry.addProvider("techreborn.partSystem.fmp.FMPFactory",
|
|
|
|
// "ForgeMultipart");
|
|
|
|
// ModPartRegistry.addProvider("techreborn.partSystem.QLib.QModPartFactory",
|
|
|
|
// "qmunitylib");
|
|
|
|
// ModPartRegistry.addAllPartsToSystems();
|
|
|
|
// for (IPartProvider provider : ModPartRegistry.providers) {
|
|
|
|
// if (provider.modID().equals("ForgeMultipart")) {
|
|
|
|
// ModPartRegistry.masterProvider = provider;
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
}
|
2015-04-20 21:53:16 +02:00
|
|
|
}
|