aboutsummaryrefslogtreecommitdiff
path: root/main/java/gregtech/common/tileentities/automation/GT_MetaTileEntity_SuperBuffer.java
blob: d90a6c4bb4b73df6103d7d79a48de475152ba7c7 (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
41
42
43
44
45
46
47
48
49
50
51
package gregtech.common.tileentities.automation;

import gregtech.api.enums.Textures;
import gregtech.api.enums.Textures.BlockIcons;
import gregtech.api.interfaces.ITexture;
import gregtech.api.interfaces.metatileentity.IMetaTileEntity;
import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
import gregtech.api.objects.GT_RenderedTexture;
import gregtech.common.gui.GT_Container_SuperBuffer;
import gregtech.common.gui.GT_GUIContainer_SuperBuffer;
import net.minecraft.entity.player.InventoryPlayer;

public class GT_MetaTileEntity_SuperBuffer
  extends GT_MetaTileEntity_ChestBuffer
{
  public GT_MetaTileEntity_SuperBuffer(int aID, String aName, String aNameRegional, int aTier)
  {
    super(aID, aName, aNameRegional, aTier, 257, "Buffering up to 256 Stacks");
  }
  
  public GT_MetaTileEntity_SuperBuffer(String aName, int aTier, int aInvSlotCount, String aDescription, ITexture[][][] aTextures)
  {
    super(aName, aTier, aInvSlotCount, aDescription, aTextures);
  }
  
  public IMetaTileEntity newMetaEntity(IGregTechTileEntity aTileEntity)
  {
    return new GT_MetaTileEntity_SuperBuffer(this.mName, this.mTier, this.mInventory.length, this.mDescription, this.mTextures);
  }
  
  public ITexture getOverlayIcon()
  {
    return new GT_RenderedTexture(Textures.BlockIcons.AUTOMATION_SUPERBUFFER);
  }
  
  public Object getServerGUI(int aID, InventoryPlayer aPlayerInventory, IGregTechTileEntity aBaseMetaTileEntity)
  {
    return new GT_Container_SuperBuffer(aPlayerInventory, aBaseMetaTileEntity);
  }
  
  public Object getClientGUI(int aID, InventoryPlayer aPlayerInventory, IGregTechTileEntity aBaseMetaTileEntity)
  {
    return new GT_GUIContainer_SuperBuffer(aPlayerInventory, aBaseMetaTileEntity);
  }
}



/* Location:           F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar

 * Qualified Name:     gregtech.common.tileentities.automation.GT_MetaTileEntity_SuperBuffer

 * JD-Core Version:    0.7.0.1

 */