Class HloaderPlatformAgent

java.lang.Object
com.hloader.mixin.HloaderPlatformAgent
All Implemented Interfaces:
org.spongepowered.asm.launch.platform.IMixinPlatformAgent, org.spongepowered.asm.launch.platform.IMixinPlatformServiceAgent

public final class HloaderPlatformAgent extends Object implements org.spongepowered.asm.launch.platform.IMixinPlatformServiceAgent
MixinServiceAbstract.getSideName() (client vs. server) is final and only reads from whatever agent is registered via HloaderMixinService.getPlatformAgents(); this is that agent. RunDevClient/RunDevServer set -Dhloader.side.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.spongepowered.asm.launch.platform.IMixinPlatformAgent

    org.spongepowered.asm.launch.platform.IMixinPlatformAgent.AcceptResult
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.spongepowered.asm.launch.platform.IMixinPlatformAgent.AcceptResult
    accept(org.spongepowered.asm.launch.platform.MixinPlatformManager manager, org.spongepowered.asm.launch.platform.container.IContainerHandle handle)
     
    Collection<org.spongepowered.asm.launch.platform.container.IContainerHandle>
     
     
     
    void
     
    void
     
    void
     
    void
     
    void
     
    void
    wire(org.spongepowered.asm.mixin.MixinEnvironment.Phase phase, org.spongepowered.asm.util.IConsumer<org.spongepowered.asm.mixin.MixinEnvironment.Phase> consumer)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HloaderPlatformAgent

      public HloaderPlatformAgent()
  • Method Details

    • getSideName

      public String getSideName()
      Specified by:
      getSideName in interface org.spongepowered.asm.launch.platform.IMixinPlatformServiceAgent
    • init

      public void init()
      Specified by:
      init in interface org.spongepowered.asm.launch.platform.IMixinPlatformServiceAgent
    • getMixinContainers

      public Collection<org.spongepowered.asm.launch.platform.container.IContainerHandle> getMixinContainers()
      Specified by:
      getMixinContainers in interface org.spongepowered.asm.launch.platform.IMixinPlatformServiceAgent
    • wire

      public void wire(org.spongepowered.asm.mixin.MixinEnvironment.Phase phase, org.spongepowered.asm.util.IConsumer<org.spongepowered.asm.mixin.MixinEnvironment.Phase> consumer)
      Specified by:
      wire in interface org.spongepowered.asm.launch.platform.IMixinPlatformServiceAgent
    • unwire

      public void unwire()
      Specified by:
      unwire in interface org.spongepowered.asm.launch.platform.IMixinPlatformServiceAgent
    • accept

      public org.spongepowered.asm.launch.platform.IMixinPlatformAgent.AcceptResult accept(org.spongepowered.asm.launch.platform.MixinPlatformManager manager, org.spongepowered.asm.launch.platform.container.IContainerHandle handle)
      Specified by:
      accept in interface org.spongepowered.asm.launch.platform.IMixinPlatformAgent
    • getPhaseProvider

      public String getPhaseProvider()
      Specified by:
      getPhaseProvider in interface org.spongepowered.asm.launch.platform.IMixinPlatformAgent
    • prepare

      public void prepare()
      Specified by:
      prepare in interface org.spongepowered.asm.launch.platform.IMixinPlatformAgent
    • initPrimaryContainer

      public void initPrimaryContainer()
      Specified by:
      initPrimaryContainer in interface org.spongepowered.asm.launch.platform.IMixinPlatformAgent
    • inject

      public void inject()
      Specified by:
      inject in interface org.spongepowered.asm.launch.platform.IMixinPlatformAgent