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 TypeMethodDescriptionvoid
onCraftableChange
(AEKey what) Called when a craftable status changes.void
onRequestChange
(AEKey what) Called when a crafting status changes.void
updateWatcher
(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:
what
- changed key
-
onCraftableChange
Called when a craftable status changes.- Parameters:
what
- changed key
-