Package com.xpdustry.distributor.common
Class DistributorCommonPlugin
java.lang.Object
mindustry.mod.Mod
mindustry.mod.Plugin
com.xpdustry.distributor.api.plugin.AbstractMindustryPlugin
com.xpdustry.distributor.common.DistributorCommonPlugin
- All Implemented Interfaces:
com.xpdustry.distributor.api.Distributor,com.xpdustry.distributor.api.plugin.MindustryPlugin
public final class DistributorCommonPlugin
extends com.xpdustry.distributor.api.plugin.AbstractMindustryPlugin
implements com.xpdustry.distributor.api.Distributor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.xpdustry.distributor.api.audience.AudienceProvidercom.xpdustry.distributor.api.component.render.ComponentRendererProvidercom.xpdustry.distributor.api.event.EventBuscom.xpdustry.distributor.api.translation.TranslationSourcecom.xpdustry.distributor.api.component.codec.ComponentDecoder<String>com.xpdustry.distributor.api.player.PlayerLookupcom.xpdustry.distributor.api.permission.PlayerPermissionProvidercom.xpdustry.distributor.api.scheduler.PluginSchedulercom.xpdustry.distributor.api.service.ServiceManagervoidonInit()voidonLoad()Methods inherited from class com.xpdustry.distributor.api.plugin.AbstractMindustryPlugin
addListener, getConfig, getListeners, getLogger, getMetadata, init, loadContent, registerClientCommands, registerServerCommandsMethods inherited from class mindustry.mod.Mod
getConfigFolderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.xpdustry.distributor.api.plugin.MindustryPlugin
getDirectory, onClientCommandsRegistration, onExit, onServerCommandsRegistration, onUpdate
-
Constructor Details
-
DistributorCommonPlugin
public DistributorCommonPlugin()
-
-
Method Details
-
getServiceManager
public com.xpdustry.distributor.api.service.ServiceManager getServiceManager()- Specified by:
getServiceManagerin interfacecom.xpdustry.distributor.api.Distributor
-
getEventBus
public com.xpdustry.distributor.api.event.EventBus getEventBus()- Specified by:
getEventBusin interfacecom.xpdustry.distributor.api.Distributor
-
getPlayerPermissionProvider
public com.xpdustry.distributor.api.permission.PlayerPermissionProvider getPlayerPermissionProvider()- Specified by:
getPlayerPermissionProviderin interfacecom.xpdustry.distributor.api.Distributor
-
getGlobalTranslationSource
public com.xpdustry.distributor.api.translation.TranslationSource getGlobalTranslationSource()- Specified by:
getGlobalTranslationSourcein interfacecom.xpdustry.distributor.api.Distributor
-
getPlayerLookup
public com.xpdustry.distributor.api.player.PlayerLookup getPlayerLookup()- Specified by:
getPlayerLookupin interfacecom.xpdustry.distributor.api.Distributor
-
getPluginScheduler
public com.xpdustry.distributor.api.scheduler.PluginScheduler getPluginScheduler()- Specified by:
getPluginSchedulerin interfacecom.xpdustry.distributor.api.Distributor
-
getComponentRendererProvider
public com.xpdustry.distributor.api.component.render.ComponentRendererProvider getComponentRendererProvider()- Specified by:
getComponentRendererProviderin interfacecom.xpdustry.distributor.api.Distributor
-
getMindustryComponentDecoder
public com.xpdustry.distributor.api.component.codec.ComponentDecoder<String> getMindustryComponentDecoder()- Specified by:
getMindustryComponentDecoderin interfacecom.xpdustry.distributor.api.Distributor
-
getAudienceProvider
public com.xpdustry.distributor.api.audience.AudienceProvider getAudienceProvider()- Specified by:
getAudienceProviderin interfacecom.xpdustry.distributor.api.Distributor
-
onInit
public void onInit()- Specified by:
onInitin interfacecom.xpdustry.distributor.api.plugin.MindustryPlugin
-
onLoad
public void onLoad()- Specified by:
onLoadin interfacecom.xpdustry.distributor.api.plugin.MindustryPlugin
-