Package appeng.api.networking.crafting
Interface ICraftingWatcherNode
- All Superinterfaces:
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 TypeMethodDescriptionvoidonRequestChange(ICraftingService craftingGrid, AEKey what) Called when a crafting status changes.voidupdateWatcher(IStackWatcher newWatcher) provides the watcher for this host, for the current network, is called when the hot changes networks.
-
Method Details
-
updateWatcher
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
Called when a crafting status changes.- Parameters:
craftingGrid- current crafting gridwhat- changed key
-