Examples of FilteredTank


Examples of forestry.core.fluids.tanks.FilteredTank

  private ItemStack currentProduct;
  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

Examples of forestry.core.fluids.tanks.FilteredTank

    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

Examples of mods.railcraft.common.fluids.tanks.FilteredTank

    @Override
    protected void entityInit() {
        super.entityInit();
        tankManager = new TankManager();

        tankWater = new FilteredTank(FluidHelper.BUCKET_VOLUME * 6, Fluids.WATER.get());
        tankSteam = new FilteredTank(FluidHelper.BUCKET_VOLUME * 16, Fluids.STEAM.get());

        tankManager.add(tankWater);
        tankManager.add(tankSteam);

        invWaterInput = new InventoryMapper(this, SLOT_LIQUID_INPUT, 1);
View Full Code Here

Examples of mods.railcraft.common.fluids.tanks.FilteredTank

    private final FilteredTank steamTank;
    private TankManager tankManager = new TankManager();
    private int steamUsed;

    public TileEngineSteam() {
        steamTank = new FilteredTank(TANK_CAPACITY, Fluids.STEAM.get(), this);
        tankManager.add(steamTank);
    }
View Full Code Here

Examples of mods.railcraft.common.fluids.tanks.FilteredTank

    }

    protected TileBoiler() {
        super(patterns);

        tankWater = new FilteredTank(4 * FluidHelper.BUCKET_VOLUME, Fluids.WATER.get(), this);
        tankManager.add(tankWater);

        tankSteam = new FilteredTank(16 * FluidHelper.BUCKET_VOLUME, Fluids.STEAM.get(), this);
        tankManager.add(tankSteam);
    }
View Full Code Here

Examples of mods.railcraft.common.fluids.tanks.FilteredTank

    private static final int[] SLOTS = InvTools.buildSlotArray(0, 3);
    public final SteamBoiler boiler;
    private StandaloneInventory inv = new StandaloneInventory(3, (IInventory) this);

    public TileEngineSteamHobby() {
        FilteredTank tankWater = new FilteredTank(4 * FluidHelper.BUCKET_VOLUME, Fluids.WATER.get(), this);
        getTankManager().add(tankWater);
        getTankManager().get(TANK_STEAM).setCapacity(4 * FluidHelper.BUCKET_VOLUME);

        boiler = new SteamBoiler(tankWater, getTankManager().get(TANK_STEAM));
        boiler.setTicksPerCycle(TICKS_PER_BOILER_CYCLE);
View Full Code Here

Examples of mods.railcraft.common.fluids.tanks.FilteredTank

        patterns.add(new MultiBlockPattern(map));
    }

    public TileSteamOven() {
        super("railcraft.gui.steam.oven", 18, patterns);
        tank = new FilteredTank(TANK_CAPACITY, Fluids.STEAM.get(), this);
        tankManager.add(tank);
    }
View Full Code Here

Examples of mods.railcraft.common.fluids.tanks.FilteredTank

        patterns.add(new MultiBlockPattern(map, 2, 1, 2));
    }

    public TileTankWater() {
        super("gui.tank.water", 2, patterns);
        tank = new FilteredTank(TANK_CAPACITY, Fluids.WATER.get(), this);
        tankManager.add(tank);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.