2013-07-28 10:37:31 +00:00
|
|
|
package forestry.api.recipes;
|
|
|
|
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Fermenter checks any valid fermentation item for an implementation of this interface.
|
|
|
|
* This does not supersede adding a proper recipe to the fermenter!
|
|
|
|
*/
|
|
|
|
public interface IVariableFermentable {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param itemstack
|
|
|
|
* @return Float representing the modification to be applied to the matching recipe's biomass output.
|
|
|
|
*/
|
|
|
|
float getFermentationModifier(ItemStack itemstack);
|
|
|
|
}
|