public class LoadController
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) class |
LoadController.FMLSecurityManager |
Modifier and Type | Field and Description |
---|---|
private LoadController.FMLSecurityManager |
accessibleManager |
private ModContainer |
activeContainer |
private java.util.List<ModContainer> |
activeModList |
private com.google.common.collect.ImmutableMap<java.lang.String,com.google.common.eventbus.EventBus> |
eventChannels |
private Loader |
loader |
private com.google.common.eventbus.EventBus |
masterChannel |
private com.google.common.collect.BiMap<ModContainer,java.lang.Object> |
modObjectList |
private com.google.common.collect.Multimap<java.lang.String,LoaderState.ModState> |
modStates |
private com.google.common.collect.ListMultimap<java.lang.String,ModContainer> |
packageOwners |
private LoaderState |
state |
Constructor and Description |
---|
LoadController(Loader loader) |
Modifier and Type | Method and Description |
---|---|
ModContainer |
activeContainer() |
void |
buildModList(FMLLoadEvent event) |
com.google.common.collect.ImmutableBiMap<ModContainer,java.lang.Object> |
buildModObjectList() |
void |
checkErrors()
Deprecated.
|
void |
checkErrorsAfterAvailable()
Deprecated.
|
(package private) void |
disableMod(ModContainer mod) |
void |
distributeStateMessage(java.lang.Class<?> customEvent) |
void |
distributeStateMessage(LoaderState state,
java.lang.Object... eventData) |
void |
errorOccurred(ModContainer modContainer,
java.lang.Throwable exception) |
private ModContainer |
findActiveContainerFromStack() |
(package private) void |
forceActiveContainer(ModContainer container) |
(package private) void |
forceState(LoaderState newState) |
java.util.List<ModContainer> |
getActiveModList() |
(package private) java.lang.Class<?>[] |
getCallingStack() |
com.google.common.collect.BiMap<ModContainer,java.lang.Object> |
getModObjectList() |
LoaderState.ModState |
getModState(ModContainer selectedMod) |
(package private) LoaderState |
getState() |
(package private) boolean |
hasReachedState(LoaderState state) |
boolean |
isInState(LoaderState state) |
void |
printModStates(java.lang.StringBuilder ret) |
void |
propogateStateMessage(FMLEvent stateEvent) |
private void |
sendEventToModContainer(FMLEvent stateEvent,
ModContainer mc) |
void |
transition(LoaderState desiredState,
boolean forceState) |
private Loader loader
private com.google.common.eventbus.EventBus masterChannel
private com.google.common.collect.ImmutableMap<java.lang.String,com.google.common.eventbus.EventBus> eventChannels
private LoaderState state
private com.google.common.collect.Multimap<java.lang.String,LoaderState.ModState> modStates
private java.util.List<ModContainer> activeModList
private ModContainer activeContainer
private com.google.common.collect.BiMap<ModContainer,java.lang.Object> modObjectList
private com.google.common.collect.ListMultimap<java.lang.String,ModContainer> packageOwners
private LoadController.FMLSecurityManager accessibleManager
public LoadController(Loader loader)
void disableMod(ModContainer mod)
public void buildModList(FMLLoadEvent event)
public void distributeStateMessage(LoaderState state, java.lang.Object... eventData)
public void transition(LoaderState desiredState, boolean forceState)
@Deprecated public void checkErrorsAfterAvailable()
@Deprecated public void checkErrors()
@Nullable public ModContainer activeContainer()
void forceActiveContainer(@Nullable ModContainer container)
public void propogateStateMessage(FMLEvent stateEvent)
private void sendEventToModContainer(FMLEvent stateEvent, ModContainer mc)
public com.google.common.collect.ImmutableBiMap<ModContainer,java.lang.Object> buildModObjectList()
public void errorOccurred(ModContainer modContainer, java.lang.Throwable exception)
public void printModStates(java.lang.StringBuilder ret)
public java.util.List<ModContainer> getActiveModList()
public LoaderState.ModState getModState(ModContainer selectedMod)
public void distributeStateMessage(java.lang.Class<?> customEvent)
public com.google.common.collect.BiMap<ModContainer,java.lang.Object> getModObjectList()
public boolean isInState(LoaderState state)
boolean hasReachedState(LoaderState state)
void forceState(LoaderState newState)
@Nullable private ModContainer findActiveContainerFromStack()
java.lang.Class<?>[] getCallingStack()
LoaderState getState()