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
-
remove
-
reset
void reset()Removes all watched stacks and resets the watcher to a clean state.
-