Search in sources :

Example 1 with SlotWaterLimited

use of mods.railcraft.common.gui.slots.SlotWaterLimited in project Railcraft by Railcraft.

the class ContainerLocomotiveSteamSolid method defineSlotsAndWidgets.

@Override
public void defineSlotsAndWidgets() {
    addWidget(new FluidGaugeWidget(loco.getTankManager().get(0), 53, 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, 152, 20));
    addSlot(new SlotOutput(loco, 1, 152, 56));
    addSlot(new SlotOutput(loco, 2, 116, 56));
    // Burn
    addSlot(new SlotRailcraft(loco, 3, 116, 20));
    // Fuel
    addSlot(new SlotRailcraft(loco, 4, 80, 20));
    // Fuel
    addSlot(new SlotRailcraft(loco, 5, 80, 38));
    // Fuel
    addSlot(new SlotRailcraft(loco, 6, 80, 56));
}
Also used : SlotWaterLimited(mods.railcraft.common.gui.slots.SlotWaterLimited) FluidGaugeWidget(mods.railcraft.common.gui.widgets.FluidGaugeWidget) IndicatorWidget(mods.railcraft.common.gui.widgets.IndicatorWidget) SlotOutput(mods.railcraft.common.gui.slots.SlotOutput) SlotRailcraft(mods.railcraft.common.gui.slots.SlotRailcraft)

Aggregations

SlotOutput (mods.railcraft.common.gui.slots.SlotOutput)1 SlotRailcraft (mods.railcraft.common.gui.slots.SlotRailcraft)1 SlotWaterLimited (mods.railcraft.common.gui.slots.SlotWaterLimited)1 FluidGaugeWidget (mods.railcraft.common.gui.widgets.FluidGaugeWidget)1 IndicatorWidget (mods.railcraft.common.gui.widgets.IndicatorWidget)1