Crafting CPU basics.

This commit is contained in:
AlgorithmX2
2014-05-17 22:19:23 -05:00
parent 8838fc4ba6
commit b15d3af12b
14 changed files with 386 additions and 256 deletions
@@ -0,0 +1,31 @@
package appeng.tile.crafting;
public class TileCraftingStorageTile extends TileCraftingTile
{
public boolean isAccelerator()
{
return false;
}
public boolean isStorage()
{
return true;
}
public int getStorageBytes()
{
switch (worldObj.getBlockMetadata( xCoord, yCoord, zCoord ) & 3)
{
default:
case 0:
return 1 * 1024;
case 1:
return 4 * 1024;
case 2:
return 16 * 1024;
case 3:
return 64 * 1024;
}
}
}