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

    Constructors
    Constructor
    Description
    ChemicalTargetCapabilityProvider(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 Type
    Method
    Description
    org.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 interface IChemicalTarget
    • getChemicalChannel

      public org.cyclops.commoncapabilities.api.ingredient.storage.IIngredientComponentStorage<mekanism.api.chemical.ChemicalStack<?>,Integer> getChemicalChannel()
      Specified by:
      getChemicalChannel in interface IChemicalTarget
    • getChemicalChannelSlotted

      public org.cyclops.commoncapabilities.api.ingredient.storage.IIngredientComponentStorageSlotted<mekanism.api.chemical.ChemicalStack<?>,Integer> getChemicalChannelSlotted()
      Specified by:
      getChemicalChannelSlotted in interface IChemicalTarget
    • 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 interface IChemicalTarget
    • getChemicalStackMatcher

      public org.cyclops.integratedtunnels.core.predicate.IngredientPredicate<mekanism.api.chemical.ChemicalStack<?>,Integer> getChemicalStackMatcher()
      Specified by:
      getChemicalStackMatcher in interface IChemicalTarget
    • getProperties

      public org.cyclops.integrateddynamics.api.part.aspect.property.IAspectProperties getProperties()
      Specified by:
      getProperties in interface IChemicalTarget
    • getConnection

      public org.cyclops.integratedtunnels.part.aspect.ITunnelConnection getConnection()
      Specified by:
      getConnection in interface IChemicalTarget
    • getComponent

      protected org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<mekanism.api.chemical.ChemicalStack<?>,Integer> getComponent()
      Specified by:
      getComponent in class org.cyclops.integratedtunnels.part.aspect.ChanneledTargetCapabilityProvider<IChemicalNetwork,mekanism.api.chemical.ChemicalStack<?>,Integer>