Package forestry.core.fluids

Examples of forestry.core.fluids.TankManager


  private int ticksSinceRainfall = 0;

  public TileFarmPlain() {
    fertilizerValue = GameMode.getGameMode().getIntegerSetting("farms.fertilizer.value");
    liquidTank = new FilteredTank(Defaults.PROCESSOR_TANK_CAPACITY, FluidRegistry.WATER);
    tankManager = new TankManager(liquidTank);
  }
View Full Code Here


    setHints(Config.hints.get("carpenter"));
    resourceTank = new FilteredTank(Defaults.PROCESSOR_TANK_CAPACITY, RecipeManager.recipeFluids);
    craftingInventory = new TileInventoryAdapter(this, 10, "CraftItems");
    accessibleInventory = (TileInventoryAdapter) new TileInventoryAdapter(this, 30, "Items").configureSided(Defaults.FACINGS, SLOT_BOX, 20);

    tankManager = new TankManager(resourceTank);
  }
View Full Code Here

    setHints(Config.hints.get("fermenter"));
    resourceTank = new FilteredTank(Defaults.PROCESSOR_TANK_CAPACITY, RecipeManager.recipeFluidInputs);
    resourceTank.tankMode = StandardTank.TankMode.INPUT;
    productTank = new FilteredTank(Defaults.PROCESSOR_TANK_CAPACITY, RecipeManager.recipeFluidOutputs);
    productTank.tankMode = StandardTank.TankMode.OUTPUT;
    tankManager = new TankManager(resourceTank, productTank);
  }
View Full Code Here

  public MachineSqueezer() {
    super(1100, 50, 4000);
    setHints(Config.hints.get("squeezer"));
    productTank = new FilteredTank(Defaults.PROCESSOR_TANK_CAPACITY, RecipeManager.recipeFluids);
    productTank.tankMode = StandardTank.TankMode.OUTPUT;
    tankManager = new TankManager(productTank);
  }
View Full Code Here

  public MachineRaintank() {
    setHints(Config.hints.get("raintank"));

    resourceTank = new FilteredTank(Defaults.RAINTANK_TANK_CAPACITY, FluidRegistry.WATER);
    tankManager = new TankManager(resourceTank);
  }
View Full Code Here

  public MachineFabricator() {
    super(1100, 50, 3300);
    Fluid liquidGlass = FluidRegistry.getFluid(Defaults.LIQUID_GLASS);
    moltenTank = new FilteredTank(2 * Defaults.BUCKET_VOLUME, liquidGlass);
    moltenTank.tankMode = StandardTank.TankMode.INTERNAL;
    tankManager = new TankManager(moltenTank);
  }
View Full Code Here

    fuelTank = new FilteredTank(Defaults.ENGINE_TANK_CAPACITY, FuelManager.bronzeEngineFuel.keySet());
    fuelTank.tankMode = StandardTank.TankMode.INPUT;
    heatingTank = new FilteredTank(Defaults.ENGINE_TANK_CAPACITY, FluidRegistry.LAVA);
    heatingTank.tankMode = StandardTank.TankMode.INPUT;
    this.tankManager = new TankManager(fuelTank, heatingTank);
  }
View Full Code Here

  /* CONSTRUCTOR */
  public TileAnalyzer() {
    super(800, 40, Defaults.MACHINE_MAX_ENERGY);
    resourceTank = new FilteredTank(Defaults.PROCESSOR_TANK_CAPACITY, Fluids.HONEY.get());
    tankManager = new TankManager(resourceTank);
  }
View Full Code Here

  public MachineBottler() {
    super(1100, 50, 4000);
    setHints(Config.hints.get("bottler"));
    resourceTank = new StandardTank(Defaults.PROCESSOR_TANK_CAPACITY);
    tankManager = new TankManager(resourceTank);
  }
View Full Code Here

    setHints(Config.hints.get("still"));
    resourceTank = new FilteredTank(Defaults.PROCESSOR_TANK_CAPACITY, RecipeManager.recipeFluidInputs);
    resourceTank.tankMode = StandardTank.TankMode.INPUT;
    productTank = new FilteredTank(Defaults.PROCESSOR_TANK_CAPACITY, RecipeManager.recipeFluidOutputs);
    productTank.tankMode = StandardTank.TankMode.OUTPUT;
    tankManager = new TankManager(resourceTank, productTank);
  }
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.