Interface AgentExtension


public interface AgentExtension
Contributes queries, tools and on-demand guides to the existing Agent Bridge connection. Register the implementation in META-INF/services/dev.miyomiyo.agentbridge.api.AgentExtension. The host discovers installed providers before connecting a world; hot-loading is unsupported. Construction and registration must not access a world, start tasks or perform I/O.
  • Method Summary

    Modifier and Type
    Method
    Description
    java.lang.String
    The owning MOD ID, matching [a-z][a-z0-9_]{0,39}.
    void
    The whole registration is accepted or rejected together.
  • Method Details

    • modId

      java.lang.String modId()
      The owning MOD ID, matching [a-z][a-z0-9_]{0,39}.
    • register

      void register(ExtensionRegistrar registrar)
      The whole registration is accepted or rejected together. Do not retain the registrar.