Package mods.railcraft.common.fluids.tanks

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


    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

    }

    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

    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

        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

        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

Related Classes of mods.railcraft.common.fluids.tanks.FilteredTank

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.