Class TerminalStorageTabIngredientCraftingHandlerRegistry
java.lang.Object
org.cyclops.integratedterminals.core.terminalstorage.crafting.TerminalStorageTabIngredientCraftingHandlerRegistry
- All Implemented Interfaces:
org.cyclops.cyclopscore.init.IRegistry,ITerminalStorageTabIngredientCraftingHandlerRegistry
public class TerminalStorageTabIngredientCraftingHandlerRegistry
extends Object
implements ITerminalStorageTabIngredientCraftingHandlerRegistry
Implementation of
ITerminalStorageTabIngredientCraftingHandlerRegistry.-
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
-
getInstance
-
register
Description copied from interface:ITerminalStorageTabIngredientCraftingHandlerRegistryRegister a new terminal storage tab ingredient crafting handler.- Specified by:
registerin interfaceITerminalStorageTabIngredientCraftingHandlerRegistry- Type Parameters:
T- The handler type.- Parameters:
handler- The terminal storage tab ingredient crafting handler.- Returns:
- The registered handler.
-
getHandlers
- Specified by:
getHandlersin interfaceITerminalStorageTabIngredientCraftingHandlerRegistry- Returns:
- All registered handlers.
-
getHandler
@Nullable public ITerminalStorageTabIngredientCraftingHandler getHandler(net.minecraft.resources.ResourceLocation id) Description copied from interface:ITerminalStorageTabIngredientCraftingHandlerRegistryGet the handler with the given id.- Specified by:
getHandlerin interfaceITerminalStorageTabIngredientCraftingHandlerRegistry- Parameters:
id- A handler id.- Returns:
- The registered handler or null.
-