Class IngredientComponentStorageWrapperHandlerChemicalStack<CHEMICAL extends mekanism.api.chemical.Chemical<CHEMICAL>,STACK extends mekanism.api.chemical.ChemicalStack<CHEMICAL>,C extends mekanism.api.chemical.IChemicalHandler<CHEMICAL,STACK>>
java.lang.Object
org.cyclops.integratedmekanismics.ingredient.IngredientComponentStorageWrapperHandlerChemicalStack<CHEMICAL,STACK,C>
- All Implemented Interfaces:
org.cyclops.commoncapabilities.api.ingredient.storage.IIngredientComponentStorageWrapperHandler<mekanism.api.chemical.ChemicalStack<?>,
Integer, C>
public abstract class IngredientComponentStorageWrapperHandlerChemicalStack<CHEMICAL extends mekanism.api.chemical.Chemical<CHEMICAL>,STACK extends mekanism.api.chemical.ChemicalStack<CHEMICAL>,C extends mekanism.api.chemical.IChemicalHandler<CHEMICAL,STACK>>
extends Object
implements org.cyclops.commoncapabilities.api.ingredient.storage.IIngredientComponentStorageWrapperHandler<mekanism.api.chemical.ChemicalStack<?>,Integer,C>
Chemical storage wrapper handler for
IChemicalHandler
.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
IngredientComponentStorageWrapperHandlerChemicalStack.ChemicalStorageWrapper<CHEMICAL extends mekanism.api.chemical.Chemical<CHEMICAL>,
STACK extends mekanism.api.chemical.ChemicalStack<CHEMICAL>> static class
IngredientComponentStorageWrapperHandlerChemicalStack.ChemicalStorageWrapperSlotted<CHEMICAL extends mekanism.api.chemical.Chemical<CHEMICAL>,
STACK extends mekanism.api.chemical.ChemicalStack<CHEMICAL>> static class
IngredientComponentStorageWrapperHandlerChemicalStack.ComponentStorageWrapper<CHEMICAL extends mekanism.api.chemical.Chemical<CHEMICAL>,
STACK extends mekanism.api.chemical.ChemicalStack<CHEMICAL>, C extends mekanism.api.chemical.IChemicalHandler<CHEMICAL, STACK>> static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
-
Constructor Summary
ConstructorsConstructorDescriptionIngredientComponentStorageWrapperHandlerChemicalStack
(org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<mekanism.api.chemical.ChemicalStack<?>, Integer> ingredientComponent, net.minecraftforge.common.capabilities.Capability<C> handlerCapability) -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
chemicalActionToSimulate
(mekanism.api.Action chemicalAction) org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<mekanism.api.chemical.ChemicalStack<?>,
Integer> net.minecraftforge.common.util.LazyOptional<C>
getStorage
(net.minecraftforge.common.capabilities.ICapabilityProvider capabilityProvider, net.minecraft.core.Direction facing) static mekanism.api.Action
simulateToChemicalAction
(boolean simulate) org.cyclops.commoncapabilities.api.ingredient.storage.IIngredientComponentStorage<mekanism.api.chemical.ChemicalStack<?>,
Integer> wrapComponentStorage
(C storage) 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, wrapStorage
-
Constructor Details
-
IngredientComponentStorageWrapperHandlerChemicalStack
-
-
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(C storage) - Specified by:
wrapComponentStorage
in interfaceorg.cyclops.commoncapabilities.api.ingredient.storage.IIngredientComponentStorageWrapperHandler<CHEMICAL extends mekanism.api.chemical.Chemical<CHEMICAL>,
STACK extends mekanism.api.chemical.ChemicalStack<CHEMICAL>, C extends mekanism.api.chemical.IChemicalHandler<CHEMICAL, STACK>>
-
getStorage
public net.minecraftforge.common.util.LazyOptional<C> getStorage(net.minecraftforge.common.capabilities.ICapabilityProvider capabilityProvider, @Nullable net.minecraft.core.Direction facing) - Specified by:
getStorage
in interfaceorg.cyclops.commoncapabilities.api.ingredient.storage.IIngredientComponentStorageWrapperHandler<CHEMICAL extends mekanism.api.chemical.Chemical<CHEMICAL>,
STACK extends mekanism.api.chemical.ChemicalStack<CHEMICAL>, C extends mekanism.api.chemical.IChemicalHandler<CHEMICAL, STACK>>
-
getComponent
public org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<mekanism.api.chemical.ChemicalStack<?>,Integer> getComponent()- Specified by:
getComponent
in interfaceorg.cyclops.commoncapabilities.api.ingredient.storage.IIngredientComponentStorageWrapperHandler<CHEMICAL extends mekanism.api.chemical.Chemical<CHEMICAL>,
STACK extends mekanism.api.chemical.ChemicalStack<CHEMICAL>, C extends mekanism.api.chemical.IChemicalHandler<CHEMICAL, STACK>>
-