parent
7d052a3292
commit
9c52e0ace7
27 changed files with 41 additions and 112 deletions
|
@ -26,7 +26,7 @@ public class CompatManager {
|
|||
registerCompact(RecipesNatura.class, "Natura");
|
||||
registerCompact(RecipesBiomesOPlenty.class, "BiomesOPlenty");
|
||||
registerCompact(RecipesThaumcraft.class, "Thaumcraft");
|
||||
registerCompact(RecipesForestry.class, "Forestry");
|
||||
registerCompact(RecipesForestry.class, "Forestry", isForestry4());
|
||||
registerCompact(MinetweakerCompat.class, "MineTweaker3");
|
||||
}
|
||||
|
||||
|
@ -57,4 +57,13 @@ public class CompatManager {
|
|||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isForestry4(){
|
||||
try {
|
||||
Class.forName("forestry.api.arboriculture.EnumWoodType");
|
||||
return true;
|
||||
} catch( ClassNotFoundException e ) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue