Package mods.railcraft.common.gui.widgets

Examples of mods.railcraft.common.gui.widgets.IndicatorWidget


        this.tile = tile;

        addWidget(new FluidGaugeWidget(tile.getTankManager().get(0), 17, 23, 176, 0, 16, 47));
        addWidget(new FluidGaugeWidget(tile.getTankManager().get(1), 107, 23, 176, 0, 16, 47));

        addWidget(new IndicatorWidget(tile.boiler.heatIndicator, 40, 25, 176, 61, 6, 43));
        addWidget(new IndicatorWidget(tile.getEnergyIndicator(), 94, 25, 182, 61, 6, 43));

        addSlot(new SlotFuel(tile, 0, 62, 39));
        addSlot(new SlotWater(tile, 1, 143, 21));
        addSlot(new SlotOutput(tile, 2, 143, 56));
View Full Code Here


        addWidget(new FluidGaugeWidget(tile.getTankManager().get(0), 116, 23, 176, 0, 16, 47));
        addWidget(new FluidGaugeWidget(tile.getTankManager().get(1), 17, 23, 176, 0, 16, 47));
        addWidget(new FluidGaugeWidget(tile.getTankManager().get(2), 89, 23, 176, 0, 16, 47));

        addWidget(new IndicatorWidget(tile.boiler.heatIndicator, 40, 25, 176, 61, 6, 43));

        addSlot(new SlotLiquidContainerFilled(tile, 0, 143, 21));
        addSlot(new SlotOutput(tile, 1, 143, 56));

        for (int i = 0; i < 3; i++) {
View Full Code Here

        this.loco = loco;

        addWidget(new FluidGaugeWidget(loco.getTankManager().get(0), 116, 23, 176, 0, 16, 47));
        addWidget(new FluidGaugeWidget(loco.getTankManager().get(1), 17, 23, 176, 0, 16, 47));

        addWidget(new IndicatorWidget(loco.boiler.heatIndicator, 40, 25, 176, 61, 6, 43));

        addSlot(new SlotWaterLimited(loco, 0, 143, 21));
        addSlot(new SlotOutput(loco, 1, 143, 56));
        addSlot(new SlotFuel(loco, 2, 62, 39));
        addSlot(new SlotFuel(loco, 3, 89, 20));
View Full Code Here

        super(playerInv, loco, 161);
        this.loco = loco;
        this.chargeHandler = loco.getChargeHandler();

        chargeIndicator = new ChargeIndicator(EntityLocomotiveElectric.MAX_CHARGE);
        addWidget(new IndicatorWidget(chargeIndicator, 57, 20, 176, 0, 62, 8, false));
    }
View Full Code Here

        this.tile = tile;

        addWidget(new FluidGaugeWidget(tile.getTankManager().get(0), 116, 23, 176, 0, 16, 47));
        addWidget(new FluidGaugeWidget(tile.getTankManager().get(1), 17, 23, 176, 0, 16, 47));

        addWidget(new IndicatorWidget(tile.boiler.heatIndicator, 40, 25, 176, 61, 6, 43));

        addSlot(input = new SlotWater(tile, 0, 143, 21));
        addSlot(output = new SlotOutput(tile, 1, 143, 56));
        addSlot(fuel = new SlotFuel(tile, 2, 62, 39));
        addSlot(new SlotFuel(tile, 3, 89, 20));
View Full Code Here

    public ContainerRockCrusher(InventoryPlayer inventoryplayer, TileRockCrusher crusher) {
        super(crusher);
        this.tile = crusher;

        energyIndicator = new MJEnergyIndicator(TileRockCrusher.MAX_ENERGY);
        addWidget(new IndicatorWidget(energyIndicator, 157, 23, 176, 53, 6, 48));

        for (int i = 0; i < 3; i++) {
            for (int k = 0; k < 3; k++) {
                addSlot(new SlotRockCrusher(crusher, i * 3 + k, 8 + k * 18, 21 + i * 18));
            }
View Full Code Here

    public ContainerEngineSteam(InventoryPlayer inventoryplayer, TileEngineSteam tile) {
        this.tile = tile;

        addWidget(new FluidGaugeWidget(tile.getTankManager().get(0), 71, 23, 176, 0, 16, 47));

        addWidget(new IndicatorWidget(tile.getEnergyIndicator(), 94, 25, 176, 47, 6, 43));

        for (int i = 0; i < 3; i++) {
            for (int k = 0; k < 9; k++) {
                addSlot(new Slot(inventoryplayer, k + i * 9 + 9, 8 + k * 18, 84 + i * 18));
            }
View Full Code Here

            }

        };

        energyIndicator = new MJEnergyIndicator(TileRollingMachine.MAX_ENERGY);
        addWidget(new IndicatorWidget(energyIndicator, 157, 19, 176, 12, 6, 48));

        addSlot(new SlotRollingMachine(craftResult, 0, 93, 27));
        addSlot(new SlotOutput(tile, 0, 124, 35));

        for (int l = 0; l < 3; l++) {
View Full Code Here

TOP

Related Classes of mods.railcraft.common.gui.widgets.IndicatorWidget

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.