Class IngredientComponentStorageWrapperHandlerChemicalStack<C>
java.lang.Object
org.cyclops.integratedmekanism.ingredient.IngredientComponentStorageWrapperHandlerChemicalStack<C>
- All Implemented Interfaces:
org.cyclops.commoncapabilities.api.ingredient.storage.IIngredientComponentStorageWrapperHandler<mekanism.api.chemical.ChemicalStack,
Integer, mekanism.api.chemical.IChemicalHandler, C>
public class IngredientComponentStorageWrapperHandlerChemicalStack<C>
extends Object
implements org.cyclops.commoncapabilities.api.ingredient.storage.IIngredientComponentStorageWrapperHandler<mekanism.api.chemical.ChemicalStack,Integer,mekanism.api.chemical.IChemicalHandler,C>
Chemical storage wrapper handler for
IChemicalHandler
.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
-
Constructor Summary
ConstructorsConstructorDescriptionIngredientComponentStorageWrapperHandlerChemicalStack
(org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<mekanism.api.chemical.ChemicalStack, Integer> ingredientComponent, net.neoforged.neoforge.capabilities.BaseCapability<? extends mekanism.api.chemical.IChemicalHandler, C> handlerCapability) -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
chemicalActionToSimulate
(mekanism.api.Action chemicalAction) org.cyclops.commoncapabilities.api.ingredient.IngredientComponent
<mekanism.api.chemical.ChemicalStack, Integer> Optional
<mekanism.api.chemical.IChemicalHandler> getStorage
(org.cyclops.commoncapabilities.api.ingredient.capability.ICapabilityGetter<C> capabilityProvider, C context) static mekanism.api.Action
simulateToChemicalAction
(boolean simulate) org.cyclops.commoncapabilities.api.ingredient.storage.IIngredientComponentStorage
<mekanism.api.chemical.ChemicalStack, Integer> wrapComponentStorage
(mekanism.api.chemical.IChemicalHandler storage) mekanism.api.chemical.IChemicalHandler
wrapStorage
(org.cyclops.commoncapabilities.api.ingredient.storage.IIngredientComponentStorage<mekanism.api.chemical.ChemicalStack, Integer> componentStorage) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.cyclops.commoncapabilities.api.ingredient.storage.IIngredientComponentStorageWrapperHandler
getComponentStorage
-
Constructor Details
-
IngredientComponentStorageWrapperHandlerChemicalStack
public IngredientComponentStorageWrapperHandlerChemicalStack(org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<mekanism.api.chemical.ChemicalStack, Integer> ingredientComponent, net.neoforged.neoforge.capabilities.BaseCapability<? extends mekanism.api.chemical.IChemicalHandler, C> handlerCapability)
-
-
Method Details
-
simulateToChemicalAction
public static mekanism.api.Action simulateToChemicalAction(boolean simulate) -
chemicalActionToSimulate
public static boolean chemicalActionToSimulate(mekanism.api.Action chemicalAction) -
wrapComponentStorage
public org.cyclops.commoncapabilities.api.ingredient.storage.IIngredientComponentStorage<mekanism.api.chemical.ChemicalStack,Integer> wrapComponentStorage(mekanism.api.chemical.IChemicalHandler storage) -
wrapStorage
public mekanism.api.chemical.IChemicalHandler wrapStorage(org.cyclops.commoncapabilities.api.ingredient.storage.IIngredientComponentStorage<mekanism.api.chemical.ChemicalStack, Integer> componentStorage) -
getStorage
-
getComponent
public org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<mekanism.api.chemical.ChemicalStack,Integer> getComponent()
-