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.integratedmekanism.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 classIngredientComponentStorageWrapperHandlerChemicalStack.ChemicalStorageWrapper<CHEMICAL extends mekanism.api.chemical.Chemical<CHEMICAL>,STACK extends mekanism.api.chemical.ChemicalStack<CHEMICAL>> static classIngredientComponentStorageWrapperHandlerChemicalStack.ChemicalStorageWrapperSlotted<CHEMICAL extends mekanism.api.chemical.Chemical<CHEMICAL>,STACK extends mekanism.api.chemical.ChemicalStack<CHEMICAL>> static classIngredientComponentStorageWrapperHandlerChemicalStack.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 classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic 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 booleanchemicalActionToSimulate(mekanism.api.Action chemicalAction) org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<mekanism.api.chemical.ChemicalStack<?>,Integer> org.cyclops.commoncapabilities.api.ingredient.storage.IIngredientComponentStorage<mekanism.api.chemical.ChemicalStack<?>,Integer> getComponentStorage(net.minecraftforge.common.capabilities.ICapabilityProvider capabilityProvider, @Nullable net.minecraft.core.Direction facing) net.minecraftforge.common.util.LazyOptional<C>getStorage(net.minecraftforge.common.capabilities.ICapabilityProvider capabilityProvider, net.minecraft.core.Direction facing) static mekanism.api.ActionsimulateToChemicalAction(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, waitMethods inherited from interface org.cyclops.commoncapabilities.api.ingredient.storage.IIngredientComponentStorageWrapperHandler
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:
wrapComponentStoragein 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:
getStoragein 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:
getComponentin 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>>
-
getComponentStorage
public org.cyclops.commoncapabilities.api.ingredient.storage.IIngredientComponentStorage<mekanism.api.chemical.ChemicalStack<?>,Integer> getComponentStorage(net.minecraftforge.common.capabilities.ICapabilityProvider capabilityProvider, @Nullable @Nullable net.minecraft.core.Direction facing) - Specified by:
getComponentStoragein 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>>
-