Smeltery broken into components

This commit is contained in:
mDiyo committed 2013-10-01 19:44:04 -07:00
1 parent 9a6ace2f69
commit 349b124ac3
156 files changed
+4862 -665

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
package appeng.api;
import net.minecraft.item.ItemStack;
import appeng.api.me.util.IMEInventoryHandler;
/**
* Registratio record for a Custom Cell handler.
*/
public interface ICellHandler {
/**
* return true if the provided item is handled by your cell handler. ( AE May choose to skip this method, and just request a handler )
* @param is
* @return return true, if getCellHandler will not return null.
*/
boolean isCell( ItemStack is );
/**
* return a new IMEHandler for the provided item.
* @param is
* @return if you cannot handle the provided item, return null.
*/
IMEInventoryHandler getCellHandler( ItemStack is );
}