mmb.engine.craft.Refreshable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of multimachinebuilder Show documentation
Show all versions of multimachinebuilder Show documentation
Dependency for the MultiMachineBuilder, a voxel game about building an industrial empire in a finite world.
THIS RELEASE IS NOT PLAYABLE. To play the game, donwload from >ITCH.IO LINK HERE< or >GH releases link here<
/**
*
*/
package mmb.engine.craft;
import mmb.Nil;
/**
* @author oskar
* An object which is refreshed during processing
*/
public interface Refreshable{
/** Refreshes the input list */
public void refreshInputs();
/** Refreshes the output list */
public void refreshOutputs();
/** Refreshes the progress bar
* @param progress processing progress , where 0 is beginning and 1 is end
* @param recipe item which is currently smelted
* @param max energy required to complete the recipe
*/
public void refreshProgress(double progress, @Nil Recipe> recipe);
}