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

mmb.engine.recipe.RecipeGroup 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<

The newest version!
/**
 * 
 */
package mmb.engine.recipe;

import java.util.Set;

import javax.swing.ListCellRenderer;

import mmb.NN;
import mmb.beans.Titled;
import mmb.engine.item.ItemEntry;
import monniasza.collects.Identifiable;

/**
 * Stores recipes of a single type (different ones don't mix)
 * @author oskar
 * @param  type of recipes
 */
public interface RecipeGroup<@NN T extends Recipe> extends Identifiable, Titled{
	/**@return a set with recipes*/
	@NN public Set<@NN T> recipes();
	/** @return a set with all supported items */
	@NN public Set<@NN ? extends ItemEntry> supportedItems();
	/** @return a component which displays recipes */
	public @NN RecipeView createView();
	/**
	 * @return a cell renderer for compatible recipes
	 */
	public @NN ListCellRenderer cellRenderer();
	/**
	 * @return does the recipe group support catalysts?
	 */
	public boolean isCatalyzed();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy