Added Crank Turns Stat

Added Inserted Items Stat
Added Extracted Items Stat
Added Various Achivements
This commit is contained in:
AlgorithmX2
2014-08-31 03:06:06 -05:00
parent e0ef2f4e3d
commit 05c9af07e6
11 changed files with 401 additions and 6 deletions
+8 -2
View File
@@ -80,10 +80,13 @@ public class TileCrank extends AEBaseTile implements ICustomCollision
getBlockType().onNeighborBlockChange( worldObj, xCoord, yCoord, zCoord, Platform.air );
}
public void power()
/**
* return true if this should count towards stats.
*/
public boolean power()
{
if ( Platform.isClient() )
return;
return false;
if ( rotation < 3 )
{
@@ -95,6 +98,7 @@ public class TileCrank extends AEBaseTile implements ICustomCollision
hits = 0;
rotation += ticksPerRoation;
this.markForUpdate();
return true;
}
else
{
@@ -107,6 +111,8 @@ public class TileCrank extends AEBaseTile implements ICustomCollision
}
}
}
return false;
}
@Override