public class Recipe extends com.cleanroommc.groovyscript.registry.VirtualizedRegistry<Recipe>
| Modifier and Type | Class and Description |
|---|---|
static class |
Recipe.RecipeBuilder |
| Constructor and Description |
|---|
Recipe() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Recipe recipe) |
void |
onReload() |
Recipe.RecipeBuilder |
recipeBuilder() |
boolean |
remove(Recipe recipe) |
void |
removeAll() |
boolean |
removeByCategory(java.lang.String category) |
boolean |
removeByInput(com.cleanroommc.groovyscript.api.IIngredient input) |
boolean |
removeByOutput(com.cleanroommc.groovyscript.api.IIngredient output) |
com.cleanroommc.groovyscript.helper.SimpleObjectStream<Recipe> |
streamRecipes() |
addBackup, addScripted, afterScriptLoad, createRecipeStorage, doAddBackup, doAddScripted, getBackupRecipes, getScriptedRecipes, removeScripted, restoreFromBackupgetAliases, getNamepublic void onReload()
onReload in interface com.cleanroommc.groovyscript.api.IScriptReloadableonReload in class com.cleanroommc.groovyscript.registry.VirtualizedRegistry<Recipe>public void add(Recipe recipe)
public boolean remove(Recipe recipe)
public boolean removeByCategory(java.lang.String category)
public boolean removeByOutput(com.cleanroommc.groovyscript.api.IIngredient output)
public boolean removeByInput(com.cleanroommc.groovyscript.api.IIngredient input)
public com.cleanroommc.groovyscript.helper.SimpleObjectStream<Recipe> streamRecipes()
public void removeAll()
public Recipe.RecipeBuilder recipeBuilder()