Package ke.ric.renderer.api
Interface RendererService
public interface RendererService
Bukkit service used to discover the current renderer provider generation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intRenderer API contract version implemented by this service interface. -
Method Summary
Modifier and TypeMethodDescriptionReturns a service-wide snapshot of advertised runtime capabilities.createClient(org.bukkit.plugin.Plugin owner) Creates a lifecycle-bound client for an enabled consuming plugin; discover/create on the server thread.
-
Field Details
-
API_VERSION
static final int API_VERSIONRenderer API contract version implemented by this service interface.- See Also:
-
-
Method Details
-
createClient
Creates a lifecycle-bound client for an enabled consuming plugin; discover/create on the server thread.- Parameters:
owner- consuming plugin whose disable must release this client's work- Returns:
- a new client, which must not be reused across provider reloads
-
capabilities
RendererCapabilities capabilities()Returns a service-wide snapshot of advertised runtime capabilities.
-