Update GT_MetaTileEntity_Hatch.java

getSlots() static method added
This commit is contained in:
pyure 2015-09-23 19:50:40 -04:00
parent b0e064bf28
commit 0ad3c057b1

View file

@ -9,6 +9,11 @@ public abstract class GT_MetaTileEntity_Hatch extends GT_MetaTileEntity_BasicTan
public byte mMachineBlock = 0;
public static int getSlots(int aTier)
{
return aTier < 1 ? 1 : aTier == 1 ? 4 : aTier == 2 ? 9 : 16;
}
public GT_MetaTileEntity_Hatch(int aID, String aName, String aNameRegional, int aTier, int aInvSlotCount, String aDescription, ITexture... aTextures) {
super(aID, aName, aNameRegional, aTier, aInvSlotCount, aDescription, aTextures);
}