Some improvements to render speed of cables
This commit is contained in:
parent
7c56cd25f6
commit
37467cab7e
5 changed files with 21 additions and 19 deletions
|
@ -18,13 +18,12 @@ public class ModParts {
|
|||
CablePart part = new CablePart(i);
|
||||
ModPartRegistry.registerPart(part);
|
||||
}
|
||||
ModPartRegistry.addProvider(
|
||||
"techreborn.partSystem.QLib.QModPartFactory", "qmunitylib");
|
||||
//ModPartRegistry.addProvider("techreborn.partSystem.QLib.QModPartFactory", "qmunitylib");
|
||||
ModPartRegistry.addProvider("techreborn.partSystem.fmp.FMPFactory",
|
||||
"ForgeMultipart");
|
||||
ModPartRegistry.addAllPartsToSystems();
|
||||
for(IPartProvider provider : ModPartRegistry.providers){
|
||||
if(provider.modID().equals("qmunitylib")){
|
||||
if(provider.modID().equals("ForgeMultipart")){
|
||||
ModPartRegistry.masterProvider = provider;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue