public class RuntimeDistCleaner
extends java.lang.Object
implements cpw.mods.modlauncher.serviceapi.ILaunchPluginService
コンストラクタと説明 |
---|
RuntimeDistCleaner() |
修飾子とタイプ | メソッドと説明 |
---|---|
java.util.function.Consumer<Dist> |
getExtension()
Get a plugin specific extension object from the plugin.
|
java.util.EnumSet<cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase> |
handlesClass(org.objectweb.asm.Type classType,
boolean isEmpty)
If this plugin wants to receive the
ClassNode into ILaunchPluginService.processClass(cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase, org.objectweb.asm.tree.ClassNode, org.objectweb.asm.Type) |
java.lang.String |
name()
The name of this plugin.
|
boolean |
processClass(cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase phase,
org.objectweb.asm.tree.ClassNode classNode,
org.objectweb.asm.Type classType)
Each class loaded is offered to the plugin for processing.
|
public java.lang.String name()
cpw.mods.modlauncher.serviceapi.ILaunchPluginService
name
インタフェース内 cpw.mods.modlauncher.serviceapi.ILaunchPluginService
public boolean processClass(cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase phase, org.objectweb.asm.tree.ClassNode classNode, org.objectweb.asm.Type classType)
cpw.mods.modlauncher.serviceapi.ILaunchPluginService
processClass
インタフェース内 cpw.mods.modlauncher.serviceapi.ILaunchPluginService
phase
- The phase of the supplied class nodeclassNode
- the classnode to processclassType
- the name of the classpublic java.util.function.Consumer<Dist> getExtension()
cpw.mods.modlauncher.serviceapi.ILaunchPluginService
getExtension
インタフェース内 cpw.mods.modlauncher.serviceapi.ILaunchPluginService
public java.util.EnumSet<cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase> handlesClass(org.objectweb.asm.Type classType, boolean isEmpty)
cpw.mods.modlauncher.serviceapi.ILaunchPluginService
ClassNode
into ILaunchPluginService.processClass(cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase, org.objectweb.asm.tree.ClassNode, org.objectweb.asm.Type)
handlesClass
インタフェース内 cpw.mods.modlauncher.serviceapi.ILaunchPluginService
classType
- the class to considerisEmpty
- if the class is empty at present (indicates no backing file found)