35 lines
1,018 B
Java
35 lines
1,018 B
Java
package gregtech.api.gui;
|
|
|
|
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 GT_Container_MultiMachine extends GT_ContainerMetaTile_Machine {
|
|
public GT_Container_MultiMachine(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity) {
|
|
super(aInventoryPlayer, aTileEntity);
|
|
}
|
|
|
|
public GT_Container_MultiMachine(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity, boolean bindInventory) {
|
|
super(aInventoryPlayer, aTileEntity, bindInventory);
|
|
}
|
|
|
|
@Override
|
|
public void addSlots(InventoryPlayer aInventoryPlayer) {
|
|
addSlotToContainer(new Slot(mTileEntity, 1, 152, 5));
|
|
}
|
|
|
|
@Override
|
|
public int getSlotCount() {
|
|
return 1;
|
|
}
|
|
|
|
@Override
|
|
public int getShiftClickSlotCount() {
|
|
return 1;
|
|
}
|
|
}
|