filename:
common/src/main/java/rearth/oritech/api/recipe/LavaGeneratorRecipeBuilder.java
branch:
1.21
back to repo
package rearth.oritech.api.recipe;
import net.minecraft.util.Identifier;
import rearth.oritech.init.recipes.RecipeContent;
public class LavaGeneratorRecipeBuilder extends OritechRecipeBuilder {
protected LavaGeneratorRecipeBuilder() {
super(RecipeContent.LAVA_GENERATOR, "lavagen");
}
public static OritechRecipeBuilder build() {
return new LavaGeneratorRecipeBuilder();
}
@Override
public void validate(Identifier id) throws IllegalStateException {
if (fluidInput == null || fluidInput.isEmpty())
throw new IllegalStateException("fluid input required for recipe " + id + " (type " + type + ")");
}
}