Class CloudNetLaunchPluginService

java.lang.Object
eu.cloudnetservice.ext.modlauncher.CloudNetLaunchPluginService
All Implemented Interfaces:
cpw.mods.modlauncher.serviceapi.ILaunchPluginService

public final class CloudNetLaunchPluginService extends Object implements cpw.mods.modlauncher.serviceapi.ILaunchPluginService
Hacky service class to hook into the ModLauncher sponge is using to prevent double loading of CloudNet internal classes.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface cpw.mods.modlauncher.serviceapi.ILaunchPluginService

    cpw.mods.modlauncher.serviceapi.ILaunchPluginService.ComputeFlags, cpw.mods.modlauncher.serviceapi.ILaunchPluginService.ITransformerLoader, cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final Collection<String>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull EnumSet<cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase>
    handlesClass(org.objectweb.asm.Type classType, boolean isEmpty)
     
    void
    initializeLaunch(cpw.mods.modlauncher.serviceapi.ILaunchPluginService.ITransformerLoader transformerLoader, Path[] specialPaths)
     
     
    boolean
    processClass(cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase phase, org.objectweb.asm.tree.ClassNode classNode, org.objectweb.asm.Type classType)
     

    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, processClassWithFlags
  • Field Details

    • EXCLUDED_PACKAGE_STARTS

      private static final Collection<String> EXCLUDED_PACKAGE_STARTS
  • Constructor Details

    • CloudNetLaunchPluginService

      public CloudNetLaunchPluginService()
  • Method Details

    • name

      @NonNull public @NonNull String name()
      Specified by:
      name in interface cpw.mods.modlauncher.serviceapi.ILaunchPluginService
    • handlesClass

      @NonNull public @NonNull EnumSet<cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase> handlesClass(org.objectweb.asm.Type classType, boolean isEmpty)
      Specified by:
      handlesClass in interface cpw.mods.modlauncher.serviceapi.ILaunchPluginService
    • processClass

      public boolean processClass(cpw.mods.modlauncher.serviceapi.ILaunchPluginService.Phase phase, org.objectweb.asm.tree.ClassNode classNode, org.objectweb.asm.Type classType)
      Specified by:
      processClass in interface cpw.mods.modlauncher.serviceapi.ILaunchPluginService
    • initializeLaunch

      public void initializeLaunch(cpw.mods.modlauncher.serviceapi.ILaunchPluginService.ITransformerLoader transformerLoader, Path[] specialPaths)
      Specified by:
      initializeLaunch in interface cpw.mods.modlauncher.serviceapi.ILaunchPluginService