Package net.neoforged.fml.loading.log4j
Class SLF4JFixerLaunchPluginService
java.lang.Object
net.neoforged.fml.loading.log4j.SLF4JFixerLaunchPluginService
- All Implemented Interfaces:
ILaunchPluginService
-
Nested Class Summary
Nested classes/interfaces inherited from interface cpw.mods.modlauncher.serviceapi.ILaunchPluginService
ILaunchPluginService.ComputeFlags, ILaunchPluginService.ITransformerLoader, ILaunchPluginService.Phase -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionhandlesClass(Type classType, boolean isEmpty) If this plugin wants to receive theClassNodeintoILaunchPluginService.processClass(cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase, org.objectweb.asm.tree.ClassNode, org.objectweb.asm.Type)voidinitializeLaunch(ILaunchPluginService.ITransformerLoader transformerLoader, NamedPath[] specialPaths) name()The name of this plugin.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cpw.mods.modlauncher.serviceapi.ILaunchPluginService
addResources, customAuditConsumer, getExtension, handlesClass, offerResource, processClass, processClass, processClassWithFlags
-
Field Details
-
NO_PHASES
-
-
Constructor Details
-
SLF4JFixerLaunchPluginService
public SLF4JFixerLaunchPluginService()
-
-
Method Details
-
name
Description copied from interface:ILaunchPluginServiceThe name of this plugin. Must be unique. Multiple plugins by the same name will result in a hard exit. Launcher and other systems will rely on this name to find services provided by this plugin, so it should be stable.- Specified by:
namein interfaceILaunchPluginService- Returns:
- the name of the plugin
-
handlesClass
Description copied from interface:ILaunchPluginServiceIf this plugin wants to receive theClassNodeintoILaunchPluginService.processClass(cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase, org.objectweb.asm.tree.ClassNode, org.objectweb.asm.Type)- Specified by:
handlesClassin interfaceILaunchPluginService- Parameters:
classType- the class to considerisEmpty- if the class is empty at present (indicates no backing file found)- Returns:
- the set of Phases the plugin wishes to be called back with
-
initializeLaunch
public void initializeLaunch(ILaunchPluginService.ITransformerLoader transformerLoader, NamedPath[] specialPaths) - Specified by:
initializeLaunchin interfaceILaunchPluginService
-