All Downloads are FREE. Search and download functionalities are using the official Maven repository.

mmb.engine.craft.Refreshable Maven / Gradle / Ivy

Go to download

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<

There is a newer version: 0.6
Show newest version
/**
 * 
 */
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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy