Search in sources :

Example 1 with CircuitElectricBoost

use of forestry.energy.circuits.CircuitElectricBoost in project ForestryMC by ForestryMC.

the class PluginIC2 method doInit.

@Override
@Optional.Method(modid = PluginIC2.MOD_ID)
public void doInit() {
    // Remove some items from the recycler
    if (Recipes.recyclerBlacklist != null) {
        ItemRegistryApiculture beeItems = ModuleApiculture.getItems();
        if (beeItems != null) {
            Recipes.recyclerBlacklist.add(Recipes.inputFactory.forStack(new ItemStack(beeItems.beeQueenGE)));
            Recipes.recyclerBlacklist.add(Recipes.inputFactory.forStack(new ItemStack(beeItems.beePrincessGE)));
        }
    } else {
        Log.error("IC2 Recipes.recyclerBlacklist not found.");
    }
    Circuits.energyElectricChoke1 = new CircuitElectricChoke("electric.choke.1");
    Circuits.energyElectricEfficiency1 = new CircuitElectricEfficiency("electric.efficiency.1");
    Circuits.energyElectricBoost1 = new CircuitElectricBoost("electric.boost.1", 7, 20);
    Circuits.energyElectricBoost2 = new CircuitElectricBoost("electric.boost.2", 15, 40);
    blocks.electricalEngine.init();
    blocks.generator.init();
}
Also used : CircuitElectricBoost(forestry.energy.circuits.CircuitElectricBoost) CircuitElectricChoke(forestry.energy.circuits.CircuitElectricChoke) ItemRegistryApiculture(forestry.apiculture.items.ItemRegistryApiculture) CircuitElectricEfficiency(forestry.energy.circuits.CircuitElectricEfficiency) ItemStack(net.minecraft.item.ItemStack)

Aggregations

ItemRegistryApiculture (forestry.apiculture.items.ItemRegistryApiculture)1 CircuitElectricBoost (forestry.energy.circuits.CircuitElectricBoost)1 CircuitElectricChoke (forestry.energy.circuits.CircuitElectricChoke)1 CircuitElectricEfficiency (forestry.energy.circuits.CircuitElectricEfficiency)1 ItemStack (net.minecraft.item.ItemStack)1