001 package net.minecraft.util; 002 003 import cpw.mods.fml.relauncher.Side; 004 import cpw.mods.fml.relauncher.SideOnly; 005 006 public interface IProgressUpdate 007 { 008 /** 009 * "Saving level", or the loading,or downloading equivelent 010 */ 011 void displayProgressMessage(String var1); 012 013 @SideOnly(Side.CLIENT) 014 015 /** 016 * this string, followed by "working..." and then the "% complete" are the 3 lines shown. This resets progress to 0, 017 * and the WorkingString to "working...". 018 */ 019 void resetProgressAndMessage(String var1); 020 021 /** 022 * This is called with "Working..." by resetProgressAndMessage 023 */ 024 void resetProgresAndWorkingMessage(String var1); 025 026 /** 027 * Updates the progress bar on the loading screen to the specified amount. Args: loadProgress 028 */ 029 void setLoadingProgress(int var1); 030 031 @SideOnly(Side.CLIENT) 032 033 /** 034 * called when there is no more progress to be had, both on completion and failure 035 */ 036 void onNoMoreProgress(); 037 }