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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.xpdustry.distributor.api.audience.AudienceProvider
     
    com.xpdustry.distributor.api.component.render.ComponentRendererProvider
     
    com.xpdustry.distributor.api.event.EventBus
     
    com.xpdustry.distributor.api.translation.TranslationSourceRegistry
     
    com.xpdustry.distributor.api.component.codec.ComponentDecoder<String>
     
    com.xpdustry.distributor.api.permission.PermissionReader
     
    com.xpdustry.distributor.api.player.PlayerLookup
     
    com.xpdustry.distributor.api.scheduler.PluginScheduler
     
    com.xpdustry.distributor.api.service.ServiceManager
     
    void
     
    void
     

    Methods inherited from class com.xpdustry.distributor.api.plugin.AbstractMindustryPlugin

    addListener, getConfig, getListeners, getLogger, getMetadata, init, loadContent, registerClientCommands, registerServerCommands

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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:
      getServiceManager in interface com.xpdustry.distributor.api.Distributor
    • getEventBus

      public com.xpdustry.distributor.api.event.EventBus getEventBus()
      Specified by:
      getEventBus in interface com.xpdustry.distributor.api.Distributor
    • getPermissionReader

      public com.xpdustry.distributor.api.permission.PermissionReader getPermissionReader()
      Specified by:
      getPermissionReader in interface com.xpdustry.distributor.api.Distributor
    • getGlobalTranslationSource

      public com.xpdustry.distributor.api.translation.TranslationSourceRegistry getGlobalTranslationSource()
      Specified by:
      getGlobalTranslationSource in interface com.xpdustry.distributor.api.Distributor
    • getPlayerLookup

      public com.xpdustry.distributor.api.player.PlayerLookup getPlayerLookup()
      Specified by:
      getPlayerLookup in interface com.xpdustry.distributor.api.Distributor
    • getPluginScheduler

      public com.xpdustry.distributor.api.scheduler.PluginScheduler getPluginScheduler()
      Specified by:
      getPluginScheduler in interface com.xpdustry.distributor.api.Distributor
    • getComponentRendererProvider

      public com.xpdustry.distributor.api.component.render.ComponentRendererProvider getComponentRendererProvider()
      Specified by:
      getComponentRendererProvider in interface com.xpdustry.distributor.api.Distributor
    • getMindustryComponentDecoder

      public com.xpdustry.distributor.api.component.codec.ComponentDecoder<String> getMindustryComponentDecoder()
      Specified by:
      getMindustryComponentDecoder in interface com.xpdustry.distributor.api.Distributor
    • getAudienceProvider

      public com.xpdustry.distributor.api.audience.AudienceProvider getAudienceProvider()
      Specified by:
      getAudienceProvider in interface com.xpdustry.distributor.api.Distributor
    • onInit

      public void onInit()
      Specified by:
      onInit in interface com.xpdustry.distributor.api.plugin.MindustryPlugin
    • onLoad

      public void onLoad()
      Specified by:
      onLoad in interface com.xpdustry.distributor.api.plugin.MindustryPlugin