Cleanup of common constructs

This commit is contained in:
Henry Loenwind authored and HenryLoenwind committed 2015-03-18 21:44:48 +01:00
1 parent 31f193be2c
commit d7f9eb05fe
36 files changed
+160 -246

No files matched your search

@@ -108,7 +108,7 @@ public class BlockSpawnGuard extends AbstractMachineBlock<TileSpawnGuard> {
@SideOnly(Side.CLIENT)
@Override
public void randomDisplayTick(World world, int x, int y, int z, Random rand) {
if(isActive(world, x, y, z) && world.getTotalWorldTime() % 5 == 0) {
if(isActive(world, x, y, z) && shouldDoWorkThisTick(world, x, y, z, 5)) {
float startX = x + 1.0F;
float startY = y + 0.85F;
float startZ = z + 1.0F;