Package appeng.api.networking
Interface IStackWatcher
@NonExtendable
public interface IStackWatcher
DO NOT IMPLEMENT. Will be injected when adding an
IStorageWatcherNode or ICraftingWatcherNode to a
grid.-
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a specificAEKeyto watch.voidRemove a specificAEKeyfrom the watcher.voidreset()Removes all watched stacks and resets the watcher to a clean state.voidsetWatchAll(boolean watchAll) Request that ALL changes be broadcast to this watcher.
-
Method Details
-
setWatchAll
void setWatchAll(boolean watchAll) Request that ALL changes be broadcast to this watcher.- Parameters:
watchAll- true to enable watching all stacks
-
add
Add a specificAEKeyto watch. Supports multiple values, duplicate ones will not be added. -
remove
Remove a specificAEKeyfrom the watcher. -
reset
void reset()Removes all watched stacks and resets the watcher to a clean state.
-