Package appeng.api.networking.energy
Interface IEnergyWatcherNode
- All Superinterfaces:
IGridNodeService
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onThresholdPass
(IEnergyService energyGrid) Called when a threshold is crossed.void
updateWatcher
(IEnergyWatcher newWatcher) provides the IEnergyWatcher for this host, for the current network, is called when the hot changes networks.
-
Method Details
-
updateWatcher
provides the IEnergyWatcher 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
- new watcher
-
onThresholdPass
Called when a threshold is crossed.- Parameters:
energyGrid
- grid
-