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
(org.objectweb.asm.Type classType, boolean isEmpty) If this plugin wants to receive theClassNode
intoILaunchPluginService.processClass(cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase, org.objectweb.asm.tree.ClassNode, org.objectweb.asm.Type)
void
initializeLaunch
(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, wait
Methods 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:ILaunchPluginService
The 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:
name
in interfaceILaunchPluginService
- Returns:
- the name of the plugin
-
handlesClass
public EnumSet<ILaunchPluginService.Phase> handlesClass(org.objectweb.asm.Type classType, boolean isEmpty) Description copied from interface:ILaunchPluginService
If this plugin wants to receive theClassNode
intoILaunchPluginService.processClass(cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase, org.objectweb.asm.tree.ClassNode, org.objectweb.asm.Type)
- Specified by:
handlesClass
in 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:
initializeLaunch
in interfaceILaunchPluginService
-