Package dev.miyomiyo.agentbridge.api
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 TypeMethodDescriptionjava.lang.StringmodId()The owning MOD ID, matching [a-z][a-z0-9_]{0,39}.voidregister(ExtensionRegistrar registrar) 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
The whole registration is accepted or rejected together. Do not retain the registrar.
-