mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-21 12:42:36 +00:00
#30 Added ME cable.
This commit is contained in:
1 parent
f46d727004
commit
adb158d63c
135 files changed
+4428
-67
No files matched your search
@@ -0,0 +1,27 @@
|
||||
package appeng.api;
|
||||
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraftforge.common.ForgeDirection;
|
||||
import appeng.api.me.util.IMEInventory;
|
||||
|
||||
/**
|
||||
* A Registration for a special storage handler.
|
||||
*
|
||||
*/
|
||||
public interface IExternalStorageHandler {
|
||||
|
||||
/**
|
||||
* if this can handle the provided inventory, return true. ( Generally skipped by AE, and it just calls getInventory )
|
||||
* @param te
|
||||
* @return true, if it can get a handler via getInventory
|
||||
*/
|
||||
boolean canHandle( TileEntity te, ForgeDirection d );
|
||||
|
||||
/**
|
||||
* if this can handle the given inventory, return the a IMEInventory implemnting class for it, if not return null
|
||||
* @param te
|
||||
* @return HandlerFor Inventory.
|
||||
*/
|
||||
IMEInventory getInventory( TileEntity te, ForgeDirection d );
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user