mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-26 23:13:21 +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,24 @@
|
||||
package appeng.api;
|
||||
|
||||
import appeng.api.me.util.IGridCache;
|
||||
|
||||
/**
|
||||
* A registry of grid caches to extend grid functionality.
|
||||
*/
|
||||
public interface IGridCacheRegistry {
|
||||
|
||||
/**
|
||||
* Register a new grid cache for use during operation, must be called during the loading phase.
|
||||
* @param cl
|
||||
* @return cache id ( can be used later to ask the grid for you cache. )
|
||||
*/
|
||||
int registerGridCache( Class<? extends IGridCache> cl );
|
||||
|
||||
/**
|
||||
* requests a new instance of a grid cache for use, used internally
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
IGridCache[] createCacheInstance();
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user