public void tickAll() {
      for(int var1 = 0; var1 < this.all.size(); ++var1) {
         Entity var2;
         (var2 = (Entity)this.all.get(var1)).tick();
         if(var2.removed) {
            this.all.remove(var1--);
            this.slot.init(var2.xOld, var2.yOld, var2.zOld).remove(var2);
         } else {
            int var3 = (int)(var2.xOld / 16.0F);
            int var4 = (int)(var2.yOld / 16.0F);
            int var5 = (int)(var2.zOld / 16.0F);
            int var6 = (int)(var2.x / 16.0F);
            int var7 = (int)(var2.y / 16.0F);
            int var8 = (int)(var2.z / 16.0F);
            if(var3 != var6 || var4 != var7 || var5 != var8) {
               this.moved(var2);
            }
         }
      }

   }