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

mmb.engine.craft.singles.SimpleRecipeGroup 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.singles;

import mmb.NN;
import mmb.Nil;
import mmb.engine.craft.RecipeGroup;
import mmb.engine.item.ItemEntry;

/**
 * @author oskar
 * A recipe group optimized for single-item recipes.
 * @param  type of recipes
 */
public interface SimpleRecipeGroup> extends RecipeGroup<@NN T> {
	/**
	 * Finds a recipe which meets criteria
	 * @param catalyst required catalyst (null if none)
	 * @param in required input item
	 * @return a matching recipe or null if not found
	 */
	@Nil public T findRecipe(@Nil ItemEntry catalyst, ItemEntry in);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy