Class NetworkCraftingHandlerRegistry
java.lang.Object
org.cyclops.integrateddynamics.core.network.NetworkCraftingHandlerRegistry
- All Implemented Interfaces:
org.cyclops.cyclopscore.init.IRegistry
,INetworkCraftingHandlerRegistry
public final class NetworkCraftingHandlerRegistry
extends Object
implements INetworkCraftingHandlerRegistry
Registry for
INetworkCraftingHandler
.-
Method Summary
Modifier and TypeMethodDescription<C extends INetworkCraftingHandler>
Cregister
(C craftingHandler) Register a new crafting handler.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.cyclops.integrateddynamics.api.network.INetworkCraftingHandlerRegistry
canCraft, craft, isCrafting
-
Method Details
-
getInstance
- Returns:
- The unique instance.
-
register
Description copied from interface:INetworkCraftingHandlerRegistry
Register a new crafting handler.- Specified by:
register
in interfaceINetworkCraftingHandlerRegistry
- Type Parameters:
C
- The crafting handler type.- Parameters:
craftingHandler
- The crafting handler.- Returns:
- The registered crafting handler.
-
getCraftingHandlers
- Specified by:
getCraftingHandlers
in interfaceINetworkCraftingHandlerRegistry
- Returns:
- All registered crafting handlers.
-