|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectdan200.computer.api.ComputerCraftAPI
public class ComputerCraftAPI
The static entry point to the ComputerCraft API. Members in this class must be called after mod_ComputerCraft has been initialised, but may be called before it is fully loaded.
| Constructor Summary | |
|---|---|
ComputerCraftAPI()
|
|
| Method Summary | |
|---|---|
static IMount |
createResourceMount(java.lang.String domain,
java.lang.String subPath)
TODO: Document me. |
static IWritableMount |
createSaveDirMount(World world,
java.lang.String subPath,
long capacity)
TODO: Document me. |
static int |
createUniqueNumberedSaveDir(World world,
java.lang.String parentSubPath)
TODO: Document me. |
static void |
registerExternalPeripheral(java.lang.Class<? extends net.minecraft.tileentity.TileEntity> clazz,
IPeripheralHandler handler)
Registers a peripheral handler for a TileEntity that you do not have access to. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ComputerCraftAPI()
| Method Detail |
|---|
public static int createUniqueNumberedSaveDir(World world,
java.lang.String parentSubPath)
public static IWritableMount createSaveDirMount(World world,
java.lang.String subPath,
long capacity)
public static IMount createResourceMount(java.lang.String domain,
java.lang.String subPath)
public static void registerExternalPeripheral(java.lang.Class<? extends net.minecraft.tileentity.TileEntity> clazz,
IPeripheralHandler handler)
IPeripheral,
IPeripheralHandler
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||