aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/gregtech/api/gui/CONTAINER_PowerSubStation.java
blob: feef8848677a974e8e921e157c615c9c601f08bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package gtPlusPlus.xmod.gregtech.api.gui;

import net.minecraft.inventory.IInventory;
import net.minecraft.inventory.Slot;

import gregtech.api.gui.GT_Container_MultiMachine;
import gregtech.api.interfaces.tileentity.IGregTechTileEntity;

import gtPlusPlus.core.slots.SlotNoInput;

import net.minecraft.entity.player.InventoryPlayer;

public class CONTAINER_PowerSubStation extends GT_Container_MultiMachine {
	public CONTAINER_PowerSubStation(final InventoryPlayer aInventoryPlayer, final IGregTechTileEntity aTileEntity) {
		super(aInventoryPlayer, aTileEntity);
	}

	public CONTAINER_PowerSubStation(final InventoryPlayer aInventoryPlayer, final IGregTechTileEntity aTileEntity,
			final boolean bindInventory) {
		super(aInventoryPlayer, aTileEntity, bindInventory);
	}

	public void addSlots(final InventoryPlayer aInventoryPlayer) {
		this.addSlotToContainer(new Slot((IInventory) this.mTileEntity, 1, 155, 5));
		this.addSlotToContainer(new SlotNoInput((IInventory) this.mTileEntity, 2, 155, 23));
	}

	public int getSlotCount() {
		return 2;
	}

	public int getShiftClickSlotCount() {
		return 1;
	}
}