ede5fb938b
Integrate api and lang into core
25 lines
664 B
Java
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);
|
|
|
|
}
|