Class DefaultPositionedAddonsNetworkIngredientsHandler<T,M>
java.lang.Object
org.cyclops.integrateddynamics.api.ingredient.capability.DefaultPositionedAddonsNetworkIngredientsHandler<T,M>
- All Implemented Interfaces:
IPositionedAddonsNetworkIngredientsHandler<T,
M>
public class DefaultPositionedAddonsNetworkIngredientsHandler<T,M>
extends Object
implements IPositionedAddonsNetworkIngredientsHandler<T,M>
Default implementation of
IPositionedAddonsNetworkIngredientsHandler
.-
Constructor Summary
ConstructorDescriptionDefaultPositionedAddonsNetworkIngredientsHandler
(Function<INetwork, IPositionedAddonsNetworkIngredients<T, M>> networkRetriever) -
Method Summary
Modifier and TypeMethodDescriptiongetStorage
(INetwork network) Get the ingredient network in the given network,
-
Constructor Details
-
DefaultPositionedAddonsNetworkIngredientsHandler
public DefaultPositionedAddonsNetworkIngredientsHandler(Function<INetwork, IPositionedAddonsNetworkIngredients<T, M>> networkRetriever)
-
-
Method Details
-
getStorage
Description copied from interface:IPositionedAddonsNetworkIngredientsHandler
Get the ingredient network in the given network,- Specified by:
getStorage
in interfaceIPositionedAddonsNetworkIngredientsHandler<T,
M> - Parameters:
network
- The network.- Returns:
- The optional ingredient component network.
-