blob: 24a970d360ee4eb7d8767285ff11d5c1ebdf94c2 (
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
36
37
38
39
40
|
package gtPlusPlus.xmod.gregtech.api.gui;
import gregtech.api.gui.GT_ContainerMetaTile_Machine;
import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.inventory.Slot;
/**
* NEVER INCLUDE THIS FILE IN YOUR MOD!!!
* <p/>
* The Container I use for all my Basic Machines
*/
public class CONTAINER_IndustrialCentrifuge extends GT_ContainerMetaTile_Machine {
public CONTAINER_IndustrialCentrifuge(final InventoryPlayer aInventoryPlayer,
final IGregTechTileEntity aTileEntity) {
super(aInventoryPlayer, aTileEntity);
}
public CONTAINER_IndustrialCentrifuge(final InventoryPlayer aInventoryPlayer, final IGregTechTileEntity aTileEntity,
final boolean bindInventory) {
super(aInventoryPlayer, aTileEntity, bindInventory);
}
@Override
public void addSlots(final InventoryPlayer aInventoryPlayer) {
this.addSlotToContainer(new Slot(this.mTileEntity, 1, 154, 42));
}
@Override
public int getShiftClickSlotCount() {
return 1;
}
@Override
public int getSlotCount() {
return 1;
}
}
|