Class ChemicalTargetCapabilityProvider
java.lang.Object
org.cyclops.integratedtunnels.part.aspect.ChanneledTarget<N,T>
org.cyclops.integratedtunnels.part.aspect.ChanneledTargetCapabilityProvider<IChemicalNetwork,mekanism.api.chemical.ChemicalStack<?>,Integer>
org.cyclops.integratedmekanismics.modcompat.integratedtunnels.aspect.ChemicalTargetCapabilityProvider
- All Implemented Interfaces:
IChemicalTarget
,org.cyclops.integratedtunnels.part.aspect.IChanneledTarget<IChemicalNetwork,
mekanism.api.chemical.ChemicalStack<?>>
public class ChemicalTargetCapabilityProvider
extends org.cyclops.integratedtunnels.part.aspect.ChanneledTargetCapabilityProvider<IChemicalNetwork,mekanism.api.chemical.ChemicalStack<?>,Integer>
implements IChemicalTarget
-
Constructor Summary
ConstructorsConstructorDescriptionChemicalTargetCapabilityProvider
(org.cyclops.integratedtunnels.part.aspect.ITunnelTransfer transfer, org.cyclops.integrateddynamics.api.network.INetwork network, net.minecraftforge.common.capabilities.ICapabilityProvider capabilityProvider, net.minecraft.core.Direction side, org.cyclops.integratedtunnels.core.predicate.IngredientPredicate<mekanism.api.chemical.ChemicalStack<?>, Integer> chemicalStackMatcher, org.cyclops.integrateddynamics.api.part.PartTarget partTarget, org.cyclops.integrateddynamics.api.part.aspect.property.IAspectProperties properties, org.cyclops.integratedtunnels.core.part.PartStateRoundRobin<?> partState) -
Method Summary
Modifier and TypeMethodDescriptionorg.cyclops.commoncapabilities.api.ingredient.storage.IIngredientComponentStorage<mekanism.api.chemical.ChemicalStack<?>,
Integer> org.cyclops.commoncapabilities.api.ingredient.storage.IIngredientComponentStorageSlotted<mekanism.api.chemical.ChemicalStack<?>,
Integer> org.cyclops.integratedtunnels.core.predicate.IngredientPredicate<mekanism.api.chemical.ChemicalStack<?>,
Integer> protected org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<mekanism.api.chemical.ChemicalStack<?>,
Integer> org.cyclops.integratedtunnels.part.aspect.ITunnelConnection
org.cyclops.integrateddynamics.api.part.PartTarget
org.cyclops.integrateddynamics.api.part.aspect.property.IAspectProperties
<H extends mekanism.api.chemical.IChemicalHandler<?,
?>>
org.cyclops.commoncapabilities.api.ingredient.storage.IIngredientComponentStorage<mekanism.api.chemical.ChemicalStack<?>,Integer> getStorage
(net.minecraftforge.common.capabilities.Capability<H> chemicalCapability) Methods inherited from class org.cyclops.integratedtunnels.part.aspect.ChanneledTargetCapabilityProvider
getStorage, hasValidTarget
Methods inherited from class org.cyclops.integratedtunnels.part.aspect.ChanneledTarget
getChannel, getChanneledNetwork, getNetwork, getPartState, isCraftIfFailed, isPassiveIO, isRoundRobin, postTransfer, preTransfer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.cyclops.integratedtunnels.part.aspect.IChanneledTarget
getChannel, getChanneledNetwork, getNetwork, getPartState, getPartStatePositionedAddon, hasValidTarget, isCraftIfFailed, isPassiveIO, isRoundRobin, postTransfer, preTransfer
Methods inherited from interface org.cyclops.integratedmekanismics.modcompat.integratedtunnels.aspect.IChemicalTarget
getStorage
-
Constructor Details
-
ChemicalTargetCapabilityProvider
public ChemicalTargetCapabilityProvider(org.cyclops.integratedtunnels.part.aspect.ITunnelTransfer transfer, org.cyclops.integrateddynamics.api.network.INetwork network, @Nullable net.minecraftforge.common.capabilities.ICapabilityProvider capabilityProvider, net.minecraft.core.Direction side, org.cyclops.integratedtunnels.core.predicate.IngredientPredicate<mekanism.api.chemical.ChemicalStack<?>, Integer> chemicalStackMatcher, org.cyclops.integrateddynamics.api.part.PartTarget partTarget, org.cyclops.integrateddynamics.api.part.aspect.property.IAspectProperties properties, @Nullable org.cyclops.integratedtunnels.core.part.PartStateRoundRobin<?> partState)
-
-
Method Details
-
getPartTarget
public org.cyclops.integrateddynamics.api.part.PartTarget getPartTarget()- Specified by:
getPartTarget
in interfaceIChemicalTarget
-
getChemicalChannel
public org.cyclops.commoncapabilities.api.ingredient.storage.IIngredientComponentStorage<mekanism.api.chemical.ChemicalStack<?>,Integer> getChemicalChannel()- Specified by:
getChemicalChannel
in interfaceIChemicalTarget
-
getChemicalChannelSlotted
public org.cyclops.commoncapabilities.api.ingredient.storage.IIngredientComponentStorageSlotted<mekanism.api.chemical.ChemicalStack<?>,Integer> getChemicalChannelSlotted()- Specified by:
getChemicalChannelSlotted
in interfaceIChemicalTarget
-
getStorage
public <H extends mekanism.api.chemical.IChemicalHandler<?,?>> org.cyclops.commoncapabilities.api.ingredient.storage.IIngredientComponentStorage<mekanism.api.chemical.ChemicalStack<?>,Integer> getStorage(net.minecraftforge.common.capabilities.Capability<H> chemicalCapability) - Specified by:
getStorage
in interfaceIChemicalTarget
-
getChemicalStackMatcher
public org.cyclops.integratedtunnels.core.predicate.IngredientPredicate<mekanism.api.chemical.ChemicalStack<?>,Integer> getChemicalStackMatcher()- Specified by:
getChemicalStackMatcher
in interfaceIChemicalTarget
-
getProperties
public org.cyclops.integrateddynamics.api.part.aspect.property.IAspectProperties getProperties()- Specified by:
getProperties
in interfaceIChemicalTarget
-
getConnection
public org.cyclops.integratedtunnels.part.aspect.ITunnelConnection getConnection()- Specified by:
getConnection
in interfaceIChemicalTarget
-
getComponent
protected org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<mekanism.api.chemical.ChemicalStack<?>,Integer> getComponent()- Specified by:
getComponent
in classorg.cyclops.integratedtunnels.part.aspect.ChanneledTargetCapabilityProvider<IChemicalNetwork,
mekanism.api.chemical.ChemicalStack<?>, Integer>
-