Examples of MJEnergyIndicator


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

    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

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

                    InvTools.addItemToolTip(stack, LocalizationPlugin.translate("railcraft.gui.rolling.machine.tip.craft"));
            }

        };

        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));
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.