public class ModAPIManager
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private static class |
ModAPIManager.APIContainer |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,ModAPIManager.APIContainer> |
apiContainers |
private ASMDataTable |
dataTable |
static ModAPIManager |
INSTANCE |
private ModAPITransformer |
transformer |
Constructor and Description |
---|
ModAPIManager() |
Modifier and Type | Method and Description |
---|---|
void |
cleanupAPIContainers(java.util.List<ModContainer> mods) |
java.lang.Iterable<? extends ModContainer> |
getAPIList() |
boolean |
hasAPI(java.lang.String modId) |
void |
injectAPIModContainers(java.util.List<ModContainer> mods,
java.util.Map<java.lang.String,ModContainer> nameLookup) |
void |
manageAPI(ModClassLoader modClassLoader,
ModDiscoverer discoverer) |
void |
registerDataTableAndParseAPI(ASMDataTable dataTable) |
public static final ModAPIManager INSTANCE
private ModAPITransformer transformer
private ASMDataTable dataTable
private java.util.Map<java.lang.String,ModAPIManager.APIContainer> apiContainers
public void registerDataTableAndParseAPI(ASMDataTable dataTable)
public void manageAPI(ModClassLoader modClassLoader, ModDiscoverer discoverer)
public void injectAPIModContainers(java.util.List<ModContainer> mods, java.util.Map<java.lang.String,ModContainer> nameLookup)
public void cleanupAPIContainers(java.util.List<ModContainer> mods)
public boolean hasAPI(java.lang.String modId)
public java.lang.Iterable<? extends ModContainer> getAPIList()