Class ChemicalNetwork

java.lang.Object
org.cyclops.integrateddynamics.core.network.PositionedAddonsNetwork
org.cyclops.integrateddynamics.core.network.PositionedAddonsNetworkIngredients<mekanism.api.chemical.ChemicalStack,Integer>
org.cyclops.integratedmekanism.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,M>, org.cyclops.integrateddynamics.api.ingredient.IIngredientComponentStorageObservable.StorageChangeEvent<T,M>
  • Field Summary

    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
    @Nullable org.cyclops.integrateddynamics.api.network.PositionedAddonsNetworkIngredientsFilter<mekanism.api.chemical.ChemicalStack>
    getPositionedStorageFilter(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, getChannel, getChannelExternal, getChannelIndex, getChannelSlotted, getComponent, getIndexSafe, getInstanceLocationsIndex, getLastSecondDurationIndex, getPositionedStorage, 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, getChannelSlotted, getComponent, getLastSecondDurationIndex, getPositionedStorage, getPositionedStorageUnsafe, getRawInstances, resetLastSecondDurationsIndex, setPositionedStorageFilter
  • 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>
    • 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>