public class Category extends com.cleanroommc.groovyscript.registry.VirtualizedRegistry<Category>
| Modifier and Type | Class and Description |
|---|---|
static class |
Category.CategoryBuilder |
| Constructor and Description |
|---|
Category() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Category category) |
Category.CategoryBuilder |
categoryBuilder() |
void |
onReload() |
boolean |
remove(Category category) |
void |
removeAll() |
boolean |
removeByName(java.lang.String name) |
com.cleanroommc.groovyscript.helper.SimpleObjectStream<Category> |
streamCategories() |
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<Category>public void add(Category category)
public boolean remove(Category category)
public boolean removeByName(java.lang.String name)
public com.cleanroommc.groovyscript.helper.SimpleObjectStream<Category> streamCategories()
public void removeAll()
public Category.CategoryBuilder categoryBuilder()