Interface ITerminalStorageTabIngredientCraftingHandlerRegistry
- All Superinterfaces:
org.cyclops.cyclopscore.init.IRegistry
- All Known Implementing Classes:
TerminalStorageTabIngredientCraftingHandlerRegistry
public interface ITerminalStorageTabIngredientCraftingHandlerRegistry
extends org.cyclops.cyclopscore.init.IRegistry
A registry for
ITerminalStorageTabIngredientCraftingHandler.-
Method Summary
Modifier and TypeMethodDescriptiongetHandler(net.minecraft.resources.ResourceLocation id) Get the handler with the given id.<T extends ITerminalStorageTabIngredientCraftingHandler>
Tregister(T handler) Register a new terminal storage tab ingredient crafting handler.
-
Method Details
-
register
Register a new terminal storage tab ingredient crafting handler.- Type Parameters:
T- The handler type.- Parameters:
handler- The terminal storage tab ingredient crafting handler.- Returns:
- The registered handler.
-
getHandlers
Collection<ITerminalStorageTabIngredientCraftingHandler> getHandlers()- Returns:
- All registered handlers.
-
getHandler
@Nullable ITerminalStorageTabIngredientCraftingHandler getHandler(net.minecraft.resources.ResourceLocation id) Get the handler with the given id.- Parameters:
id- A handler id.- Returns:
- The registered handler or null.
-