It now gets to the main menu without ic2 :) o/ Next I need to fix the powered items.
This commit is contained in:
parent
496151fcae
commit
8725c5932d
12 changed files with 1183 additions and 1299 deletions
|
@ -1,5 +1,6 @@
|
|||
package techreborn.init;
|
||||
|
||||
import cpw.mods.fml.common.Loader;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import techreborn.partSystem.IPartProvider;
|
||||
import techreborn.partSystem.ModPartRegistry;
|
||||
|
@ -14,11 +15,13 @@ public class ModParts {
|
|||
|
||||
public static void init()
|
||||
{
|
||||
for (int i = 0; i < 13; i++) {
|
||||
CablePart part = new CablePart();
|
||||
part.setType(i);
|
||||
ModPartRegistry.registerPart(part);
|
||||
}
|
||||
if(Loader.isModLoaded("IC2")){
|
||||
for (int i = 0; i < 13; i++) {
|
||||
CablePart part = new CablePart();
|
||||
part.setType(i);
|
||||
ModPartRegistry.registerPart(part);
|
||||
}
|
||||
}
|
||||
ModPartRegistry.registerPart(new FarmInventoryCable());
|
||||
ModPartRegistry.addProvider("techreborn.partSystem.fmp.FMPFactory",
|
||||
"ForgeMultipart");
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue