Class ChemicalNetwork

java.lang.Object
org.cyclops.integrateddynamics.core.network.PositionedAddonsNetwork
org.cyclops.integrateddynamics.core.network.PositionedAddonsNetworkIngredients<mekanism.api.chemical.ChemicalStack<?>,Integer>
org.cyclops.integratedmekanismics.network.ChemicalNetwork
All Implemented Interfaces:
org.cyclops.integrateddynamics.api.ingredient.IIngredientComponentStorageObservable<mekanism.api.chemical.ChemicalStack<?>,Integer>, org.cyclops.integrateddynamics.api.ingredient.IIngredientComponentStorageObservable.IIndexChangeObserver<mekanism.api.chemical.ChemicalStack<?>,Integer>, org.cyclops.integrateddynamics.api.network.IFullNetworkListener, org.cyclops.integrateddynamics.api.network.IPositionedAddonsNetwork, org.cyclops.integrateddynamics.api.network.IPositionedAddonsNetworkIngredients<mekanism.api.chemical.ChemicalStack<?>,Integer>, IChemicalNetwork

public class ChemicalNetwork extends org.cyclops.integrateddynamics.core.network.PositionedAddonsNetworkIngredients<mekanism.api.chemical.ChemicalStack<?>,Integer> implements IChemicalNetwork
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.cyclops.integrateddynamics.api.ingredient.IIngredientComponentStorageObservable

    org.cyclops.integrateddynamics.api.ingredient.IIngredientComponentStorageObservable.Change, org.cyclops.integrateddynamics.api.ingredient.IIngredientComponentStorageObservable.IIndexChangeObserver<T extends Object,M extends Object>, org.cyclops.integrateddynamics.api.ingredient.IIngredientComponentStorageObservable.StorageChangeEvent<T extends Object,M extends Object>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static net.minecraftforge.common.capabilities.Capability<? extends mekanism.api.chemical.IChemicalHandler<?,?>>
     

    Fields inherited from interface org.cyclops.integrateddynamics.api.network.IPositionedAddonsNetwork

    DEFAULT_CHANNEL, WILDCARD_CHANNEL
  • Constructor Summary

    Constructors
    Constructor
    Description
    ChemicalNetwork(org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<mekanism.api.chemical.ChemicalStack<?>,Integer> component)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.cyclops.commoncapabilities.api.ingredient.storage.IIngredientComponentStorage<mekanism.api.chemical.ChemicalStack<?>,Integer>
    getPositionedStorage(org.cyclops.integrateddynamics.api.part.PartPos pos)
     
    @Nullable org.cyclops.integrateddynamics.api.network.PositionedAddonsNetworkIngredientsFilter<mekanism.api.chemical.ChemicalStack<?>>
    getPositionedStorageFilter(org.cyclops.integrateddynamics.api.part.PartPos pos)
     
    @Nullable org.cyclops.commoncapabilities.api.ingredient.storage.IIngredientComponentStorage<mekanism.api.chemical.ChemicalStack<?>,Integer>
    getPositionedStorageUnsafe(net.minecraftforge.common.capabilities.Capability<? extends mekanism.api.chemical.IChemicalHandler<?,?>> capability, org.cyclops.integrateddynamics.api.part.PartPos pos)
     
    long
     

    Methods inherited from class org.cyclops.integrateddynamics.core.network.PositionedAddonsNetworkIngredients

    addNetworkElement, addObserver, addPosition, afterServerLoad, applyChangesToChannel, beforeServerStop, canUpdate, getChannelExternal, getChannelIndex, getChannelInternal, getChannelSlotted, getComponent, getIndexSafe, getInstanceLocationsIndex, getLastSecondDurationIndex, invalidateElement, isObservationForcedPending, kill, onChange, onPositionAdded, onPositionRemoved, onSkipUpdate, postUpdate, removeNetworkElementPost, removeNetworkElementPre, removeObserver, removePathElement, resetLastSecondDurationsIndex, revalidateElement, runObserverSync, scheduleObservation, scheduleObservationForced, setPositionedStorageFilter, shouldObserve, update, updateGuaranteed

    Methods inherited from class org.cyclops.integrateddynamics.core.network.PositionedAddonsNetwork

    disablePosition, enablePosition, getChannels, getNetwork, getPartPosIteratorHandler, getPositionChannel, getPrioritizedPositions, getPrioritizedPositions, hasPositions, invalidateIterators, isPositionDisabled, removePosition, setNetwork, setPartPosIteratorHandler

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.cyclops.integrateddynamics.api.ingredient.IIngredientComponentStorageObservable

    addObserver, getChannelIndex, isObservationForcedPending, removeObserver, runObserverSync, scheduleObservation, scheduleObservationForced, shouldObserve

    Methods inherited from interface org.cyclops.integrateddynamics.api.network.IPositionedAddonsNetwork

    addPosition, disablePosition, enablePosition, getChannels, getPartPosIteratorHandler, getPositionChannel, getPositions, getPositions, getPrioritizedPositions, getPrioritizedPositions, hasPositions, isPositionDisabled, removePosition, setPartPosIteratorHandler

    Methods inherited from interface org.cyclops.integrateddynamics.api.network.IPositionedAddonsNetworkIngredients

    getChannel, getChannelExternal, getChannelInternal, getChannelSlotted, getComponent, getLastSecondDurationIndex, getPositionedStorageUnsafe, getRawInstances, resetLastSecondDurationsIndex, setPositionedStorageFilter
  • Field Details

    • ACTIVE_CAPABILITY

      public static net.minecraftforge.common.capabilities.Capability<? extends mekanism.api.chemical.IChemicalHandler<?,?>> ACTIVE_CAPABILITY
  • Constructor Details

    • ChemicalNetwork

      public ChemicalNetwork(org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<mekanism.api.chemical.ChemicalStack<?>,Integer> component)
  • Method Details

    • getRateLimit

      public long getRateLimit()
      Specified by:
      getRateLimit in interface org.cyclops.integrateddynamics.api.network.IPositionedAddonsNetworkIngredients<mekanism.api.chemical.ChemicalStack<?>,Integer>
    • getPositionedStorageUnsafe

      @Nullable public @Nullable org.cyclops.commoncapabilities.api.ingredient.storage.IIngredientComponentStorage<mekanism.api.chemical.ChemicalStack<?>,Integer> getPositionedStorageUnsafe(net.minecraftforge.common.capabilities.Capability<? extends mekanism.api.chemical.IChemicalHandler<?,?>> capability, org.cyclops.integrateddynamics.api.part.PartPos pos)
    • getPositionedStorage

      public org.cyclops.commoncapabilities.api.ingredient.storage.IIngredientComponentStorage<mekanism.api.chemical.ChemicalStack<?>,Integer> getPositionedStorage(org.cyclops.integrateddynamics.api.part.PartPos pos)
      Specified by:
      getPositionedStorage in interface org.cyclops.integrateddynamics.api.network.IPositionedAddonsNetworkIngredients<mekanism.api.chemical.ChemicalStack<?>,Integer>
      Overrides:
      getPositionedStorage in class org.cyclops.integrateddynamics.core.network.PositionedAddonsNetworkIngredients<mekanism.api.chemical.ChemicalStack<?>,Integer>
    • getPositionedStorageFilter

      @Nullable public @Nullable org.cyclops.integrateddynamics.api.network.PositionedAddonsNetworkIngredientsFilter<mekanism.api.chemical.ChemicalStack<?>> getPositionedStorageFilter(org.cyclops.integrateddynamics.api.part.PartPos pos)
      Specified by:
      getPositionedStorageFilter in interface org.cyclops.integrateddynamics.api.network.IPositionedAddonsNetworkIngredients<mekanism.api.chemical.ChemicalStack<?>,Integer>
      Overrides:
      getPositionedStorageFilter in class org.cyclops.integrateddynamics.core.network.PositionedAddonsNetworkIngredients<mekanism.api.chemical.ChemicalStack<?>,Integer>