Interface ICraftingWatcherNode

All Superinterfaces:
IGridNodeService

public interface ICraftingWatcherNode extends IGridNodeService
A node that is notified of changes to the currently crafting items in the network. Implementors should store the watcher passed to updateWatcher(appeng.api.networking.IStackWatcher) and use it to configure the watched stacks.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onRequestChange(ICraftingService craftingGrid, AEKey what)
    Called when a crafting status changes.
    void
    provides the watcher for this host, for the current network, is called when the hot changes networks.
  • Method Details

    • updateWatcher

      void updateWatcher(IStackWatcher newWatcher)
      provides the watcher for this host, for the current network, is called when the hot changes networks. You do not need to clear your old watcher, its already been removed by the time this gets called.
      Parameters:
      newWatcher - crafting watcher for this host
    • onRequestChange

      void onRequestChange(ICraftingService craftingGrid, AEKey what)
      Called when a crafting status changes.
      Parameters:
      craftingGrid - current crafting grid
      what - changed key