mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-26 06:52:58 +00:00
add most of AE api, uncomment code for AE charging
This commit is contained in:
1 parent
be979ef064
commit
61acdc7d3e
107 files changed
+3560
-5
No files matched your search
@@ -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 );
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user