Class PendingCraftingJobResultIndexObserver<T,M>

java.lang.Object
org.cyclops.integratedcrafting.core.PendingCraftingJobResultIndexObserver<T,M>
All Implemented Interfaces:
org.cyclops.integrateddynamics.api.ingredient.IIngredientComponentStorageObservable.IIndexChangeObserver<T,M>

public class PendingCraftingJobResultIndexObserver<T,M> extends Object implements org.cyclops.integrateddynamics.api.ingredient.IIngredientComponentStorageObservable.IIndexChangeObserver<T,M>
An ingredient index observer that tracks crafting job outputs for a certain ingredient component type. It will observe changes and (partially) resolve awaiting crafting job outputs when applicable.
  • Constructor Details

    • PendingCraftingJobResultIndexObserver

      public PendingCraftingJobResultIndexObserver(org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<T,M> ingredientComponent, CraftingJobHandler handler, ICraftingNetwork craftingNetwork)
  • Method Details

    • onChange

      public void onChange(org.cyclops.integrateddynamics.api.ingredient.IIngredientComponentStorageObservable.StorageChangeEvent<T,M> event)
      Specified by:
      onChange in interface org.cyclops.integrateddynamics.api.ingredient.IIngredientComponentStorageObservable.IIndexChangeObserver<T,M>