Package forestry.core.fluids

Examples of forestry.core.fluids.TankManager


  public MachineGenerator() {
    setHints(Config.hints.get("generator"));

    resourceTank = new FilteredTank(Defaults.PROCESSOR_TANK_CAPACITY, FuelManager.generatorFuel.keySet());
    tankManager = new TankManager(resourceTank);

    if (PluginIC2.instance.isAvailable()) {
      ic2EnergySource = new BasicSource(this, maxEnergy, 1);
    }
  }
View Full Code Here


  private ItemStack pendingProduct;

  public MachineMoistener() {
    setHints(Config.hints.get("moistener"));
    resourceTank = new FilteredTank(Defaults.PROCESSOR_TANK_CAPACITY, FluidRegistry.WATER);
    tankManager = new TankManager(resourceTank);
  }
View Full Code Here

    Fluid water = LiquidHelper.getFluid(Defaults.LIQUID_WATER);
    Fluid lava = LiquidHelper.getFluid(Defaults.LIQUID_LAVA);
    Fluid liquidIce = LiquidHelper.getFluid(Defaults.LIQUID_ICE);

    liquidTank = new FilteredTank(Defaults.PROCESSOR_TANK_CAPACITY, water, lava, liquidIce);
    tankManager = new TankManager(liquidTank);

    recipes = new HygroregulatorRecipe[] { new HygroregulatorRecipe(new FluidStack(water, 1), 1, 0.01f, -0.005f),
        new HygroregulatorRecipe(new FluidStack(lava, 1), 10, -0.01f, +0.005f),
        new HygroregulatorRecipe(new FluidStack(liquidIce, 1), 10, 0.02f, -0.01f) };
  }
View Full Code Here

TOP

Related Classes of forestry.core.fluids.TankManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.