Applied-Energistics-2-tiler.../src/api/java/appeng/api/networking/crafting/ICraftingWatcherHost.java
thatsIch ede5fb938b Remove gitmodules
Integrate api and lang into core
2014-12-04 13:09:13 +01:00

25 lines
664 B
Java

package appeng.api.networking.crafting;
import appeng.api.storage.data.IAEItemStack;
public interface ICraftingWatcherHost
{
/**
* provides the ICraftingWatcher 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.
*
* @param newWatcher crafting watcher for this host
*/
void updateWatcher(ICraftingWatcher newWatcher);
/**
* Called when a crafting status changes.
*
* @param craftingGrid current crafting grid
* @param what change
*/
void onRequestChange(ICraftingGrid craftingGrid, IAEItemStack what);
}