mmb.engine.craft.rgroups.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<
/**
*
*/
package mmb.engine.craft.rgroups;
import java.util.Set;
import mmb.NN;
import mmb.engine.craft.Recipe;
import mmb.engine.craft.RecipeOutput;
import mmb.engine.item.ItemEntry;
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;
}
}