mmb.content.electric.recipes.AbstractRecipeGroupUncatalyzed 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<
The newest version!
/**
*
*/
package mmb.content.electric.recipes;
import java.util.Set;
import mmb.NN;
import mmb.engine.item.ItemEntry;
import mmb.engine.recipe.Recipe;
import mmb.engine.recipe.RecipeOutput;
import monniasza.collects.Identifiable;
/**
* An implementation aid for uncatalyzed recipe groups
* @author oskar
* @param the item selection type
* @param type of recipes
*/
public abstract class AbstractRecipeGroupUncatalyzed<@NN Tlist extends RecipeOutput, @NN Trecipe extends Recipe<@NN Trecipe>&Identifiable>
extends AbstractRecipeGroup {
protected AbstractRecipeGroupUncatalyzed(String id, Class<@NN Trecipe> rtype) {
super(id, rtype);
}
@Override
public Set items4id(@NN Tlist id) {
return id.items();
}
@Override
public final boolean isCatalyzed() {
return false;
}
}