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 -
Method Summary
Modifier and TypeMethodDescriptionorg.spongepowered.asm.launch.platform.IMixinPlatformAgent.AcceptResultaccept(org.spongepowered.asm.launch.platform.MixinPlatformManager manager, org.spongepowered.asm.launch.platform.container.IContainerHandle handle) Collection<org.spongepowered.asm.launch.platform.container.IContainerHandle> voidinit()voidvoidinject()voidprepare()voidunwire()voidwire(org.spongepowered.asm.mixin.MixinEnvironment.Phase phase, org.spongepowered.asm.util.IConsumer<org.spongepowered.asm.mixin.MixinEnvironment.Phase> consumer)
-
Constructor Details
-
HloaderPlatformAgent
public HloaderPlatformAgent()
-
-
Method Details
-
getSideName
- Specified by:
getSideNamein interfaceorg.spongepowered.asm.launch.platform.IMixinPlatformServiceAgent
-
init
public void init()- Specified by:
initin interfaceorg.spongepowered.asm.launch.platform.IMixinPlatformServiceAgent
-
getMixinContainers
public Collection<org.spongepowered.asm.launch.platform.container.IContainerHandle> getMixinContainers()- Specified by:
getMixinContainersin interfaceorg.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:
wirein interfaceorg.spongepowered.asm.launch.platform.IMixinPlatformServiceAgent
-
unwire
public void unwire()- Specified by:
unwirein interfaceorg.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:
acceptin interfaceorg.spongepowered.asm.launch.platform.IMixinPlatformAgent
-
getPhaseProvider
- Specified by:
getPhaseProviderin interfaceorg.spongepowered.asm.launch.platform.IMixinPlatformAgent
-
prepare
public void prepare()- Specified by:
preparein interfaceorg.spongepowered.asm.launch.platform.IMixinPlatformAgent
-
initPrimaryContainer
public void initPrimaryContainer()- Specified by:
initPrimaryContainerin interfaceorg.spongepowered.asm.launch.platform.IMixinPlatformAgent
-
inject
public void inject()- Specified by:
injectin interfaceorg.spongepowered.asm.launch.platform.IMixinPlatformAgent
-