Search in sources :

Example 1 with TinkersToolHelper

use of com.minecolonies.api.compatibility.tinkers.TinkersToolHelper in project minecolonies by Minecolonies.

the class CompatibilityManager method discoverModCompat.

/**
 * Inits compats
 */
private void discoverModCompat() {
    if (ModList.get().isLoaded("resourcefulbees")) {
        Compatibility.beeHiveCompat = new ResourcefulBeesCompat();
    }
    if (ModList.get().isLoaded("tconstruct")) {
        Compatibility.tinkersCompat = new TinkersToolHelper();
        Compatibility.tinkersSlimeCompat = new SlimeTreeCheck();
    }
    if (ModList.get().isLoaded("dynamictrees")) {
        Compatibility.dynamicTreesCompat = new DynamicTreeCompat();
    }
}
Also used : DynamicTreeCompat(com.minecolonies.api.compatibility.dynamictrees.DynamicTreeCompat) TinkersToolHelper(com.minecolonies.api.compatibility.tinkers.TinkersToolHelper) SlimeTreeCheck(com.minecolonies.api.compatibility.tinkers.SlimeTreeCheck) ResourcefulBeesCompat(com.minecolonies.api.compatibility.resourcefulbees.ResourcefulBeesCompat)

Example 2 with TinkersToolHelper

use of com.minecolonies.api.compatibility.tinkers.TinkersToolHelper in project minecolonies by ldtteam.

the class CompatibilityManager method discoverModCompat.

/**
 * Inits compats
 */
private void discoverModCompat() {
    if (ModList.get().isLoaded("resourcefulbees")) {
        Compatibility.beeHiveCompat = new ResourcefulBeesCompat();
    }
    if (ModList.get().isLoaded("tconstruct")) {
        Compatibility.tinkersCompat = new TinkersToolHelper();
        Compatibility.tinkersSlimeCompat = new SlimeTreeCheck();
    }
    if (ModList.get().isLoaded("dynamictrees")) {
        Compatibility.dynamicTreesCompat = new DynamicTreeCompat();
    }
}
Also used : DynamicTreeCompat(com.minecolonies.api.compatibility.dynamictrees.DynamicTreeCompat) TinkersToolHelper(com.minecolonies.api.compatibility.tinkers.TinkersToolHelper) SlimeTreeCheck(com.minecolonies.api.compatibility.tinkers.SlimeTreeCheck) ResourcefulBeesCompat(com.minecolonies.api.compatibility.resourcefulbees.ResourcefulBeesCompat)

Aggregations

DynamicTreeCompat (com.minecolonies.api.compatibility.dynamictrees.DynamicTreeCompat)2 ResourcefulBeesCompat (com.minecolonies.api.compatibility.resourcefulbees.ResourcefulBeesCompat)2 SlimeTreeCheck (com.minecolonies.api.compatibility.tinkers.SlimeTreeCheck)2 TinkersToolHelper (com.minecolonies.api.compatibility.tinkers.TinkersToolHelper)2