Modifier and Type | Class and Description |
---|---|
class |
ForgeModContainer |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<ModContainer,ForgeVersion.CheckResult> |
ForgeVersion.results |
Modifier and Type | Method and Description |
---|---|
private static ModContainer |
ForgeChunkManager.getContainer(java.lang.Object mod) |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<ModContainer,java.net.URL> |
ForgeVersion.gatherMods() |
Modifier and Type | Method and Description |
---|---|
static ForgeVersion.CheckResult |
ForgeVersion.getResult(ModContainer mod) |
private static boolean |
ForgeHooks.loadAdvancements(java.util.Map<ResourceLocation,Advancement.Builder> map,
ModContainer mod) |
private static void |
ForgeHooks.loadFactories(ModContainer mod) |
private static void |
ForgeHooks.setActiveModContainer(ModContainer mod) |
Modifier and Type | Method and Description |
---|---|
static boolean |
CraftingHelper.findFiles(ModContainer mod,
java.lang.String base,
java.util.function.Function<java.nio.file.Path,java.lang.Boolean> preprocessor,
java.util.function.BiFunction<java.nio.file.Path,java.nio.file.Path,java.lang.Boolean> processor)
Deprecated.
|
static boolean |
CraftingHelper.findFiles(ModContainer mod,
java.lang.String base,
java.util.function.Function<java.nio.file.Path,java.lang.Boolean> preprocessor,
java.util.function.BiFunction<java.nio.file.Path,java.nio.file.Path,java.lang.Boolean> processor,
boolean defaultUnfoundRoot)
Deprecated.
|
static boolean |
CraftingHelper.findFiles(ModContainer mod,
java.lang.String base,
java.util.function.Function<java.nio.file.Path,java.lang.Boolean> preprocessor,
java.util.function.BiFunction<java.nio.file.Path,java.nio.file.Path,java.lang.Boolean> processor,
boolean defaultUnfoundRoot,
boolean visitAllFiles) |
private static JsonContext |
CraftingHelper.loadContext(ModContainer mod,
JsonContext ctx,
ResourceLocation path) |
static JsonContext |
CraftingHelper.loadContext(ResourceLocation path,
ModContainer mod) |
private static void |
CraftingHelper.loadFactories(ModContainer mod) |
static void |
CraftingHelper.loadFactories(ModContainer mod,
java.lang.String base,
CraftingHelper.FactoryLoader... loaders) |
private static boolean |
CraftingHelper.loadRecipes(ModContainer mod) |
Modifier and Type | Field and Description |
---|---|
private ModContainer |
RegistryEvent.MissingMappings.activeMod |
Modifier and Type | Method and Description |
---|---|
void |
RegistryEvent.MissingMappings.setModContainer(ModContainer mod) |
Modifier and Type | Field and Description |
---|---|
private ModContainer |
FMLFolderResourcePack.container |
private ModContainer |
FMLFileResourcePack.container |
private ModContainer |
GuiModList.selectedMod |
Modifier and Type | Field and Description |
---|---|
private ModSortingException.SortingExceptionData<ModContainer> |
GuiSortingProblem.failedList |
private com.google.common.collect.BiMap<ModContainer,IModGuiFactory> |
FMLClientHandler.guiFactories |
private java.util.ArrayList<ModContainer> |
GuiModList.mods |
private java.util.ArrayList<ModContainer> |
GuiSlotModList.mods |
Modifier and Type | Method and Description |
---|---|
ModContainer |
FMLFolderResourcePack.getFMLContainer() |
ModContainer |
FMLFileResourcePack.getFMLContainer() |
Modifier and Type | Method and Description |
---|---|
(package private) java.util.ArrayList<ModContainer> |
GuiSlotModList.getMods() |
Modifier and Type | Method and Description |
---|---|
void |
FMLClientHandler.addModAsResource(ModContainer container) |
int |
GuiModList.SortType.compare(ModContainer o1,
ModContainer o2) |
static IModGuiFactory |
DefaultGuiFactory.forMod(ModContainer mod) |
IModGuiFactory |
FMLClientHandler.getGuiFactoryFor(ModContainer selectedMod) |
Modifier and Type | Method and Description |
---|---|
void |
FMLClientHandler.addSpecialModEntries(java.util.ArrayList<ModContainer> mods) |
Constructor and Description |
---|
FMLFileResourcePack(ModContainer container) |
FMLFolderResourcePack(ModContainer container) |
Constructor and Description |
---|
GuiSlotModList(GuiModList parent,
java.util.ArrayList<ModContainer> mods,
int listWidth,
int slotHeight) |
Modifier and Type | Class and Description |
---|---|
class |
DummyModContainer |
class |
FMLContainer |
class |
FMLModContainer |
class |
InjectedModContainer |
class |
MCPDummyContainer |
class |
MinecraftDummyContainer |
private static class |
ModAPIManager.APIContainer |
Modifier and Type | Field and Description |
---|---|
private ModContainer |
LoadController.activeContainer |
ModContainer |
WrongMinecraftVersionException.mod |
ModContainer |
ModMetadata.parentMod |
ModContainer |
InjectedModContainer.wrappedContainer |
Modifier and Type | Field and Description |
---|---|
private java.util.List<ModContainer> |
LoadController.activeModList |
java.util.List<ModContainer> |
ModMetadata.childMods |
com.google.common.collect.SetMultimap<ModContainer,java.io.File> |
DuplicateModsFoundException.dupes |
private com.google.common.collect.BiMap<ModContainer,java.lang.Object> |
LoadController.modObjectList |
private java.util.List<ModContainer> |
Loader.mods
The sorted list of mods.
|
static java.util.Map<org.objectweb.asm.Type,java.lang.reflect.Constructor<? extends ModContainer>> |
ModContainerFactory.modTypes |
private java.util.Map<java.lang.String,ModContainer> |
Loader.namedMods
A named list of mods
|
private com.google.common.collect.ListMultimap<java.lang.String,ModContainer> |
LoadController.packageOwners |
Modifier and Type | Method and Description |
---|---|
ModContainer |
LoadController.activeContainer() |
ModContainer |
Loader.activeModContainer() |
ModContainer |
ModContainerFactory.build(ASMModParser modParser,
java.io.File modSource,
ModCandidate container) |
private ModContainer |
LoadController.findActiveContainerFromStack() |
ModContainer |
FMLCommonHandler.findContainerFor(java.lang.Object mod)
Find the container that associates with the supplied mod object
|
ModContainer |
FMLContainerHolder.getFMLContainer() |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableBiMap<ModContainer,java.lang.Object> |
LoadController.buildModObjectList() |
java.util.List<ModContainer> |
Loader.getActiveModList() |
java.util.List<ModContainer> |
LoadController.getActiveModList() |
java.lang.Iterable<? extends ModContainer> |
ModAPIManager.getAPIList() |
java.util.Map<java.lang.String,ModContainer> |
Loader.getIndexedModList() |
java.util.List<ModContainer> |
Loader.getModList() |
com.google.common.collect.BiMap<ModContainer,java.lang.Object> |
Loader.getModObjectList() |
com.google.common.collect.BiMap<ModContainer,java.lang.Object> |
LoadController.getModObjectList() |
com.google.common.collect.BiMap<java.lang.Object,ModContainer> |
Loader.getReversedModObjectList() |
Modifier and Type | Method and Description |
---|---|
void |
IFMLSidedHandler.addModAsResource(ModContainer container) |
void |
FMLCommonHandler.addModToResourcePack(ModContainer container) |
int |
Loader.ModIdComparator.compare(ModContainer o1,
ModContainer o2) |
(package private) void |
LoadController.disableMod(ModContainer mod) |
void |
LoadController.errorOccurred(ModContainer modContainer,
java.lang.Throwable exception) |
(package private) void |
LoadController.forceActiveContainer(ModContainer container) |
LoaderState.ModState |
Loader.getModState(ModContainer selectedMod) |
LoaderState.ModState |
LoadController.getModState(ModContainer selectedMod) |
static void |
AutomaticEventSubscriber.inject(ModContainer mod,
ASMDataTable data,
Side side) |
static void |
ProxyInjector.inject(ModContainer mod,
ASMDataTable data,
Side side,
ILanguageAdapter languageAdapter) |
private void |
LoadController.sendEventToModContainer(FMLEvent stateEvent,
ModContainer mc) |
void |
Loader.setActiveModContainer(ModContainer container) |
void |
ILanguageAdapter.setInternalProxies(ModContainer mod,
Side side,
java.lang.ClassLoader loader) |
void |
ILanguageAdapter.ScalaAdapter.setInternalProxies(ModContainer mod,
Side side,
java.lang.ClassLoader loader) |
void |
ILanguageAdapter.JavaAdapter.setInternalProxies(ModContainer mod,
Side side,
java.lang.ClassLoader loader) |
void |
Loader.setupTestHarness(ModContainer... containers)
Used to setup a testharness with a single dummy mod instance for use with various testing hooks
|
Modifier and Type | Method and Description |
---|---|
void |
ModAPIManager.cleanupAPIContainers(java.util.List<ModContainer> mods) |
private void |
Loader.identifyDuplicates(java.util.List<ModContainer> mods) |
void |
ModAPIManager.injectAPIModContainers(java.util.List<ModContainer> mods,
java.util.Map<java.lang.String,ModContainer> nameLookup) |
void |
ModAPIManager.injectAPIModContainers(java.util.List<ModContainer> mods,
java.util.Map<java.lang.String,ModContainer> nameLookup) |
private void |
FMLModContainer.parseSimpleFieldAnnotation(com.google.common.collect.SetMultimap<java.lang.String,ASMDataTable.ASMData> annotations,
java.lang.String annotationClassName,
java.util.function.Function<ModContainer,java.lang.Object> retriever) |
void |
ModContainerFactory.registerContainerType(org.objectweb.asm.Type type,
java.lang.Class<? extends ModContainer> container) |
Constructor and Description |
---|
InjectedModContainer(ModContainer mc,
java.io.File source) |
WrongMinecraftVersionException(ModContainer mod,
java.lang.String mcver) |
Constructor and Description |
---|
DuplicateModsFoundException(com.google.common.collect.SetMultimap<ModContainer,java.io.File> dupes) |
Modifier and Type | Field and Description |
---|---|
private ModContainer |
ASMDataTable.ModContainerPredicate.container |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<ModContainer,com.google.common.collect.SetMultimap<java.lang.String,ASMDataTable.ASMData>> |
ASMDataTable.containerAnnotationData |
private java.util.List<ModContainer> |
ASMDataTable.containers |
private java.util.List<ModContainer> |
ModCandidate.mods |
Modifier and Type | Method and Description |
---|---|
java.util.List<ModContainer> |
DirectoryDiscoverer.discover(ModCandidate candidate,
ASMDataTable table) |
java.util.List<ModContainer> |
JarDiscoverer.discover(ModCandidate candidate,
ASMDataTable table) |
java.util.List<ModContainer> |
ITypeDiscoverer.discover(ModCandidate candidate,
ASMDataTable table) |
java.util.List<ModContainer> |
ModCandidate.explore(ASMDataTable table) |
java.util.List<ModContainer> |
ContainerType.findMods(ModCandidate candidate,
ASMDataTable table) |
java.util.List<ModContainer> |
ModCandidate.getContainedMods() |
java.util.List<ModContainer> |
ModDiscoverer.identifyMods() |
Modifier and Type | Method and Description |
---|---|
void |
ASMDataTable.addContainer(ModContainer container) |
com.google.common.collect.SetMultimap<java.lang.String,ASMDataTable.ASMData> |
ASMDataTable.getAnnotationsFor(ModContainer container) |
Modifier and Type | Method and Description |
---|---|
void |
DirectoryDiscoverer.exploreFileSystem(java.lang.String path,
java.io.File modDir,
java.util.List<ModContainer> harvestedMods,
ModCandidate candidate,
MetadataCollection mc) |
private void |
JarDiscoverer.findClassesASM(ModCandidate candidate,
ASMDataTable table,
java.util.jar.JarFile jar,
java.util.List<ModContainer> foundMods,
MetadataCollection mc) |
private void |
JarDiscoverer.findClassesJSON(ModCandidate candidate,
ASMDataTable table,
java.util.jar.JarFile jar,
java.util.List<ModContainer> foundMods,
MetadataCollection mc) |
Constructor and Description |
---|
ModContainerPredicate(ModContainer container) |
Modifier and Type | Field and Description |
---|---|
private ModContainer |
FMLInterModComms.IMCEvent.activeContainer |
private ModContainer |
FMLPreInitializationEvent.modContainer |
Modifier and Type | Method and Description |
---|---|
void |
FMLEvent.applyModContainer(ModContainer activeContainer) |
void |
FMLPreInitializationEvent.applyModContainer(ModContainer activeContainer) |
void |
FMLInterModComms.IMCEvent.applyModContainer(ModContainer activeContainer) |
(package private) void |
FMLInterModComms.IMCMessage.setSender(ModContainer activeModContainer) |
Modifier and Type | Field and Description |
---|---|
private ModContainer |
ASMEventHandler.owner |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.Object,ModContainer> |
EventBus.listenerOwners |
Modifier and Type | Method and Description |
---|---|
private void |
EventBus.register(java.lang.Class<?> eventType,
java.lang.Object target,
java.lang.reflect.Method method,
ModContainer owner) |
default void |
IContextSetter.setModContainer(ModContainer mod) |
Constructor and Description |
---|
ASMEventHandler(java.lang.Object target,
java.lang.reflect.Method method,
ModContainer owner)
Deprecated.
|
ASMEventHandler(java.lang.Object target,
java.lang.reflect.Method method,
ModContainer owner,
boolean isGeneric) |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<ModContainer,IGuiHandler> |
NetworkRegistry.clientGuiHandlers |
static io.netty.util.AttributeKey<ModContainer> |
NetworkRegistry.MOD_CONTAINER |
private java.util.Map<ModContainer,NetworkModHolder> |
NetworkRegistry.registry |
private java.util.Map<ModContainer,IGuiHandler> |
NetworkRegistry.serverGuiHandlers |
Modifier and Type | Method and Description |
---|---|
java.util.Map<ModContainer,NetworkModHolder> |
NetworkRegistry.registry() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
NetworkRegistry.getLocalGuiContainer(ModContainer mc,
EntityPlayer player,
int modGuiId,
World world,
int x,
int y,
int z)
INTERNAL method for accessing the Gui registry
|
Container |
NetworkRegistry.getRemoteGuiContainer(ModContainer mc,
EntityPlayerMP player,
int modGuiId,
World world,
int x,
int y,
int z)
INTERNAL method for accessing the Gui registry
|
java.util.EnumMap<Side,FMLEmbeddedChannel> |
NetworkRegistry.newChannel(ModContainer container,
java.lang.String name,
io.netty.channel.ChannelHandler... handlers)
INTERNAL Create a new channel pair with the specified name and channel handlers.
|
void |
NetworkRegistry.register(ModContainer fmlModContainer,
java.lang.Class<?> clazz,
java.lang.String remoteVersionRange,
ASMDataTable asmHarvestedData)
INTERNAL method for registering a mod as a network capable thing
|
Constructor and Description |
---|
FMLEmbeddedChannel(ModContainer container,
java.lang.String channelName,
Side source,
io.netty.channel.ChannelHandler... handlers) |
Constructor and Description |
---|
ModList(java.util.List<ModContainer> modList) |
Modifier and Type | Field and Description |
---|---|
private ModContainer |
NetworkModHolder.container |
Modifier and Type | Method and Description |
---|---|
ModContainer |
NetworkModHolder.getContainer() |
Constructor and Description |
---|
EntitySpawnMessage(EntityRegistry.EntityRegistration er,
Entity entity,
ModContainer modContainer) |
NetworkModHolder(ModContainer container) |
NetworkModHolder(ModContainer container,
java.lang.Class<?> modClass,
java.lang.String acceptableVersionRange,
ASMDataTable table) |
NetworkModHolder(ModContainer container,
NetworkModHolder.NetworkChecker checker) |
Modifier and Type | Field and Description |
---|---|
private ModContainer |
EntityRegistry.EntityRegistration.container |
private ModContainer |
EntityEntryBuilder.mod |
Modifier and Type | Field and Description |
---|---|
private com.google.common.collect.ListMultimap<ModContainer,EntityRegistry.EntityRegistration> |
EntityRegistry.entityRegistrations |
Modifier and Type | Method and Description |
---|---|
ModContainer |
EntityRegistry.EntityRegistration.getContainer() |
Modifier and Type | Method and Description |
---|---|
EntityRegistry.EntityRegistration |
EntityRegistry.lookupModSpawn(ModContainer mc,
int modEntityId) |
Constructor and Description |
---|
EntityRegistration(ModContainer mc,
ResourceLocation registryName,
java.lang.Class<? extends Entity> entityClass,
java.lang.String entityName,
int id,
int trackingRange,
int updateFrequency,
boolean sendsVelocityUpdates)
Deprecated.
|
EntityRegistration(ModContainer mc,
ResourceLocation registryName,
java.lang.Class<? extends Entity> entityClass,
java.lang.String entityName,
int id,
int trackingRange,
int updateFrequency,
boolean sendsVelocityUpdates,
java.util.function.Function<World,? extends Entity> factory) |
Modifier and Type | Field and Description |
---|---|
private ModContainer |
ModSorter.after |
private ModContainer |
ModSorter.afterAll |
private ModContainer |
ModSorter.before |
private ModContainer |
ModSorter.beforeAll |
Modifier and Type | Field and Description |
---|---|
private TopologicalSort.DirectedGraph<ModContainer> |
ModSorter.modGraph |
Modifier and Type | Method and Description |
---|---|
java.util.List<ModContainer> |
ModSorter.sort() |
Modifier and Type | Method and Description |
---|---|
private void |
ModSorter.buildGraph(java.util.List<ModContainer> modList,
java.util.Map<java.lang.String,ModContainer> nameLookup) |
private void |
ModSorter.buildGraph(java.util.List<ModContainer> modList,
java.util.Map<java.lang.String,ModContainer> nameLookup) |
Constructor and Description |
---|
ModSorter(java.util.List<ModContainer> modList,
java.util.Map<java.lang.String,ModContainer> nameLookup) |
ModSorter(java.util.List<ModContainer> modList,
java.util.Map<java.lang.String,ModContainer> nameLookup) |
Modifier and Type | Method and Description |
---|---|
void |
FMLServerHandler.addModAsResource(ModContainer container) |