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