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.ILaunchPluginServicename インタフェース内 cpw.mods.modlauncher.serviceapi.ILaunchPluginServicepublic boolean processClass(cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase phase,
org.objectweb.asm.tree.ClassNode classNode,
org.objectweb.asm.Type classType)
cpw.mods.modlauncher.serviceapi.ILaunchPluginServiceprocessClass インタフェース内 cpw.mods.modlauncher.serviceapi.ILaunchPluginServicephase - 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.ILaunchPluginServicegetExtension インタフェース内 cpw.mods.modlauncher.serviceapi.ILaunchPluginServicepublic java.util.EnumSet<cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase> handlesClass(org.objectweb.asm.Type classType,
boolean isEmpty)
cpw.mods.modlauncher.serviceapi.ILaunchPluginServiceClassNode into ILaunchPluginService.processClass(cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase, org.objectweb.asm.tree.ClassNode, org.objectweb.asm.Type)handlesClass インタフェース内 cpw.mods.modlauncher.serviceapi.ILaunchPluginServiceclassType - the class to considerisEmpty - if the class is empty at present (indicates no backing file found)